diff options
author | Ilya Lesokhin <ilyal@mellanox.com> | 2018-04-30 10:16:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-01 09:42:47 -0400 |
commit | 2342a8512a1e98c286b6b36094058e4ee2261c74 (patch) | |
tree | 2c173ed52efcb5a76df10c16a90deec84b0a9eb2 /net | |
parent | a5c37c63f71b044fbe1a3f893d6f6daa36fee5f5 (diff) |
net: Add TLS TX offload features
This patch adds a netdev feature to configure TLS TX offloads.
Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-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 b849fdae7e87..3c6ce8a3928a 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -110,6 +110,7 @@ static const char netdev_features_strings[NETDEV_FEATURE_COUNT][ETH_GSTRING_LEN] [NETIF_F_HW_ESP_TX_CSUM_BIT] = "esp-tx-csum-hw-offload", [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", }; static const char |