Files
linux/drivers
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-12-13 08:52:44 +01:00
2019-05-14 19:17:53 +02:00
2019-12-17 20:34:42 +01:00
2019-12-05 09:21:29 +01:00
2019-07-26 09:14:05 +02:00
2018-12-21 14:15:17 +01:00
2019-12-13 08:52:48 +01:00
2018-11-13 11:08:51 -08:00
2019-12-17 20:35:17 +01:00