aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2018-02-22 14:44:03 -0600
committerDamjan Marion <dmarion.lists@gmail.com>2018-02-23 14:03:00 +0000
commit825879e74a93e429d4561bb7bc05f4dbc0dcdd23 (patch)
treeeb58d6b1a47a6d44b6c5a6eb55c3bb49ad8e2f8d /src/plugins
parent30765e77ac98913abefbdb9e8325a2b3f1e11082 (diff)
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 <mgsmith@netgate.com>
Diffstat (limited to 'src/plugins')
-rwxr-xr-xsrc/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 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: