Skip to content

Commit

Permalink
cxgb4: TLS record offload enable
Browse files Browse the repository at this point in the history
Enable Inline TLS record by default

Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Atul Gupta authored and David S. Miller committed Jan 22, 2019
1 parent 76f7164 commit 1435d99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1435d99

Please sign in to comment.