mlxsw: spectrum: Allow setting maximum rate for a TC
authorIdo Schimmel <idosch@mellanox.com>
Wed, 6 Apr 2016 15:10:11 +0000 (17:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Apr 2016 21:24:19 +0000 (17:24 -0400)
commitcc7cf5175807daa9cb51f6e0eb034f60ced6b251
tree7499e00b94ea2ed068ee98857c391ad3be9a07e0
parent8e8dfe9fdf063cd61f35ed82f5be463791a613a5
mlxsw: spectrum: Allow setting maximum rate for a TC

Allow a user to set maximum rate for a particular TC using DCB ops.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c