net: thunderx: HW TSO support for pass-2 hardware
authorSunil Goutham <sgoutham@cavium.com>
Thu, 10 Dec 2015 07:55:19 +0000 (13:25 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Dec 2015 04:38:17 +0000 (23:38 -0500)
commit40fb5f8a60f33133d36afde35a9ad865d35e4423
treeb6c4a48659a4c5692f92645d5326ef9333d086ed
parent2ad7b7560fd586a8b72eb52df9483c203943eec9
net: thunderx: HW TSO support for pass-2 hardware

This adds support for offloading TCP segmentation to HW in pass-2
revision of hardware. Both driver level SW TSO for pass1.x chips
and HW TSO for pass-2 chip will co-exist. Modified SQ descriptor
structures to reflect pass-2 hw implementation.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nic.h
drivers/net/ethernet/cavium/thunder/nic_main.c
drivers/net/ethernet/cavium/thunder/nicvf_main.c
drivers/net/ethernet/cavium/thunder/nicvf_queues.c
drivers/net/ethernet/cavium/thunder/q_struct.h