summaryrefslogtreecommitdiff
path: root/drivers/message
diff options
context:
space:
mode:
authorHuy Nguyen <huyn@mellanox.com>2019-09-06 17:28:46 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-12-06 00:02:11 +0300
commit73e6551699a32fac703ceea09214d6580edcf2d5 (patch)
tree3999b0c342d781d9b77fd2fb18d1ac8d353670ad /drivers/message
parentc55d8b108caa2ec1ae8dddd02cb9d3a740f7c838 (diff)
downloadlinux-73e6551699a32fac703ceea09214d6580edcf2d5.tar.xz
net/mlx5e: Query global pause state before setting prio2buffer
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: 0696d60853d5 ("net/mlx5e: Receive buffer configuration") Signed-off-by: Huy Nguyen <huyn@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions