Files
linux/drivers/net
Huy Nguyen c5fc25e6d7 net/mlx5e: Query global pause state before setting prio2buffer
[ Upstream commit 73e6551699 ]

When the user changes prio2buffer mapping while global pause is
enabled, mlx5 driver incorrectly sets all active buffers
(buffer that has at least one priority mapped) to lossy.

Solution:
If global pause is enabled, set all the active buffers to lossless
in prio2buffer command.
Also, add error message when buffer size is not enough to meet
xoff threshold.

Fixes: 0696d60853 ("net/mlx5e: Receive buffer configuration")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-21 10:57:17 +01:00
..
2019-10-05 13:09:29 +02:00
2019-09-10 10:33:48 +01:00
2019-07-26 09:14:17 +02:00
2018-05-28 23:02:22 -04:00
2019-05-25 18:23:19 +02:00
2018-09-16 15:33:50 -07:00