From: Paul Atkins Date: Thu, 10 Mar 2022 16:20:47 +0000 (+0000) Subject: dpdk: copy the enable_rxq_int flag from driver to conf X-Git-Tag: v22.10-rc0~216 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F78%2F35678%2F2;p=vpp.git 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 Change-Id: I2e502306e27bd98f8037d1a0a396201e099b50b5 --- 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)