macsec: inherit lower device's features and TSO limits when offloading
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 8 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | netdevsim: add more hw_featuresdrivers/ | +5 | 1 reply | Applied |
| 2/8 | selftests: netdevsim: add a test checking ethtool featurestools/ tools/ | +32 | 1 reply | Applied |
| 3/8 | macsec: add some of the lower device's features when offloadingdrivers/ | +15 | 1 reply | Applied |
| 4/8 | macsec: clean up local variables in macsec_notifydrivers/ | +7 | 1 reply | Applied |
| 5/8 | macsec: inherit lower device's TSO limits when offloadingdrivers/ | +22 | 1 reply | Applied |
| 6/8 | selftests: move macsec offload tests from net/rtnetlink to drivers/net/netdvesimtools/ tools/ tools/ +1 more | +65 | 1 reply | Applied |
| 7/8 | selftests: netdevsim: add test toggling macsec offloadtools/ | +21 | 1 reply | Applied |
| 8/8 | selftests: netdevsim: add ethtool features to macsec offload teststools/ | +33 | 1 reply | Applied |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Simon Horman |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | R-b |
| 7/8 | R-b |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/8] macsec: inherit lower device's features and TSO limits when offloading
When macsec is offloaded to a NIC, we can take advantage of some of its features, mainly TSO and checksumming. This increases performance significantly. Some features cannot be inherited, because they require additional ops that aren't provided by the macsec netdevice.
We also need to inherit TSO limits from the lower device, like VLAN/macvlan devices do.
This series also moves the existing macsec offload selftest to the netdevsim selftests before adding tests for the new features. To allow this new selftest to work, netdevsim's hw_features are expanded.
Sabrina Dubroca (8):
netdevsim: add more hw_features
selftests: netdevsim: add a test checking ethtool features
macsec: add some of the lower device's features when offloading
macsec: clean up local variables in macsec_notify
macsec: inherit lower device's TSO limits when offloading
selftests: move macsec offload tests from net/rtnetlink to
drivers/net/netdvesim
selftests: netdevsim: add test toggling macsec offload
selftests: netdevsim: add ethtool features to macsec offload tests
drivers/net/macsec.c | 64 +++++++--- drivers/net/netdevsim/netdev.c | 6 +- .../selftests/drivers/net/netdevsim/Makefile | 2 + .../selftests/drivers/net/netdevsim/config | 1 + .../drivers/net/netdevsim/ethtool-features.sh | 31 +++++ .../drivers/net/netdevsim/macsec-offload.sh | 117 ++++++++++++++++++ tools/testing/selftests/net/rtnetlink.sh | 68 ---------- 7 files changed, 200 insertions(+), 89 deletions(-) create mode 100644 tools/testing/selftests/drivers/net/netdevsim/ethtool-features.sh create mode 100755 tools/testing/selftests/drivers/net/netdevsim/macsec-offload.sh
Signature · 1 line
2.47.0