Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753836AbdCIXfJ (ORCPT ); Thu, 9 Mar 2017 18:35:09 -0500 Received: from mail.savoirfairelinux.com ([208.88.110.44]:58800 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751013AbdCIXfG (ORCPT ); Thu, 9 Mar 2017 18:35:06 -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 00/14] net: dsa: mv88e6xxx: rework ATU support Date: Thu, 9 Mar 2017 18:33:10 -0500 Message-Id: <20170309233324.18539-1-vivien.didelot@savoirfairelinux.com> X-Mailer: git-send-email 2.12.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1903 Lines: 43 The purpose of this patch series is to rework the code related to the Address Translation Unit (ATU), and bring support for it to the 88E6390 family of switch chips. All Global (1) ATU related code have been reworked and moved to its own file. Some port related bits used for ATU configuration (such as the Learn2All and MessagePort feature) have also been taken care of. The ports' mode and egress flooding mode have been refactored to fix the egress of frames with unknown unicast or multicast destination address, and write all these bits regardless the port mode (Normal, DSA, etc.) Finally remove the eth_addr_greater which was only used by mv88e6xxx. Vivien Didelot (14): net: dsa: mv88e6xxx: add port mask helper net: dsa: mv88e6xxx: move ATU ageing time setter net: dsa: mv88e6xxx: setup ATU Learn2All net: dsa: mv88e6xxx: rework ATU Load/Purge net: dsa: mv88e6xxx: rework ATU GetNext net: dsa: mv88e6xxx: rework ATU Flush net: dsa: mv88e6xxx: rework ATU Remove net: dsa: mv88e6xxx: rename new FID helper net: dsa: mv88e6xxx: rename the port vector member net: dsa: mv88e6xxx: rework port mode setup net: dsa: mv88e6xxx: fix port egress flooding mode net: dsa: mv88e6xxx: add port ATU learn limit op net: dsa: mv88e6xxx: add port priority override op etherdevice: remove unused eth_addr_greater drivers/net/dsa/mv88e6xxx/Makefile | 1 + drivers/net/dsa/mv88e6xxx/chip.c | 670 +++++++++++--------------------- drivers/net/dsa/mv88e6xxx/global1.h | 11 + drivers/net/dsa/mv88e6xxx/global1_atu.c | 300 ++++++++++++++ drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | 31 +- drivers/net/dsa/mv88e6xxx/port.c | 78 +++- drivers/net/dsa/mv88e6xxx/port.h | 16 +- include/linux/etherdevice.h | 15 - 8 files changed, 632 insertions(+), 490 deletions(-) create mode 100644 drivers/net/dsa/mv88e6xxx/global1_atu.c -- 2.12.0