net/bnxt: change MSI-X vector to queue mapping
authorRahul Gupta <rahul.gupta@broadcom.com>
Thu, 10 Oct 2019 01:41:49 +0000 (18:41 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:08 +0000 (16:43 +0200)
commit8a82aef1908d7a2efd0e76fab5b9f00db75522e4
tree2421d746029b9cdd37a39663fd72049a2e4d84bc
parente9ccabda04111afbc6b20655cce3474272d3ad90
net/bnxt: change MSI-X vector to queue mapping

DPDK PCIe-VFIO framework configures base MSIX vector for interrupts
which is supported by other h/w. In case of bnxt, base MSIX vector
starts with the RX completion queue 0. To comply with the DPDK
framework We need to increase the map index by 1 so that RXTX
completion queues events can be delivered to appropriate event listeners
by kernel VFIO.

Fixes: bd0a14c99f65 ("net/bnxt: use dedicated CPR for async events")
Cc: stable@dpdk.org
Signed-off-by: Rahul Gupta <rahul.gupta@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_irq.h
drivers/net/bnxt/bnxt_ring.c