net/enic: use TSO flags
authorJohn Daley <johndale@cisco.com>
Wed, 10 Jan 2018 09:17:11 +0000 (01:17 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit4bb0a6feb3ebdeded5a61e0ae61a48fa61406578
treef6a71e40b90d21a1ffc9552208a482bee193f99a
parent2e99ea80f8bc0f10e9e7226e6cea3aa307891727
net/enic: use TSO flags

Depend on the tx_offload flags in the mbuf to determine the length
of the headers instead of looking into the packet itself.

Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>
drivers/net/enic/enic_rxtx.c