Hi all, This patch series adds two new feature flags to allow Ethernet controllers capable of doing Ethernet switch proprietary tag insertion/extraction to benefit from that.
The last two patches modify the Broadcom tag parsing code in DSA to utilize that feature and finally, the SYSTEMPORT controller driver is updated to turn on that feature when requested. The ethtool patch will follow-up shortly as well. Insertion on transmit is still work in progress and requires more turning on how the SYSTEMPORT transmit queues are mapped to their respective switch ports and queues (there are 32 queues on SYSTEMPORT to output to a 4-port switch each port with 8 transmit queues). Florian Fainelli (3): net: add flags for HW assisted extraction/insertions of switch tags net: dsa: tag_brcm: Support extracting tags from HW net: systemport: Add support for switch tag HW extraction drivers/net/ethernet/broadcom/bcmsysport.c | 40 +++++++++++++++++++++++++++++- drivers/net/ethernet/broadcom/bcmsysport.h | 1 + include/linux/netdev_features.h | 4 +++ include/linux/netdevice.h | 13 ++++++++++ include/net/dsa.h | 5 ++++ include/uapi/linux/ethtool.h | 2 ++ net/core/ethtool.c | 16 ++++++++++-- net/dsa/tag_brcm.c | 38 +++++++++++++++++----------- 8 files changed, 101 insertions(+), 18 deletions(-) -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html