dpdk: copy the enable_rxq_int flag from driver to conf 78/35678/2
authorPaul Atkins <patkins@graphiant.com>
Thu, 10 Mar 2022 16:20:47 +0000 (16:20 +0000)
committerDamjan Marion <dmarion@me.com>
Wed, 23 Mar 2022 21:45:18 +0000 (21:45 +0000)
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

src/plugins/dpdk/device/init.c

index b2f56c5..eb01b9f 100644 (file)
@@ -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)