net/nfp: fix Rx interrupt when multiqueue
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Fri, 11 Aug 2017 15:16:55 +0000 (16:16 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:47 +0000 (02:49 +0200)
commit7dcb19d78f27ec6f6241ebc7779d5c61a9d569e1
tree0dd3f7f1de5350caf5f0a9dba2b3938b1c1ed46f
parente1102e36fa6a8d813e9de7fc6978b83620a4f418
net/nfp: fix Rx interrupt when multiqueue

intr_vec was not properly configured. This is not a problem when
just one queue is supported but it fails with multiqueue.

Some minor refactoring also done for hardware interrupt configuration.

Fixes: ea121b28316d ("net/nfp: add Rx interrupts")
Cc: stable@dpdk.org
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/nfp_net.c