drivers/net: use ack in interrupt handlers
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Tue, 23 Jul 2019 08:04:19 +0000 (10:04 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 23 Jul 2019 10:00:23 +0000 (12:00 +0200)
commit6bee9d5f456a61a427384c815f6827aad83e3c06
treee78af2faa84c406545ea17fee9ac05b8c0769ab2
parenta159730c2f3ae3fdabc52c20565470a9d8abd98a
drivers/net: use ack in interrupt handlers

Replace rte_intr_enable() with rte_intr_ack() API
for acking an interrupt in interrupt handlers and
rx_queue_intr_enable() callbacks of PMD's.

This is inline with original intent of this change in PMDs
to ack interrupts after handling is completed if
device is backed by UIO, IGB_UIO or VFIO(with INTx).

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Shahed Shaikh <shshaikh@marvell.com>
Tested-by: Shahed Shaikh <shshaikh@marvell.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
30 files changed:
drivers/net/atlantic/Makefile
drivers/net/atlantic/atl_ethdev.c
drivers/net/atlantic/meson.build
drivers/net/avp/Makefile
drivers/net/avp/avp_ethdev.c
drivers/net/avp/meson.build
drivers/net/axgbe/Makefile
drivers/net/axgbe/axgbe_ethdev.c
drivers/net/axgbe/meson.build
drivers/net/bnx2x/Makefile
drivers/net/bnx2x/bnx2x_ethdev.c
drivers/net/bnx2x/meson.build
drivers/net/e1000/em_ethdev.c
drivers/net/e1000/igb_ethdev.c
drivers/net/fm10k/Makefile
drivers/net/fm10k/fm10k_ethdev.c
drivers/net/fm10k/meson.build
drivers/net/i40e/i40e_ethdev.c
drivers/net/iavf/iavf_ethdev.c
drivers/net/ice/Makefile
drivers/net/ice/ice_ethdev.c
drivers/net/ice/meson.build
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/nfp/nfp_net.c
drivers/net/qede/Makefile
drivers/net/qede/meson.build
drivers/net/qede/qede_ethdev.c
drivers/net/sfc/sfc_intr.c
drivers/net/virtio/virtio_ethdev.c
drivers/net/vmxnet3/vmxnet3_ethdev.c