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)
commitbd77bf1cb595477528f06f5c52f913f70acd73bb
tree090e5215d779191f6fb61ac4fda07d3ed35b0f72
parent1bd27b11c1df33a1dc3277e2a0abbf6bd33cc817
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