Commit 5765610c authored by Committed by Greg Kroah-Hartman
net/mlx4_core: Correctly set PFC param if global pause is turned off.
[ Upstream commit bd5122cd1e0644d8bd8dd84517c932773e999766 ] rx_ppp and tx_ppp can be set between 0 and 255, so don't clamp to 1. Fixes: 6e8814ceb7e8 ("net/mlx4_en: Fix mixed PFC and Global pause user control requests") Signed-off-by: Tarick Bedeir <email@example.com> Reviewed-by: Eran Ben Elisha <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com> Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
Showing with 2 additions and 2 deletions