net/igb: fix LSC interrupt when using MSI-X
authorTimmons C. Player <timmons.player@spirent.com>
Mon, 19 Nov 2018 14:48:54 +0000 (14:48 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 3 Dec 2018 12:57:33 +0000 (12:57 +0000)
commit7f5c81d5689d4d1b4dce8279a6eb3318bddf1607
tree3ba9de618e49bd0001f399d878ada3abb57aec68
parentb0aa225b45e102a1eba2215e3a75b5683d8435f2
net/igb: fix LSC interrupt when using MSI-X

Take the 'other interrupt' into account when setting up
MSI-X interrupts and use the proper mask when enabling it.
Also, rearm the MSI-X vector after the LSC interrupt fires.

This change allows both LSC and RXQ interrupts to work at
the same time when using MSI-X interrupts.

Cc: stable@dpdk.org
Signed-off-by: Timmons C. Player <timmons.player@spirent.com>
Acked-by: Wei Zhao <wei.zhao1@intel.com>
drivers/net/e1000/igb_ethdev.c