]> git.droids-corp.org - dpdk.git/commit
net/ice: fix secondary process Rx offload path
authorAlvin Zhang <alvinx.zhang@intel.com>
Tue, 16 Nov 2021 02:32:09 +0000 (10:32 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 16 Nov 2021 04:56:16 +0000 (05:56 +0100)
commit798155194c2ba7458e2faf3c0754134ce54aeeed
tree543a635e72e6ab5ebd29d2c55e05b2900be81924
parent4bd8098a3b277f50adebd9941dda6ce9e33bdf7f
net/ice: fix secondary process Rx offload path

Secondary process depends on the vector offload flag to select right
Rx offload path. This patch adds a variable in share memory to store
the vector offload flag that can be directly read by secondary process.

Fixes: 808a17b3c1e6 ("net/ice: add Rx AVX512 offload path")
Cc: stable@dpdk.org
Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
Tested-by: Qin Sun <qinx.sun@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_ethdev.h
drivers/net/ice/ice_rxtx.c