ixgbe: remove useless fields in checksum offload
authorDidier Pallard <didier.pallard@6wind.com>
Thu, 29 Oct 2015 08:47:53 +0000 (09:47 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 3 Nov 2015 10:40:36 +0000 (11:40 +0100)
commit6b39b947a944c51132c7d60b9ced2a18f3dd7507
tree328089f9e05f19773fae8a637f223d76b1b373b9
parent634efbc2c8c05213696c36e103becc48cdbe534c
ixgbe: remove useless fields in checksum offload

According to Table 7-38: Valid Fields by Offload Option
of Intel ® 82599 10 GbE Controller Datasheet,
L4LEN field is not needed for L4 XSUM computation by the hardware.
So remove l4_len from tx_offload_mask in ixgbe_set_xmit_ctx
function used to build the context transmitted to the hardware.

Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/ixgbe_rxtx.c