Michael Baum 72d836b300 net/mlx5: fix E-Switch DV flow disabling
E-Switch DV flow is supported only when DV flow is supported and
enabled.

The mlx5_shared_dev_ctx_args_config() function ensures that when the
environment does not support DV, the "dv_esw_en" flag is turned off.
However, when the environment is supportive but the user has requested
to disable it, the "dv_esw_en" flag remains on and causes the PMD to try
to create an E-Switch through the Verbs engine.

This patch adds check to ensure that "dv_esw_en" flag will be turned off
when DV flow is disabled.

Fixes: a13ec19c1993 ("net/mlx5: add shared device context config structure")

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2022-03-07 11:49:29 +01:00
..
2022-02-12 12:07:48 +01:00
2022-02-27 21:26:06 +01:00
2022-02-12 12:07:48 +01:00
2022-02-27 21:26:06 +01:00
2022-02-23 19:01:03 +01:00
2022-01-20 16:24:09 +01:00
2022-02-27 21:26:06 +01:00
2022-03-03 11:34:27 +01:00
2022-03-04 12:35:51 +01:00
2022-02-12 12:07:48 +01:00
2022-02-27 21:26:06 +01:00
2022-03-03 12:30:51 +01:00
2022-02-12 12:07:48 +01:00
2022-02-12 12:07:48 +01:00
2022-02-27 21:26:06 +01:00
2022-02-15 14:53:41 +01:00
2022-02-27 21:26:06 +01:00
2022-02-27 21:26:06 +01:00
2022-02-12 12:07:48 +01:00
2022-02-12 12:07:48 +01:00
2022-02-12 12:07:48 +01:00
2022-02-12 12:07:48 +01:00
2022-01-12 15:36:32 +01:00