net/ice: add AVX2 offload Tx
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Tue, 29 Jun 2021 02:29:20 +0000 (10:29 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 6 Jul 2021 02:57:33 +0000 (04:57 +0200)
commit52ccdcf2fd41fd7d75ab9bc6b1288b31adf76aa3
tree8b2ccad0a0ddec6d576691968b71a6bfe8dc84ba
parent148fdf2d3537cfbb912e9c619ace7205741d9a25
net/ice: add AVX2 offload Tx

Add a specific path for TX AVX2.
In this path, support the HW offload features, like,
checksum insertion, VLAN insertion.
This path is chosen automatically according to the
configuration.

'inline' is used, then the duplicate code is generated
by the compiler.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Leyi Rong <leyi.rong@intel.com>
drivers/net/ice/ice_rxtx.c
drivers/net/ice/ice_rxtx.h
drivers/net/ice/ice_rxtx_vec_avx2.c