]> 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)
commit2e567e632f2d0cee0c34fd1537d64d666f02698a
tree13da9fba83b51804ab29a2544efda5f5baa524ec
parent8a09ab44fa7166a3802ca4ad8096f1296dab5916
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