diff options
author | Antoine Tenart <antoine.tenart@bootlin.com> | 2020-03-25 15:52:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-26 20:17:36 -0700 |
commit | 5908220b2b3d6918f88cd645a39e1dcb84d1c5d9 (patch) | |
tree | df2f815ca2e87729a03819c96c94afd57ecb9d30 /net/ethtool | |
parent | 673040c3a82a7564423e09c791e242a846591e30 (diff) | |
download | linux-5908220b2b3d6918f88cd645a39e1dcb84d1c5d9.tar.bz2 |
net: introduce the MACSEC netdev feature
This patch introduce a new netdev feature, which will be used by drivers
to state they can perform MACsec transformations in hardware.
The patchset was gathered by Mark, macsec functinality itself
was implemented by Dmitry, Mark and Pavel Belous.
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethtool')
-rw-r--r-- | net/ethtool/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ethtool/common.c b/net/ethtool/common.c index dab047eec943..51a0941fc62f 100644 --- a/net/ethtool/common.c +++ b/net/ethtool/common.c @@ -60,6 +60,7 @@ const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] = { [NETIF_F_HW_TLS_TX_BIT] = "tls-hw-tx-offload", [NETIF_F_HW_TLS_RX_BIT] = "tls-hw-rx-offload", [NETIF_F_GRO_FRAGLIST_BIT] = "rx-gro-list", + [NETIF_F_HW_MACSEC_BIT] = "macsec-hw-offload", }; const char |