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>
Showing
- Documentation/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt 8 additions, 0 deletions...tion/devicetree/bindings/net/brcm,bcm7445-switch-v4.0.txt
- drivers/net/dsa/bcm_sf2.c 7 additions, 0 deletionsdrivers/net/dsa/bcm_sf2.c
- drivers/net/dsa/bcm_sf2.h 3 additions, 0 deletionsdrivers/net/dsa/bcm_sf2.h
Loading
Please register or sign in to comment