Searched hist:a87ae8a963bde755b0962bcc18db83d611f63e7a (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/phy/ |
H A D | linkmode.c | a87ae8a963bde755b0962bcc18db83d611f63e7a Sat Feb 15 16:49:27 CET 2020 Russell King <rmk+kernel@armlinux.org.uk> net: add helpers to resolve negotiated flow control
Add a couple of helpers to resolve negotiated flow control. Two helpers are provided:
- linkmode_resolve_pause() which takes the link partner and local advertisements, and decodes whether we should enable TX or RX pause at the MAC. This is useful outside of phylib, e.g. in phylink. - phy_get_pause(), which returns the TX/RX enablement status for the current negotiation results of the PHY.
This allows us to centralise the flow control resolution, rather than spreading it around.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | Makefile | diff a87ae8a963bde755b0962bcc18db83d611f63e7a Sat Feb 15 16:49:27 CET 2020 Russell King <rmk+kernel@armlinux.org.uk> net: add helpers to resolve negotiated flow control
Add a couple of helpers to resolve negotiated flow control. Two helpers are provided:
- linkmode_resolve_pause() which takes the link partner and local advertisements, and decodes whether we should enable TX or RX pause at the MAC. This is useful outside of phylib, e.g. in phylink. - phy_get_pause(), which returns the TX/RX enablement status for the current negotiation results of the PHY.
This allows us to centralise the flow control resolution, rather than spreading it around.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | phy_device.c | diff a87ae8a963bde755b0962bcc18db83d611f63e7a Sat Feb 15 16:49:27 CET 2020 Russell King <rmk+kernel@armlinux.org.uk> net: add helpers to resolve negotiated flow control
Add a couple of helpers to resolve negotiated flow control. Two helpers are provided:
- linkmode_resolve_pause() which takes the link partner and local advertisements, and decodes whether we should enable TX or RX pause at the MAC. This is useful outside of phylib, e.g. in phylink. - phy_get_pause(), which returns the TX/RX enablement status for the current negotiation results of the PHY.
This allows us to centralise the flow control resolution, rather than spreading it around.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/include/linux/ |
H A D | linkmode.h | diff a87ae8a963bde755b0962bcc18db83d611f63e7a Sat Feb 15 16:49:27 CET 2020 Russell King <rmk+kernel@armlinux.org.uk> net: add helpers to resolve negotiated flow control
Add a couple of helpers to resolve negotiated flow control. Two helpers are provided:
- linkmode_resolve_pause() which takes the link partner and local advertisements, and decodes whether we should enable TX or RX pause at the MAC. This is useful outside of phylib, e.g. in phylink. - phy_get_pause(), which returns the TX/RX enablement status for the current negotiation results of the PHY.
This allows us to centralise the flow control resolution, rather than spreading it around.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | phy.h | diff a87ae8a963bde755b0962bcc18db83d611f63e7a Sat Feb 15 16:49:27 CET 2020 Russell King <rmk+kernel@armlinux.org.uk> net: add helpers to resolve negotiated flow control
Add a couple of helpers to resolve negotiated flow control. Two helpers are provided:
- linkmode_resolve_pause() which takes the link partner and local advertisements, and decodes whether we should enable TX or RX pause at the MAC. This is useful outside of phylib, e.g. in phylink. - phy_get_pause(), which returns the TX/RX enablement status for the current negotiation results of the PHY.
This allows us to centralise the flow control resolution, rather than spreading it around.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|