linux/drivers/net/sfc
Ben Hutchings 60ac10658c sfc: Use separate hardware TX queues to select checksum generation
Checksum generation is an attribute of our hardware TX queues, not TX
descriptors.  We previously used a single queue and turned checksum
generation on or off as requested through ethtool.  However, this can
result in regenerating checksums in raw packets that should not be
modified.  We now create 2 hardware TX queues with checksum generation
on or off.  They are presented to the net core as one queue since it
does not know how to select between them.

The self-test verifies that a bad checksum is unaltered on the queue
with checksum generation off.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-09-03 09:53:42 -04:00
..
bitfield.h sfc: Use DMA_BIT_MASK() instead of our own DMA mask macros 2008-05-22 05:59:30 -04:00
boards.c sfc: Use kernel I2C system and i2c-algo-bit driver 2008-05-30 22:18:10 -04:00
boards.h sfc: Use kernel I2C system and i2c-algo-bit driver 2008-05-30 22:18:10 -04:00
efx.c sfc: Use separate hardware TX queues to select checksum generation 2008-09-03 09:53:42 -04:00
efx.h
enum.h [netdrvr] sfc: sfc: Add self-test support 2008-05-13 01:31:44 -04:00
ethtool.c sfc: Use separate hardware TX queues to select checksum generation 2008-09-03 09:53:42 -04:00
ethtool.h
falcon_hwdefs.h sfc: Use __packed macro 2008-05-22 05:59:32 -04:00
falcon_io.h sfc: Replaced various macros with inline functions 2008-05-22 05:59:27 -04:00
falcon_xmac.c [netdrvr] sfc: Report XAUI link down at default log level 2008-05-30 22:06:47 -04:00
falcon.c sfc: Use separate hardware TX queues to select checksum generation 2008-09-03 09:53:42 -04:00
falcon.h sfc: Replaced various macros with inline functions 2008-05-22 05:59:27 -04:00
gmii.h
Kconfig sfc: Use kernel I2C system and i2c-algo-bit driver 2008-05-30 22:18:10 -04:00
mac.h
Makefile sfc: Use kernel I2C system and i2c-algo-bit driver 2008-05-30 22:18:10 -04:00
mdio_10g.c [netdrvr] sfc: sfc: Add self-test support 2008-05-13 01:31:44 -04:00
mdio_10g.h [netdrvr] sfc: sfc: Add self-test support 2008-05-13 01:31:44 -04:00
net_driver.h sfc: Use separate hardware TX queues to select checksum generation 2008-09-03 09:53:42 -04:00
phy.h
rx.c dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
rx.h
selftest.c sfc: Use separate hardware TX queues to select checksum generation 2008-09-03 09:53:42 -04:00
selftest.h sfc: Use separate hardware TX queues to select checksum generation 2008-09-03 09:53:42 -04:00
sfe4001.c sfc: Use kernel I2C system and i2c-algo-bit driver 2008-05-30 22:18:10 -04:00
spi.h
tenxpress.c sfc: Added checks for heap allocation failure 2008-05-22 05:59:34 -04:00
tx.c sfc: Use separate hardware TX queues to select checksum generation 2008-09-03 09:53:42 -04:00
tx.h
workarounds.h sfc: Replaced various macros with inline functions 2008-05-22 05:59:27 -04:00
xenpack.h
xfp_phy.c sfc: Added checks for heap allocation failure 2008-05-22 05:59:34 -04:00