aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2017-06-04 19:36:17 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-06-15 23:27:46 +0300
commit9d1cef196b2687e9338c4268a3aa0ca521686bc9 (patch)
treed23200f1fd611f390f4201c9363215d9662bc02a /drivers/clk
parentnet/mlx5e: Fix min inline value for VF rep SQs (diff)
downloadlinux-dev-9d1cef196b2687e9338c4268a3aa0ca521686bc9.tar.xz
linux-dev-9d1cef196b2687e9338c4268a3aa0ca521686bc9.zip
net/mlx5: Properly check applicability of devlink eswitch commands
Currently we don't check that the link type is Eth and hence crash on IB ports when attempting to deref esw->xxx, fix that. To avoid repeating this check over and over, put the existing checks and the one on link type in a single helper. Fixes: 7768d1971de6 ('net/mlx5: E-Switch, Add control for encapsulation') Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Reported-by: Mohamad Badarnah <mohamadb@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions