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>
This commit is contained in:
Dekel Peled 2019-10-24 15:52:53 +03:00 committed by Ferruh Yigit
parent 60b05125c4
commit cd4569d2bf
2 changed files with 2 additions and 1 deletions

View File

@ -661,7 +661,7 @@ Run-time configuration
A nonzero value enables the DV flow steering assuming it is supported
by the driver.
Disabled by default.
Enabled by default if supported.
- ``dv_esw_en`` parameter [int]

View File

@ -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) {