diff options
| author | Tom Herbert <tom@herbertland.com> | 2015-12-14 14:19:41 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-12-15 16:49:58 -0500 |
| commit | 53692b1de419c1b59106909c7f6b4dd3dbc768ac (patch) | |
| tree | 90e1d746414c8903e821f5f5caed18879bae3de7 /include/linux/netdev_features.h | |
| parent | 55dc5a9f2f2afd32d7b1bda44a5fc95e67a3371f (diff) | |
sctp: Rename NETIF_F_SCTP_CSUM to NETIF_F_SCTP_CRC
The SCTP checksum is really a CRC and is very different from the
standards 1's complement checksum that serves as the checksum
for IP protocols. This offload interface is also very different.
Rename NETIF_F_SCTP_CSUM to NETIF_F_SCTP_CRC to highlight these
differences. The term CSUM should be reserved in the stack to refer
to the standard 1's complement IP checksum.
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdev_features.h')
| -rw-r--r-- | include/linux/netdev_features.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h index f0d87347df19..6395f8309393 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h | |||
| @@ -52,7 +52,7 @@ enum { | |||
| 52 | NETIF_F_GSO_TUNNEL_REMCSUM_BIT, | 52 | NETIF_F_GSO_TUNNEL_REMCSUM_BIT, |
| 53 | 53 | ||
| 54 | NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ | 54 | NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ |
| 55 | NETIF_F_SCTP_CSUM_BIT, /* SCTP checksum offload */ | 55 | NETIF_F_SCTP_CRC_BIT, /* SCTP checksum offload */ |
| 56 | NETIF_F_FCOE_MTU_BIT, /* Supports max FCoE MTU, 2158 bytes*/ | 56 | NETIF_F_FCOE_MTU_BIT, /* Supports max FCoE MTU, 2158 bytes*/ |
| 57 | NETIF_F_NTUPLE_BIT, /* N-tuple filters supported */ | 57 | NETIF_F_NTUPLE_BIT, /* N-tuple filters supported */ |
| 58 | NETIF_F_RXHASH_BIT, /* Receive hashing offload */ | 58 | NETIF_F_RXHASH_BIT, /* Receive hashing offload */ |
| @@ -103,7 +103,7 @@ enum { | |||
| 103 | #define NETIF_F_NTUPLE __NETIF_F(NTUPLE) | 103 | #define NETIF_F_NTUPLE __NETIF_F(NTUPLE) |
| 104 | #define NETIF_F_RXCSUM __NETIF_F(RXCSUM) | 104 | #define NETIF_F_RXCSUM __NETIF_F(RXCSUM) |
| 105 | #define NETIF_F_RXHASH __NETIF_F(RXHASH) | 105 | #define NETIF_F_RXHASH __NETIF_F(RXHASH) |
| 106 | #define NETIF_F_SCTP_CSUM __NETIF_F(SCTP_CSUM) | 106 | #define NETIF_F_SCTP_CRC __NETIF_F(SCTP_CRC) |
| 107 | #define NETIF_F_SG __NETIF_F(SG) | 107 | #define NETIF_F_SG __NETIF_F(SG) |
| 108 | #define NETIF_F_TSO6 __NETIF_F(TSO6) | 108 | #define NETIF_F_TSO6 __NETIF_F(TSO6) |
| 109 | #define NETIF_F_TSO_ECN __NETIF_F(TSO_ECN) | 109 | #define NETIF_F_TSO_ECN __NETIF_F(TSO_ECN) |
