]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Set SQ max rate on mlx5e_open_txqsq rather on open_channel
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 14 Nov 2016 11:42:02 +0000 (13:42 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 27 Mar 2017 12:08:12 +0000 (15:08 +0300)
commitf23c8ea749fa7f5040aef3be178498f884503202
tree9584fc9fc54bbace7d3324cbdd286939b9e21da0
parentf75f5a3db2310d387c9ccc2f4c9438a24c968e51
net/mlx5e: Set SQ max rate on mlx5e_open_txqsq rather on open_channel

Instead of iterating over the channel SQs to set their max rate, do it
on SQ creation per TXQ SQ.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c