summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device
diff options
context:
space:
mode:
authorChenmin Sun <chenmin.sun@intel.com>2021-04-13 00:54:45 +0800
committerDamjan Marion <dmarion@me.com>2021-04-14 16:00:43 +0000
commit7bc714da36bb9badec2ad5bf848c6b90caabad0a (patch)
tree92d353df0693016de59ea2473329177f6effbc16 /src/plugins/dpdk/device
parent1e88cb21be6e881b3b753e8733da802bb93e37f9 (diff)
dpdk: add RSS capability flag to iavf PMD in dpdk_plugin
Type: fix Signed-off-by: Chenmin Sun <chenmin.sun@intel.com> Change-Id: I215b660a466e0579918e49de543163fd28f95c22
Diffstat (limited to 'src/plugins/dpdk/device')
-rw-r--r--src/plugins/dpdk/device/init.c8
1 files changed, 4 insertions, 4 deletions
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)
{