summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device
diff options
context:
space:
mode:
authorPaul Atkins <patkins@graphiant.com>2022-03-10 16:20:47 +0000
committerDamjan Marion <dmarion@me.com>2022-03-23 21:45:18 +0000
commit03b22e62e108fc2ed7a0186e372dc752b0afa46c (patch)
tree653f6ff497178293d10776b7d7dbb205043703b4 /src/plugins/dpdk/device
parent89a561f204708ded29ac53573680353bbad9741b (diff)
dpdk: copy the enable_rxq_int flag from driver to conf
The support for interrupt mode is not being respected as it is not copied into the driver conf, which is what is checked when trying to enable it. Type: fix Signed-off-by: Paul Atkins <patkins@graphiant.com> Change-Id: I2e502306e27bd98f8037d1a0a396201e099b50b5
Diffstat (limited to 'src/plugins/dpdk/device')
-rw-r--r--src/plugins/dpdk/device/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index b2f56c58f11..eb01b9fe3d1 100644
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -305,6 +305,7 @@ dpdk_lib_init (dpdk_main_t * dm)
xd->supported_flow_actions = dr->supported_flow_actions;
xd->conf.disable_rss = dr->mq_mode_none;
xd->conf.disable_rx_scatter = dr->disable_rx_scatter;
+ xd->conf.enable_rxq_int = dr->enable_rxq_int;
if (dr->use_intel_phdr_cksum)
dpdk_device_flag_set (xd, DPDK_DEVICE_FLAG_INTEL_PHDR_CKSUM, 1);
if (dr->int_unmaskable)