net/bnxt: fix Rx interrupt vector
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 19 Jul 2019 06:19:02 +0000 (11:49 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:36 +0000 (14:31 +0200)
commitd261c9ef56f4c6af645b71a9a9c841bbbe24e3a9
treebe0efeb8e7a3e51b3fcb0a242975b848d3fed50b
parent5a7bc3c0b861b7f4012027767efff038c9e8934e
net/bnxt: fix Rx interrupt vector

The receive interrupt vector should be offset by the constant
RTE_INTR_VEC_RXTX_OFFSET; otherwise setting up some queue interrupts
will fail.

Fixes: 1fe427fd08ee ("net/bnxt: support enable/disable interrupt")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Tested-by: Rahul Gupta <rahul.gupta@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c