diff options
author | Paul Blakey <[email protected]> | 2021-05-20 17:09:58 +0300 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2021-11-16 12:20:19 -0800 |
commit | d7751d6476185ff754b9dad2cba0c0a6e43ecadc (patch) | |
tree | 85b36b6f3c0297c53ab2471812c5feb41742fa7e /tools/perf/scripts/python | |
parent | 362980eada85b5ea691e5e0d9257a991aa7ade47 (diff) |
net/mlx5: E-Switch, Fix resetting of encap mode when entering switchdev
E-Switch encap mode is relevant only when in switchdev mode.
The RDMA driver can query the encap configuration via
mlx5_eswitch_get_encap_mode(). Make sure it returns the currently
used mode and not the set one.
This reverts the cited commit which reset the encap mode
on entering switchdev and fixes the original issue properly.
Fixes: 9a64144d683a ("net/mlx5: E-Switch, Fix default encap mode")
Signed-off-by: Paul Blakey <[email protected]>
Reviewed-by: Mark Bloch <[email protected]>
Reviewed-by: Maor Dickman <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions