diff options
| author | Chris Mi <[email protected]> | 2022-05-30 06:07:57 +0300 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2022-07-02 11:58:26 -0700 |
| commit | f019679ea5f2ab650c3348a79e7d9c3625f62899 (patch) | |
| tree | a9c5d465ec6ec7ae0a4d867e1b0a002fee394ec4 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
| parent | fbd43b7259bc699e540ef8e7eb81631d57618a2e (diff) | |
net/mlx5: E-switch, Remove dependency between sriov and eswitch mode
Currently, there are three eswitch modes, none, legacy and switchdev.
None is the default mode. Remove redundant none mode as eswitch mode
should always be either legacy mode or switchdev mode.
With this patch, there are two behavior changes:
1. Legacy becomes the default mode. When querying eswitch mode using
devlink, a valid mode is always returned.
2. When disabling sriov, the eswitch mode will not change, only vfs
are unloaded.
Signed-off-by: Chris Mi <[email protected]>
Reviewed-by: Maor Dickman <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions