commit | 53cb13c680b98c637d95dd731b01bc284b3aa33d | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Tue Jun 19 20:03:41 2012 +0100 |
committer | Ben Hutchings <bhutchings@solarflare.com> | Fri Aug 24 20:10:17 2012 +0100 |
tree | 04ab92b422a82c03476021186b2dbf6578fad0d0 | |
parent | f7251a9ce936f1006fbfdef63dbe42ae5e0fee7c [diff] |
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>