summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDekel Peled <dekelp@mellanox.com>2019-10-24 15:52:53 +0300
committerFerruh Yigit <ferruh.yigit@intel.com>2019-11-20 17:36:06 +0100
commitcd4569d2bf3c4405f2e06ca88e926fa788bad948 (patch)
treee0b8e14a83e13a2733d88431cf0eb69097b4cc09 /drivers
parent60b05125c42248fb86af4876828599431a5629f3 (diff)
downloaddpdk-cd4569d2bf3c4405f2e06ca88e926fa788bad948.zip
dpdk-cd4569d2bf3c4405f2e06ca88e926fa788bad948.tar.gz
dpdk-cd4569d2bf3c4405f2e06ca88e926fa788bad948.tar.xz
net/mlx5: change default flow engine to DV
The default flow engine is Verbs flow engine, for legacy reasons. This patch changes the default to DV flow engine (dv_flow_en = 1). Documentation is updated accordingly. Signed-off-by: Dekel Peled <dekelp@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/mlx5/mlx5.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index b686129..9e4fd03 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -3262,6 +3262,7 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
.min_rxqs_num = MLX5_MPRQ_MIN_RXQS,
},
.dv_esw_en = 1,
+ .dv_flow_en = 1,
};
/* Device specific configuration. */
switch (pci_dev->id.device_id) {