summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorHuy Nguyen <huyn@mellanox.com>2019-09-06 09:28:46 -0500
committerSaeed Mahameed <saeedm@mellanox.com>2019-12-05 13:02:11 -0800
commit73e6551699a32fac703ceea09214d6580edcf2d5 (patch)
tree3999b0c342d781d9b77fd2fb18d1ac8d353670ad /security
parentc55d8b108caa2ec1ae8dddd02cb9d3a740f7c838 (diff)
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 'security')
0 files changed, 0 insertions, 0 deletions