Linux/linux bd5122cdrivers/net/ethernet/mellanox/mlx4 en_ethtool.c

net/mlx4_core: Correctly set PFC param if global pause is turned off.

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 <tarick at google.com>
Reviewed-by: Eran Ben Elisha <eranbe at mellanox.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
DeltaFile
+2-2drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
+2-21 files

UnifiedSplitRaw