lkml.org 
[lkml]   [2015]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next 0/3] net: Switch tag HW extraction/insertion
Date
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



\
 
 \ /
  Last update: 2015-07-30 07:21    [W:0.155 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site