net/enic: add VLAN and csum offloads to simple Tx handler
authorHyong Youb Kim <hyonkim@cisco.com>
Wed, 26 Sep 2018 02:54:21 +0000 (19:54 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:48 +0000 (18:53 +0200)
commit70401fd7784db6f55cce87b91e19d364edce506a
treedb9dd76cea4cad24e93e8849b70b3f030eafbb0e
parent828cf603a159edcd2dc0aab936dc9ff402b8ab11
net/enic: add VLAN and csum offloads to simple Tx handler

Currently the simple Tx handler supports no offloads, which makes it
usable only for a small number of benchmarks. Add vlan and checksum
offloads to the handler, as cycles/packet increases only by about 3
cycles, and applications commonly use those offloads.

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