]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add SRIOV VF max rate configuration support
authorMohamad Haj Yahia <mohamad@mellanox.com>
Thu, 11 Aug 2016 08:28:21 +0000 (11:28 +0300)
committerLeon Romanovsky <leon@kernel.org>
Sun, 30 Oct 2016 13:43:13 +0000 (15:43 +0200)
commit6a1245c9166ae62fb54fa90a65f12ce9865b0891
tree090e5215d779191f6fb61ac4fda07d3ed35b0f72
parent2e567e632f2d0cee0c34fd1537d64d666f02698a
net/mlx5: Add SRIOV VF max rate configuration support

Implement the vf set rate ndo by modifying the TSAR vport rate limit.

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/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h