net/enic: re-enable link status change interrupt
authorHyong Youb Kim <hyonkim@cisco.com>
Thu, 7 Nov 2019 14:42:24 +0000 (06:42 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:05 +0000 (23:15 +0100)
commit8bac78f8262e2c4d8d72bf7e77c2d55b62b844f2
tree97ee80f6933c1700141535c6adb04f57635be4c7
parentfc2dd8dd492fade39a4c4de037ff3c869daff47d
net/enic: re-enable link status change interrupt

When INTx is used, the interrupt handler needs to explicitly re-enable
interrupt in order to receive another one in future. The LSC interrupt
handler currently does not, and the link state never gets updated when
INTx is used (e.g. uio_pci_generic). Call rte_intr_ack() at the end of
the handler, to re-enable INTx.

Fixes: fefed3d1e62c ("enic: new driver")
Cc: stable@dpdk.org
Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/Makefile
drivers/net/enic/enic_main.c
drivers/net/enic/meson.build