Huy Nguyen
c5fc25e6d7
net/mlx5e: Query global pause state before setting prio2buffer
...
[ Upstream commit 73e6551699a32fac703ceea09214d6580edcf2d5 ]
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-17 20:35:06 +01:00
2019-12-13 08:52:52 +01:00
2019-12-05 09:21:06 +01:00
2019-12-01 09:16:41 +01:00
2019-12-05 09:21:04 +01:00
2019-12-17 20:35:31 +01:00
2019-12-05 09:20:39 +01:00
2019-12-13 08:51:23 +01:00
2019-12-01 09:16:20 +01:00
2019-12-17 20:35:13 +01:00
2019-12-13 08:52:32 +01:00
2019-12-05 09:20:38 +01:00
2019-12-17 20:35:03 +01:00
2019-12-17 20:35:00 +01:00
2019-12-13 08:52:47 +01:00
2019-12-17 20:35:03 +01:00
2019-12-13 08:51:43 +01:00
2019-10-07 18:57:04 +02:00
2019-12-01 09:16:18 +01:00
2019-12-13 08:51:15 +01:00
2019-12-17 20:35:52 +01:00
2019-12-17 20:35:59 +01:00
2019-12-13 08:52:44 +01:00
2019-12-05 09:21:34 +01:00
2019-11-20 18:47:31 +01:00
2019-11-24 08:21:01 +01:00
2019-12-17 20:35:02 +01:00
2019-12-13 08:51:57 +01:00
2019-12-17 20:36:01 +01:00
2019-12-13 08:52:50 +01:00
2019-12-13 08:52:40 +01:00
2019-12-13 08:52:00 +01:00
2019-11-24 08:19:40 +01:00
2019-12-17 20:34:33 +01:00
2019-12-17 20:35:54 +01:00
2019-11-24 08:20:52 +01:00
2019-12-01 09:16:37 +01:00
2019-12-05 09:21:35 +01:00
2019-12-17 20:36:00 +01:00
2019-12-17 20:35:38 +01:00
2019-12-05 09:20:29 +01:00
2019-10-29 09:20:07 +01:00
2019-12-01 09:16:57 +01:00
2019-12-13 08:51:56 +01:00
2019-12-17 20:35:11 +01:00
2019-12-17 20:34:42 +01:00
2019-12-21 10:57:17 +01:00
2019-12-13 08:51:03 +01:00
2019-12-01 09:17:13 +01:00
2019-10-11 18:21:20 +02:00
2019-12-13 08:51:53 +01:00
2019-11-20 18:46:31 +01:00
2019-12-17 20:36:04 +01:00
2019-11-24 08:20:06 +01:00
2019-10-05 13:10:04 +02:00
2019-12-17 20:35:54 +01:00
2019-12-17 20:34:45 +01:00
2019-12-17 20:35:11 +01:00
2019-12-05 09:21:35 +01:00
2019-12-17 20:35:37 +01:00
2019-12-05 09:21:29 +01:00
2019-12-17 20:35:39 +01:00
2019-11-24 08:20:29 +01:00
2019-12-05 09:19:36 +01:00
2019-11-24 08:20:05 +01:00
2019-12-17 20:35:43 +01:00
2019-12-17 20:35:22 +01:00
2019-12-17 20:36:03 +01:00
2019-12-13 08:51:54 +01:00
2019-12-13 08:52:29 +01:00
2019-11-20 18:45:22 +01:00
2019-12-13 08:52:48 +01:00
2019-12-17 20:35:00 +01:00
2019-12-05 09:19:47 +01:00
2019-11-24 08:19:08 +01:00
2019-12-13 08:52:50 +01:00
2019-12-05 09:21:27 +01:00
2019-12-13 08:52:51 +01:00
2019-11-20 18:47:31 +01:00
2019-12-17 20:35:27 +01:00
2019-12-05 09:20:43 +01:00
2019-12-01 09:16:08 +01:00
2019-12-17 20:35:17 +01:00
2019-11-06 13:06:04 +01:00
2019-12-17 20:34:43 +01:00
2019-12-01 09:16:22 +01:00
2019-12-13 08:52:54 +01:00
2019-12-17 20:35:32 +01:00