From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751839AbdKHRT0 (ORCPT ); Wed, 8 Nov 2017 12:19:26 -0500 Received: from mail.savoirfairelinux.com ([208.88.110.44]:50328 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751304AbdKHRTZ (ORCPT ); Wed, 8 Nov 2017 12:19:25 -0500 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 0/6] net: dsa: simplify switchdev prepare phase Date: Wed, 8 Nov 2017 12:19:11 -0500 Message-Id: <20171108171917.5965-1-vivien.didelot@savoirfairelinux.com> X-Mailer: git-send-email 2.15.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series brings no functional changes. It removes the unused switchdev_trans arguments from the dsa_switch_ops for both MDB and VLAN operations, and provides function to prepare and add these objects for a given bitmap of ports. Vivien Didelot (6): net: dsa: remove trans argument from mdb ops net: dsa: return after mdb prepare phase net: dsa: add switch mdb bitmap functions net: dsa: remove trans argument from vlan ops net: dsa: return after vlan prepare phase net: dsa: add switch vlan bitmap functions drivers/net/dsa/b53/b53_common.c | 6 +-- drivers/net/dsa/b53/b53_priv.h | 6 +-- drivers/net/dsa/dsa_loop.c | 9 ++-- drivers/net/dsa/lan9303-core.c | 6 +-- drivers/net/dsa/microchip/ksz_common.c | 12 ++--- drivers/net/dsa/mv88e6xxx/chip.c | 12 ++--- include/net/dsa.h | 20 +++----- net/dsa/switch.c | 93 ++++++++++++++++++++++++---------- 8 files changed, 93 insertions(+), 71 deletions(-) -- 2.15.0