Thread (17 messages) 17 messages, 2 authors, 7h ago

Re: [PATCH net-next v7 3/7] r8169: add support for phylink

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-07-23 01:04:47
Also in: lkml

+	if (jumbo_before != jumbo_after) {
+		unsigned long caps = tp->phylink_config.mac_capabilities;
+
+		if (jumbo_after)
+			caps &= ~(MAC_SYM_PAUSE | MAC_ASYM_PAUSE);
+		else
+			caps |= (MAC_SYM_PAUSE | MAC_ASYM_PAUSE);
+
+		phylink_update_mac_pause_capabilities(tp->phylink, caps);
The name suggests it only changes pause. So i would expect the caps
parameter passed here to only cover MAC_SYM_PAUSE & MAC_ASYM_PAUSE. So
i don't see a need to look at tp->phylink_config.mac_capabilities.

	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help