diff options
author | Yi Zou <yi.zou@intel.com> | 2012-03-19 11:12:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-19 17:37:35 -0400 |
commit | 3af79302b400e05b45e377993a8870869500466b (patch) | |
tree | d273210736e14576bbc49009ece005c62f1bb3e8 /include | |
parent | cf64bc8f093581d0697b65ea8dd04bdd27a676b0 (diff) | |
download | linux-3.10-3af79302b400e05b45e377993a8870869500466b.tar.gz linux-3.10-3af79302b400e05b45e377993a8870869500466b.tar.bz2 linux-3.10-3af79302b400e05b45e377993a8870869500466b.zip |
net: update the usage of CHECKSUM_UNNECESSARY
As suggested by Ben, this adds the clarification on the usage of
CHECKSUM_UNNECESSARY on the outgoing patch. Also add the usage
description of NETIF_F_FCOE_CRC and CHECKSUM_UNNECESSARY
for the kernel FCoE protocol driver.
This is a follow-up to the following:
http://patchwork.ozlabs.org/patch/147315/
Signed-off-by: Yi Zou <yi.zou@intel.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: www.Open-FCoE.org <devel@open-fcoe.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/skbuff.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 8dc8257eab8..a2b9953b582 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -94,6 +94,13 @@ * about CHECKSUM_UNNECESSARY. 8) * NETIF_F_IPV6_CSUM about as dumb as the last one but does IPv6 instead. * + * UNNECESSARY: device will do per protocol specific csum. Protocol drivers + * that do not want net to perform the checksum calculation should use + * this flag in their outgoing skbs. + * NETIF_F_FCOE_CRC this indicates the device can do FCoE FC CRC + * offload. Correspondingly, the FCoE protocol driver + * stack should use CHECKSUM_UNNECESSARY. + * * Any questions? No questions, good. --ANK */ |