From 34c54dff5c66f9a4aef77daf08219301e15cc1fa Mon Sep 17 00:00:00 2001 From: Mohammed Hawari Date: Thu, 18 Mar 2021 12:02:08 +0100 Subject: dpdk: don't mask interrupts for some drivers It is well known that for some NICs, masking interrupts results in delaying desc writebacks, which breaks poll mode. This fix introduces an "int-unmaskable" dpdk device flag to identify such devices (typically Intel FVL). For such devices, interrupts are masked by a call to file_update(...,UNIX_FILE_UPDATE_DELETE) instead of rte_eth_dev_rx_intr_disable (...) Change-Id: Ifbc701aebe8572319b7aae19382bd683a47fc3cf Type: fix Fixes: 19ff0c3699342b512c03362b3815df684a661f49 Signed-off-by: Mohammed Hawari --- src/plugins/dpdk/device/dpdk.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/dpdk/device/dpdk.h') diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h index e63b2b7c56b..5d326983df1 100644 --- a/src/plugins/dpdk/device/dpdk.h +++ b/src/plugins/dpdk/device/dpdk.h @@ -139,7 +139,8 @@ typedef uint16_t dpdk_portid_t; _ (10, INTEL_PHDR_CKSUM, "intel-phdr-cksum") \ _ (11, RX_FLOW_OFFLOAD, "rx-flow-offload") \ _ (12, RX_IP4_CKSUM, "rx-ip4-cksum") \ - _ (13, INT_SUPPORTED, "int-supported") + _ (13, INT_SUPPORTED, "int-supported") \ + _ (14, INT_UNMASKABLE, "int-unmaskable") enum { -- cgit 1.2.3-korg