The tap PMD registers each queue file descriptor for Rx interrupts but the feature is not usable through the generic API. This series fixes two distinct issues against the original Rx interrupt support, plus a small type cleanup.
Patch 1 adds the missing rx_queue_intr_enable/disable ops. Without them rte_eth_dev_rx_intr_enable() returns -ENOTSUP, so applications that arm queues before sleeping (l3fwd-power and similar) treat tap as having no interrupt support and fall back to polling. Patch 2 fixes a traffic stall specific to interrupt mode: the Rx burst skips reading the queue fd until the SIGIO trigger advances, but in interrupt mode the application wakes through epoll, a distinct signal, so the burst can return 0 right after a wakeup and the fd stays readable with no further edge. The fd is now drained unconditionally in interrupt mode and the SIGIO trigger is not armed on the data queue fds. Patch 3 converts the driver's int-as-boolean fields to bool. Patches 1 and 2 are candidates for stable. v2: - use bool for the new interrupt-mode fields instead of int (Stephen); both fit existing padding, so neither struct grows - add patch 3 converting the existing int booleans to bool The coding_style.rst note that discouraged bool in structures no longer matches DPDK practice; it is dropped by a separate patch. Maxime Leroy (3): net/tap: support Rx queue interrupt enable/disable net/tap: drain queue FD in Rx interrupt mode net/tap: use bool for boolean flags drivers/net/tap/rte_eth_tap.c | 25 +++++++++++++++++++- drivers/net/tap/rte_eth_tap.h | 11 ++++++--- drivers/net/tap/tap_flow.c | 4 ++-- drivers/net/tap/tap_intr.c | 44 +++++++++++++++++++++++++++++++++++ 4 files changed, 78 insertions(+), 6 deletions(-) -- 2.43.0

