From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754258AbbG2WfX (ORCPT ); Wed, 29 Jul 2015 18:35:23 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:33295 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751246AbbG2WfW (ORCPT ); Wed, 29 Jul 2015 18:35:22 -0400 From: Florian Fainelli To: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Florian Fainelli , vivien.didelot@savoirfairelinux.com, jerome.oufella@savoirfairelinux.com, linux@roeck-us.net, andrew@lunn.ch, cphealy@gmail.com, mathieu@codeaurora.org, jonasj76@gmail.com, andrey.volkov@nexvision.fr, Chris.Packham@alliedtelesis.co.nz Subject: [PATCH net-next 0/3] net: Switch tag HW extraction/insertion Date: Wed, 29 Jul 2015 15:32:37 -0700 Message-Id: <1438209160-6898-1-git-send-email-f.fainelli@gmail.com> X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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