openwrt-rb5009 icon indicating copy to clipboard operation
openwrt-rb5009 copied to clipboard

Is all hardware acceleration enabled / working?

Open Strykar opened this issue 1 year ago • 4 comments

Rb5009 block diagram: image

Marvell® ARMADA® 7040 (88F7040) SoC): image

Marvell® Link Street® 88E6393X Switch block diagram: image

I understand this board does a ton of hardware acceleration on RouterOS, are the same hardware features accelerated in OpenWRT? Which bits aren't working?

Strykar avatar Dec 11 '23 14:12 Strykar

I understand this board does a ton of hardware acceleration on RouterOS, are the same hardware features accelerated in OpenWRT? Which bits aren't working?

Where did you find that info? What exactly is hardware accelerated and how - proprietary Mikrotik drivers/firmware not available in OpenWrt?

sppmasterspp avatar May 16 '24 09:05 sppmasterspp

I understand this board does a ton of hardware acceleration on RouterOS, are the same hardware features accelerated in OpenWRT? Which bits aren't working?

Where did you find that info? What exactly is hardware accelerated and how - proprietary Mikrotik drivers/firmware not available in OpenWrt?

Seen the block diagram? https://i.mt.lv/cdn/product_files/RB5009UPrS_220805.png

This is the switch chip in it - Marvell® Link Street® 88E6393X Switch Hardware switch features - https://help.mikrotik.com/docs/display/ROS/Switch+Chip+Features Bridge / VLAN offload - https://help.mikrotik.com/docs/display/ROS/Bridging+and+Switching#BridgingandSwitching-BridgeHardwareOffloading

AES-GCM and SHA512 are accelerated (88F7040) - https://help.mikrotik.com/docs/display/ROS/IPsec#IPsec-Hardwareacceleration

Strykar avatar May 20 '24 15:05 Strykar

The main question would be if all hardware accelerations are supported in Linux upstream or they require a Mikrotik proprietary code (drivers and firmware that are not open source). You can ask Mikrotik about that. I will be really amazed if Mikrotik are so smart that only they can code this for the chips that they do not manufacture. You can ask other users on their forum and you can run yourself speed tests. For example OpenSSL speedtest and many others and compare the results.

sppmasterspp avatar May 20 '24 16:05 sppmasterspp

I wrote most of this page, I'm aware how to test - https://openwrt.org/toh/pcengines/apu2 The switch is supported on Linux IIRC, but I found no mention of any offload.

I hope this thread can be a place where folks who know can chime in.

Strykar avatar May 20 '24 16:05 Strykar