diff options
| author | Or Gerlitz <[email protected]> | 2016-08-18 21:09:09 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-08-19 16:09:56 -0700 |
| commit | ef78618b9d29d40c95ca7092493545b8487e226c (patch) | |
| tree | 5b157b49ffeb9257e92035176f83c5b069d6be5d /lib/mpi/mpi-internal.h | |
| parent | dbe413e3bb93e0634f6d8d00b01cda6f141e0acd (diff) | |
net/mlx5: E-Switch, Return the correct devlink e-switch mode
Since mlx5 has also the NONE e-switch mode, we must translate from mlx5
mode to devlink mode on the devlink eswitch mode get call, do that.
While here, remove the mlx5_ prefix from the static function helpers
that deal with the mode to comply with the rest of the code.
Fixes: c930a3ad7453 ('net/mlx5e: Add devlink based SRIOV mode change')
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions