Re: [PATCH net 2/3] mlxsw: spectrum: Do not override PAUSE settings

2016-08-08 Thread Jiri Pirko
Thu, Aug 04, 2016 at 04:36:21PM CEST, ido...@mellanox.com wrote: >The PFCC register is used to configure both PAUSE and PFC frames. >Therefore, when PFC frames are disabled we must make sure we don't >mistakenly also disable PAUSE frames (which might be enabled). > >Fix this by packing the PFCC reg

[PATCH net 2/3] mlxsw: spectrum: Do not override PAUSE settings

2016-08-04 Thread Ido Schimmel
The PFCC register is used to configure both PAUSE and PFC frames. Therefore, when PFC frames are disabled we must make sure we don't mistakenly also disable PAUSE frames (which might be enabled). Fix this by packing the PFCC register with the current PAUSE settings. Note that this register is als