]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2017 07:44:01 +0000 (09:44 +0200)
commit5e96d44bbdd406bbaf49492a6ec537ebb0e7eba5
treec1013266d8536389bb4bc546ba3353b51e3545bf
parenteccc68710effc0c062bd57c5399c404bb2c9ac5e
net/mlx5: Add missing entries for set/query rate limit commands

[ Upstream commit 1f30a86c58093046dc3e49c23d2618894e098f7a ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c