summaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2016-08-18 20:09:09 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-20 01:09:56 +0200
commitef78618b9d29d40c95ca7092493545b8487e226c (patch)
tree5b157b49ffeb9257e92035176f83c5b069d6be5d /fs/block_dev.c
parentnet/mlx5e: Retrieve the switchdev id from the firmware only once (diff)
downloadlinux-ef78618b9d29d40c95ca7092493545b8487e226c.tar.xz
linux-ef78618b9d29d40c95ca7092493545b8487e226c.zip
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 <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions