net/enic: support TSO
authorJohn Daley <johndale@cisco.com>
Mon, 9 Jan 2017 23:04:28 +0000 (15:04 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:41:42 +0000 (19:41 +0100)
commit026afc76b0f198e16fca3aa7d758ff80e1df5737
tree0cc9f831d9877f6ff38a43e886f85d208d5ad13c
parent0bc9f022a144f6522b9f7d3f191531fef392805d
net/enic: support TSO

The enic TSO implementation requires that the length of the Eth/IP/TCP
headers be passed to the NIC. Other than that, it's just a matter of
setting the mss and offload mode on a per packet basis.

In TSO mode, IP and TCP checksums are offloaded even if not requested
with mb->ol_flags.

Signed-off-by: John Daley <johndale@cisco.com>
doc/guides/nics/features/enic.ini
drivers/net/enic/enic_ethdev.c
drivers/net/enic/enic_rxtx.c