Re: [PATCH net 1/3] mlxsw: spectrum: Do not assume PAUSE frames are disabled

2016-08-08 Thread Jiri Pirko
Thu, Aug 04, 2016 at 04:36:20PM CEST, ido...@mellanox.com wrote: >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:

[PATCH net 1/3] mlxsw: spectrum: Do not assume PAUSE frames are disabled

2016-08-04 Thread Ido Schimmel
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 --- drive