linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] net: Switch tag HW extraction/insertion
@ 2015-07-29 22:32 Florian Fainelli
  2015-07-29 22:32 ` [PATCH net-next 1/3] net: add flags for HW assisted extraction/insertions of switch tags Florian Fainelli
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Florian Fainelli @ 2015-07-29 22:32 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, Florian Fainelli, vivien.didelot, jerome.oufella,
	linux, andrew, cphealy, mathieu, jonasj76, andrey.volkov,
	Chris.Packham

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-07-31 22:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-29 22:32 [PATCH net-next 0/3] net: Switch tag HW extraction/insertion Florian Fainelli
2015-07-29 22:32 ` [PATCH net-next 1/3] net: add flags for HW assisted extraction/insertions of switch tags Florian Fainelli
2015-07-29 22:32 ` [PATCH net-next 2/3] net: dsa: tag_brcm: Support extracting tags from HW Florian Fainelli
2015-07-29 22:32 ` [PATCH net-next 3/3] net: systemport: Add support for switch tag HW extraction Florian Fainelli
2015-07-30 21:19 ` [PATCH net-next 0/3] net: Switch tag HW extraction/insertion David Miller
2015-07-30 22:51   ` David Miller
2015-07-30 23:18     ` Florian Fainelli
2015-07-31  1:51     ` Florian Fainelli
2015-07-31  4:24       ` Chris Packham
2015-07-31  6:08       ` Eric Dumazet
2015-07-31 17:05         ` Florian Fainelli
2015-07-31 22:24       ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).