]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Introduce E-switch QoS management
authorMohamad Haj Yahia <mohamad@mellanox.com>
Thu, 11 Aug 2016 08:26:36 +0000 (11:26 +0300)
committerLeon Romanovsky <leon@kernel.org>
Sun, 30 Oct 2016 13:43:13 +0000 (15:43 +0200)
commit26d9c8a9115547072d9a81b40d727f930c443ca6
tree13da9fba83b51804ab29a2544efda5f5baa524ec
parent0bc6e6a0fc55d192c5ba393eaaacd752eaf5337e
net/mlx5: Introduce E-switch QoS management

Add TSAR to the eswitch which will act as the vports rate limiter.
Create/Destroy TSAR on Enable/Dsiable SRIOV.
Attach/Detach vport to eswitch TSAR on Enable/Disable vport.

Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h