net/i40evf: fix packet loss for X722
authorBeilei Xing <beilei.xing@intel.com>
Wed, 24 Feb 2021 02:09:00 +0000 (10:09 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Fri, 5 Mar 2021 08:51:54 +0000 (09:51 +0100)
commitc45bd78e07e9d4b5ffc29748b9b7d4127293597a
tree9bc18dd33f55b5dab796159b0997b1c5fafacd57
parent1b05c5b2b4cb146ff9b08a060f746f7b66708d76
net/i40evf: fix packet loss for X722

When Tx queue number is more than Rx queue number, and RSS is
enabled, there'll be packet loss with X722.
The root cause is the lookup table is not configured correctly,
since it uses VF's queue pair number but not Rx queue number.

Fixes: 2da3ba746795 ("net/i40e: fix VF runtime queues RSS config")
Cc: stable@dpdk.org
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Signed-off-by: Hengjian Zhang <hengjianx.zhang@intel.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c