OSDN Git Service

net: dsa: assign a CPU port to DSA port
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Tue, 5 Dec 2017 20:34:12 +0000 (15:34 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 23:01:34 +0000 (18:01 -0500)
commit986d7ccf7e4ba2bc0c0929acfe54b6d41dec0805
tree16e38ec49bca917ddb7a494bdeb8a36ff16e4424
parent0ea54ddaaa88dd6c0702149c59f5c1964936128d
net: dsa: assign a CPU port to DSA port

DSA ports also need to have a dedicated CPU port assigned to them,
because they need to know where to egress frames targeting the CPU,
e.g. To_Cpu frames received on a Marvell Tag port.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa2.c