]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: dsa: bcm_sf2: Allow non-IMP ports to have Broadcom tags enabled
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 20 Jan 2017 20:36:32 +0000 (12:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jan 2017 21:58:31 +0000 (16:58 -0500)
commit64ff2aef91afdff7f22eaef05a65b5bc3429ef21
tree3f6a0d0259b80798d51a5aefcb2496e3ab95197c
parentebb2ac4f32c32364b6f522270aeb0811829bd3cb
net: dsa: bcm_sf2: Allow non-IMP ports to have Broadcom tags enabled

Parse the "brcm,use-bcm-hdr" boolean property during ports
identification to fill a bitmask of ports that should have Broadcom tags
enabled. This is needed in some configurations where per-packet metadata
can be exchanged using Broadcom tags between the switch and an on-chip
acceleration device.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/bcm_sf2.h