summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>2018-12-19 10:03:32 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-01-15 12:02:27 -0800
commitcf909e19acf373a2e1d9bd877846a11bc8e20a54 (patch)
tree6830f207d013dd9aed2f288b61299e6f78c75912 /drivers/net/ethernet/intel/ice/ice_main.c
parenta8939784a17a54566e8d8ab26e9a9c36e4598281 (diff)
downloadlwn-cf909e19acf373a2e1d9bd877846a11bc8e20a54.tar.gz
lwn-cf909e19acf373a2e1d9bd877846a11bc8e20a54.zip
ice: Offload SCTP checksum
This patch adds the ability to offload SCTP checksum calculations to the NIC. Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c
index e59f8b29af49..f4bf6bda32a9 100644
--- a/drivers/net/ethernet/intel/ice/ice_main.c
+++ b/drivers/net/ethernet/intel/ice/ice_main.c
@@ -1528,6 +1528,7 @@ static int ice_cfg_netdev(struct ice_vsi *vsi)
csumo_features = NETIF_F_RXCSUM |
NETIF_F_IP_CSUM |
+ NETIF_F_SCTP_CRC |
NETIF_F_IPV6_CSUM;
vlano_features = NETIF_F_HW_VLAN_CTAG_FILTER |