2019-01-18 04:56:46

by Atul Gupta

[permalink] [raw]
Subject: [net-next 3/3] cxgb4: TLS record offload enable

Enable Inline TLS record by default

Signed-off-by: Atul Gupta <[email protected]>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
index 6ba9099..73fc247 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)
--
1.8.3.1


2019-01-22 19:37:52

by David Miller

[permalink] [raw]
Subject: Re: [net-next 3/3] cxgb4: TLS record offload enable

From: Atul Gupta <[email protected]>
Date: Thu, 17 Jan 2019 20:56:39 -0800

> Enable Inline TLS record by default
>
> Signed-off-by: Atul Gupta <[email protected]>

Applied.