]> git.baikalelectronics.ru Git - kernel.git/commit
fcoe: Use CHECKSUM_PARTIAL to indicate CRC offload
authorTom Herbert <tom@herbertland.com>
Mon, 14 Dec 2015 19:19:42 +0000 (11:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 21:49:58 +0000 (16:49 -0500)
commitd55e56bc0377f1dd59dd88a813d19132f48608ab
treecdb9cd4b467d2b2a03d347ab9c2c5193ac12a513
parent368a8cc5ec032d8d49d2dc59b11773ede1758d3f
fcoe: Use CHECKSUM_PARTIAL to indicate CRC offload

When setting up CRC offload set ip_summed to CHECKSUM_PARTIAL
instead of CHECKSUM_UNNECESSARY. This is consistent with the
definition of CHECKSUM_PARTIAL.

The only driver that seems to be advertising NETIF_F_FCOE_CRC is
ixgbe. AFICT the driver does not look at ip_summed for FCOE and
just assumes that CRC is being offloaded.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/fcoe/fcoe.c