diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2009-04-27 18:35:52 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-28 04:53:14 -0400 |
commit | 8dc92f7e2ecfd93f5c57da78594a7a5482e2c15e (patch) | |
tree | 10ebbfa0dc4f0b175c95cf47f2ba013aa532676e /include/linux/netdevice.h | |
parent | 182ff8dfdb63e66ca81e4d3a4c746f8d578e5687 (diff) |
sctp: add feature bit for SCTP offload in hardware
this is the sctp code to enable hardware crc32c offload for
adapters that support it.
Originally by: Vlad Yasevich <vladislav.yasevich@hp.com>
modified by Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index fe20d171acf1..f8c3619d551f 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -670,7 +670,9 @@ struct net_device | |||
670 | #define NETIF_F_GRO 16384 /* Generic receive offload */ | 670 | #define NETIF_F_GRO 16384 /* Generic receive offload */ |
671 | #define NETIF_F_LRO 32768 /* large receive offload */ | 671 | #define NETIF_F_LRO 32768 /* large receive offload */ |
672 | 672 | ||
673 | /* the GSO_MASK reserves bits 16 through 23 */ | ||
673 | #define NETIF_F_FCOE_CRC (1 << 24) /* FCoE CRC32 */ | 674 | #define NETIF_F_FCOE_CRC (1 << 24) /* FCoE CRC32 */ |
675 | #define NETIF_F_SCTP_CSUM (1 << 25) /* SCTP checksum offload */ | ||
674 | 676 | ||
675 | /* Segmentation offload features */ | 677 | /* Segmentation offload features */ |
676 | #define NETIF_F_GSO_SHIFT 16 | 678 | #define NETIF_F_GSO_SHIFT 16 |