OSDN Git Service

cxgb4: TLS record offload enable
authorAtul Gupta <atul.gupta@chelsio.com>
Fri, 18 Jan 2019 04:56:39 +0000 (20:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jan 2019 19:30:54 +0000 (11:30 -0800)
Enable Inline TLS record by default

Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c

index 6ba9099..73fc247 100644 (file)
@@ -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)