commit | bd5122cd1e0644d8bd8dd84517c932773e999766 | [log] [tgz] |
---|---|---|
author | Tarick Bedeir <tarick@google.com> | Fri Dec 07 00:30:26 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Dec 08 21:26:36 2018 -0800 |
tree | 1b58c9940ecb302f7505405453a1db7ea2b6a2f7 | |
parent | 5b3279e2cba2238b37f6c18adfdea8bddb32715a [diff] |
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@google.com> Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>