net/mlx5: Add missing entries for set/query rate limit commands
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 21 Mar 2017 13:59:12 +0000 (15:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 19:11:12 +0000 (12:11 -0700)
commit1f30a86c58093046dc3e49c23d2618894e098f7a
tree13be75ed0e37ece87688e545b6bf6b0bdbe34908
parentbf601fe52e8392082e1c0587ab5e34df97675a97
net/mlx5: Add missing entries for set/query rate limit commands

The switch cases for the rate limit set and query commands were
missing, which could get us wrong under fw error or driver reset
flow, fix that.

Fixes: 1466cc5b23d1 ('net/mlx5: Rate limit tables support')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c