Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751285AbdFAUJ2 (ORCPT ); Thu, 1 Jun 2017 16:09:28 -0400 Received: from mail.savoirfairelinux.com ([208.88.110.44]:52818 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751120AbdFAUJ0 (ORCPT ); Thu, 1 Jun 2017 16:09:26 -0400 From: Vivien Didelot To: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Florian Fainelli , Andrew Lunn , Vivien Didelot Subject: [PATCH net-next v3 0/5] net: dsa: tagger simplification Date: Thu, 1 Jun 2017 16:07:10 -0400 Message-Id: <20170601200715.8438-1-vivien.didelot@savoirfairelinux.com> X-Mailer: git-send-email 2.13.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1242 Lines: 38 This series clarifies the hot path, removes the labels in tagging implementations, and frees the original SKB in the xmit caller. Changes in v3: - drop removal of usused rcv arguments because they will be used later - include the new ksz tagging implementation - add reviewers' tags Changes in v2: - do not remove tagger function copies - document hot path requirements - make netdev_uses_dsa simpler - add reviewers' tags Vivien Didelot (5): net: dsa: comment hot path requirements net: dsa: do not cast dst net: dsa: remove dsa_uses_tagged_protocol net: dsa: remove out_drop label in taggers rcv net: dsa: factor skb freeing on xmit include/net/dsa.h | 11 ++++------- net/dsa/dsa2.c | 2 +- net/dsa/dsa_priv.h | 1 + net/dsa/legacy.c | 2 +- net/dsa/slave.c | 8 ++++++-- net/dsa/tag_brcm.c | 17 +++++------------ net/dsa/tag_dsa.c | 21 +++++++-------------- net/dsa/tag_edsa.c | 21 +++++++-------------- net/dsa/tag_ksz.c | 4 +--- net/dsa/tag_lan9303.c | 5 +---- net/dsa/tag_mtk.c | 15 ++++----------- net/dsa/tag_qca.c | 17 +++++------------ net/dsa/tag_trailer.c | 13 ++++--------- 13 files changed, 47 insertions(+), 90 deletions(-) -- 2.13.0