]> git.droids-corp.org - dpdk.git/commit
net/iavf: fix HW ring scan method selection
authorSteve Yang <stevex.yang@intel.com>
Mon, 14 Mar 2022 09:31:46 +0000 (09:31 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Mon, 18 Apr 2022 05:47:18 +0000 (07:47 +0200)
commit070ef4e6c815bf7f4647070acf1ed4025e0512e9
treeea13bf2d370160c38abcdabefc932ef37f173321
parent8b421290fb427b7bd402d520b54eff1065e65221
net/iavf: fix HW ring scan method selection

When setup Rx queue, the rxdid would be changed if it's
"IAVF_RXDID_LEGACY_0/1", that caused the scan HW ring used the wrong
function 'iavf_rx_scan_hw_ring_flex_rxd()'.

Ignore the rxdid changed when equals "IAVF_RXDID_LEGACY_0/1".

Fixes: 0ed16e01313e ("net/iavf: fix function pointer in multi-process")
Cc: stable@dpdk.org
Signed-off-by: Steve Yang <stevex.yang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/iavf/iavf_rxtx.c