Thread (7 messages) flat view 7 messages, 2 authors, 2016-08-08

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

From: Jiri Pirko <jiri@resnulli.us>
Date: 2016-08-08 16:29:37

Thu, Aug 04, 2016 at 04:36:21PM CEST, idosch@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 register with the current PAUSE settings.

Note that this register is also accessed via ethtool ops, but there we
are guaranteed to have PFC disabled.

Fixes: d81a6bdb87ce ("mlxsw: spectrum: Add IEEE 802.1Qbb PFC support")
Signed-off-by: Ido Schimmel <redacted>
Reviewed-by: Jiri Pirko <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help