diff options
author | Ilya Lesokhin <ilyal@mellanox.com> | 2018-07-13 13:33:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-16 09:12:09 +0200 |
commit | 14136564c8ee94566945e85014019cbdb1716dca (patch) | |
tree | 015cd98e4773719a1ee71458881a42d526aecfb6 /net/core | |
parent | net: Add decrypted field to skb (diff) | |
download | linux-14136564c8ee94566945e85014019cbdb1716dca.tar.xz linux-14136564c8ee94566945e85014019cbdb1716dca.zip |
net: Add TLS RX offload feature
This patch adds a netdev feature to configure TLS RX inline crypto offload.
Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/ethtool.c b/net/core/ethtool.c index e677a20180cf..c9993c6c2fd4 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -111,6 +111,7 @@ static const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] [NETIF_F_RX_UDP_TUNNEL_PORT_BIT] = "rx-udp_tunnel-port-offload", [NETIF_F_HW_TLS_RECORD_BIT] = "tls-hw-record", [NETIF_F_HW_TLS_TX_BIT] = "tls-hw-tx-offload", + [NETIF_F_HW_TLS_RX_BIT] = "tls-hw-rx-offload", }; static const char |