sfc: Implement firmware-assisted TSO for EF10
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 8 Mar 2013 21:20:09 +0000 (21:20 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Fri, 20 Sep 2013 18:31:48 +0000 (19:31 +0100)
commitdfa50be95cc2c42d243c33433a5ff977177a3236
tree6060c3632cfd8cb341f07b4db978e3a77e581bf1
parentc78c39e67cf65d147fae72c3c994b1ddc1a3dd04
sfc: Implement firmware-assisted TSO for EF10

Segmentation remains in the driver, but we generate option descriptors
describing the required packet editing rather than making our own
copies.

Reduce tso_state::ipv4_id to 16 bits, so it doesn't overflow into the
TCP_FLAGS field of the option descriptor.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/tx.c