diff options
| author | Vivien Didelot <[email protected]> | 2017-10-13 18:18:05 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-15 01:30:06 +0000 |
| commit | 04a69a17597c1366d764926577745dca4aa6b100 (patch) | |
| tree | c52d839988bdc854add2a8601e6432f7a6611208 /drivers/net/dsa/dsa_loop.c | |
| parent | atm: fore200e: mark expected switch fall-throughs (diff) | |
| download | kernel-04a69a17597c1366d764926577745dca4aa6b100.tar.gz kernel-04a69a17597c1366d764926577745dca4aa6b100.zip | |
net: dsa: mv88e6xxx: setup random mac address
An Ethernet switch may support having a MAC address, which can be used
as the switch's source address in transmitted full-duplex Pause frames.
If a DSA switch supports the related .set_addr operation, the DSA core
sets the master's MAC address on the switch. This won't make sense
anymore in a multi-CPU ports system, because there won't be a unique
master device assigned to a switch tree.
Instead, setup the switch from within the Marvell driver with a random
MAC address, and remove the .set_addr implementation.
Signed-off-by: Vivien Didelot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
