From 7bc714da36bb9badec2ad5bf848c6b90caabad0a Mon Sep 17 00:00:00 2001 From: Chenmin Sun Date: Tue, 13 Apr 2021 00:54:45 +0800 Subject: dpdk: add RSS capability flag to iavf PMD in dpdk_plugin Type: fix Signed-off-by: Chenmin Sun Change-Id: I215b660a466e0579918e49de543163fd28f95c22 --- src/plugins/dpdk/device/init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/plugins/dpdk/device') diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c index 24f822ec495..cf32687289a 100644 --- a/src/plugins/dpdk/device/init.c +++ b/src/plugins/dpdk/device/init.c @@ -503,11 +503,11 @@ dpdk_lib_init (dpdk_main_t * dm) case VNET_DPDK_PMD_IAVF: xd->flags |= DPDK_DEVICE_FLAG_INT_UNMASKABLE; xd->port_type = VNET_DPDK_PORT_TYPE_ETH_VF; - xd->supported_flow_actions = VNET_FLOW_ACTION_MARK | - VNET_FLOW_ACTION_REDIRECT_TO_NODE | + xd->supported_flow_actions = + VNET_FLOW_ACTION_MARK | VNET_FLOW_ACTION_REDIRECT_TO_NODE | VNET_FLOW_ACTION_REDIRECT_TO_QUEUE | - VNET_FLOW_ACTION_BUFFER_ADVANCE | - VNET_FLOW_ACTION_COUNT | VNET_FLOW_ACTION_DROP; + VNET_FLOW_ACTION_BUFFER_ADVANCE | VNET_FLOW_ACTION_COUNT | + VNET_FLOW_ACTION_DROP | VNET_FLOW_ACTION_RSS; if (dm->conf->no_tx_checksum_offload == 0) { -- cgit 1.2.3-korg