]> git.baikalelectronics.ru Git - kernel.git/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)
commit943a14cc4a7b8ccb198c6ecee6476c1a412a3806
tree04ab92b422a82c03476021186b2dbf6578fad0d0
parentd39655f1e524a7958176f44d2587db0e84c1d627
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