]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Merge branch 'macsec-inherit-lower-device-s-features-and-tso-limits-when-offloading'
authorJakub Kicinski <kuba@kernel.org>
Mon, 11 Nov 2024 22:12:23 +0000 (14:12 -0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 11 Nov 2024 22:12:24 +0000 (14:12 -0800)
commitf95a392ed43c864578ec21aafd90d835ba5ef3af
treec9bce3ae0bf093d6a039e9ece659bfc57370a564
parent4d1d3b52dcec4e3aad1e66595ad0e41c92e01189
parent0f8800eb67ae9160d144d803f4f8d26ba6385213
Merge branch 'macsec-inherit-lower-device-s-features-and-tso-limits-when-offloading'

Sabrina Dubroca says:

====================
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.
====================

Link: https://patch.msgid.link/cover.1730929545.git.sd@queasysnail.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>