From: Matthew Smith Date: Thu, 22 Feb 2018 20:44:03 +0000 (-0600) Subject: Disable scatter-gather for ENA X-Git-Tag: v18.04-rc1~270 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F10767%2F2;p=vpp.git Disable scatter-gather for ENA ENA doesn't support scatter-gather. The PMD started failing rte_eth_dev_rx_queue_config() in DPDK 18.02 if the flag to enable it is set. Turn the flag off in dpdk_lib_init(). Change-Id: Ifdd9f188c89b46efe82412c75fb935a92436da1c Signed-off-by: Matthew Smith --- diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c index d719d4b7153..0aaead0553a 100755 --- a/src/plugins/dpdk/device/init.c +++ b/src/plugins/dpdk/device/init.c @@ -408,6 +408,7 @@ dpdk_lib_init (dpdk_main_t * dm) case VNET_DPDK_PMD_ENA: xd->port_type = VNET_DPDK_PORT_TYPE_ETH_VF; + xd->port_conf.rxmode.enable_scatter = 0; break; case VNET_DPDK_PMD_DPAA2: