]> Pileus Git - ~andy/linux/commit
sfc: Replace tso_state::full_packet_space with ip_base_len
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 19 Jun 2012 19:03:41 +0000 (20:03 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Fri, 24 Aug 2012 19:10:17 +0000 (20:10 +0100)
commit53cb13c680b98c637d95dd731b01bc284b3aa33d
tree04ab92b422a82c03476021186b2dbf6578fad0d0
parentf7251a9ce936f1006fbfdef63dbe42ae5e0fee7c
sfc: Replace tso_state::full_packet_space with ip_base_len

We only use tso_state::full_packet_space to calculate the IPv4 tot_len
or IPv6 payload_len, not to set tso_state::packet_space.  Replace it
with an ip_base_len field holding the value of tot_len or payload_len
before including the TCP payload, which is much more useful when
constructing the new headers.

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