diff options
| author | 2019-03-01 11:52:12 +0100 | |
|---|---|---|
| committer | 2019-03-01 23:23:34 -0800 | |
| commit | f17e70d2586a81d69d7b011e81af0456fe65d658 (patch) | |
| tree | 6e07acc5cfc9a7c2ebd4cd5fa0132de9883a9372 /drivers/net/xen-netback/interface.c | |
| parent | net: mvpp2: always disable both MACs when disabling a port (diff) | |
| download | wireguard-linux-f17e70d2586a81d69d7b011e81af0456fe65d658.tar.xz wireguard-linux-f17e70d2586a81d69d7b011e81af0456fe65d658.zip | |
net: mvpp2: only update the XLG configuration when needed
This patch improves the XLG configuration function, to only update the
XLG configuration register when a change is needed. This helps not
writing over and over the same XLG configuration each time phylink
request the MAC to be configured. This mimics the GMAC configuration
function.
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
