]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: netdevsim: add ethtool features to macsec offload tests
authorSabrina Dubroca <sd@queasysnail.net>
Wed, 6 Nov 2024 23:13:34 +0000 (00:13 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 11 Nov 2024 22:12:21 +0000 (14:12 -0800)
commit0f8800eb67ae9160d144d803f4f8d26ba6385213
treec9bce3ae0bf093d6a039e9ece659bfc57370a564
parent29084ea5d0e806abb02a69e18bae3d562a9202a5
selftests: netdevsim: add ethtool features to macsec offload tests

The test verifies that available features aren't changed by toggling
offload on the device. Creating a device with offload off and then
enabling it later should result in the same features as creating the
device with offload enabled directly.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/ba801bd0a75b02de2dddbfc77f9efceb8b3d8a2e.1730929545.git.sd@queasysnail.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/netdevsim/macsec-offload.sh