diff options
| author | Ido Schimmel <[email protected]> | 2016-08-04 17:36:20 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-08-08 12:57:27 -0700 |
| commit | b489a2000f19e414710d2887fe3e24e903242766 (patch) | |
| tree | a1599f790a985bfcdfdd26ee6cce9057a1eae588 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 3b3bf80b994f0c6c35a25ef8965ab956b4bcced5 (diff) | |
mlxsw: spectrum: Do not assume PAUSE frames are disabled
When ieee_setpfc() gets called, PAUSE frames are not necessarily
disabled on the port.
Check if PAUSE frames are disabled or enabled and configure the port's
headroom buffer accordingly.
Fixes: d81a6bdb87ce ("mlxsw: spectrum: Add IEEE 802.1Qbb PFC support")
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions