adron-s / openwrt-rb5009

This is OpenWrt for Mikrotik RB5009
Other
38 stars 9 forks source link

Is all hardware acceleration enabled / working? #7

Open Strykar opened 6 months ago

Strykar commented 6 months ago

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?

sppmasterspp commented 1 month ago

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?

Strykar commented 1 month ago

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

sppmasterspp commented 1 month ago

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.

Strykar commented 1 month ago

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.