]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: dsa: qca8k: use dsa_port's bridge pointer
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 27 Jan 2017 20:29:43 +0000 (15:29 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Jan 2017 23:42:46 +0000 (18:42 -0500)
commit922754a48a4e4b87ee6f5bf80e7463a82e124ab8
tree6d590a15585c4aa10f2a365cfb8b569939c6b488
parentfae8a25e5b3b627f1ea005ffa663d067f4d5fe44
net: dsa: qca8k: use dsa_port's bridge pointer

Now that DSA exposes the bridge device pointer to which a port belongs,
use it when programming the port based VLANs and thus remove the cache.

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