aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/init.c
diff options
context:
space:
mode:
authorEyal Bari <ebari@cisco.com>2018-05-16 11:30:23 +0300
committerDamjan Marion <dmarion.lists@gmail.com>2018-05-21 19:16:37 +0000
commitbd81bdf226c1dc03baaf05f17cf68fbb17bc5dd7 (patch)
tree2ca4ff0abb81fd144af40c30cc037a9055dfbc3a /src/plugins/dpdk/device/init.c
parenta52e1668c9976bd5cdd20d02b668df41ea41f16f (diff)
dpdk:enable flow director perfect mode
when flows are enabled on the device Change-Id: I971764988d5a9e7078468f627205b3fa60736263 Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/init.c')
-rwxr-xr-xsrc/plugins/dpdk/device/init.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index 70accccf7dd..23d4d46f24e 100755
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -386,9 +386,6 @@ dpdk_lib_init (dpdk_main_t * dm)
case VNET_DPDK_PMD_IXGBE:
case VNET_DPDK_PMD_I40E:
xd->port_type = port_type_from_speed_capa (&dev_info);
-#if 0
- xd->port_conf.fdir_conf.mode = RTE_FDIR_MODE_PERFECT;
-#endif
xd->supported_flow_actions = VNET_FLOW_ACTION_MARK |
VNET_FLOW_ACTION_REDIRECT_TO_NODE |
VNET_FLOW_ACTION_BUFFER_ADVANCE |