diff options
author | Atul Gupta <atul.gupta@chelsio.com> | 2019-01-17 20:56:39 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-22 11:30:54 -0800 |
commit | 1435d997037899924187c704ac672257d9576f3e (patch) | |
tree | 21bbad7110f3454ce7aa6a46ffedb43f02401a33 | |
parent | 76f7164d02d4c596b396fc2e868276d1db3c5e1e (diff) | |
download | linux-1435d997037899924187c704ac672257d9576f3e.tar.bz2 |
cxgb4: TLS record offload enable
Enable Inline TLS record by default
Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c index 6ba9099ca7fe..73fc2479b4f4 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c @@ -5653,7 +5653,8 @@ static int init_one(struct pci_dev *pdev, const struct pci_device_id *ent) NETIF_F_GSO_UDP_TUNNEL | NETIF_F_TSO | NETIF_F_TSO6; - netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL; + netdev->hw_features |= NETIF_F_GSO_UDP_TUNNEL | + NETIF_F_HW_TLS_RECORD; } if (highdma) |