Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754748AbcC0CAN (ORCPT ); Sat, 26 Mar 2016 22:00:13 -0400 Received: from mail.savoirfairelinux.com ([208.88.110.44]:51445 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754478AbcC0CAK (ORCPT ); Sat, 26 Mar 2016 22:00:10 -0400 From: Vivien Didelot To: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Andrew Lunn , Patrick Uiterwijk , Guenter Roeck , Vivien Didelot Subject: [PATCH net-next 0/7] net: dsa: mv88e6xxx: HW bridging support for 6185 Date: Sat, 26 Mar 2016 21:59:36 -0400 Message-Id: <1459043983-12088-1-git-send-email-vivien.didelot@savoirfairelinux.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1255 Lines: 29 All packets passing through a switch of the 6185 family are currently all directed to the CPU port. This means that port bridging is software driven. To enable hardware bridging for this switch family, we need to implement the port mapping operations, the FDB operations, and optionally the VLAN operations (for 802.1Q and VLAN filtering aware systems). However this family only has 256 FDBs indexed by 8-bit identifiers, opposed to 4096 FDBs with 12-bit identifiers for other families such as 6352. It also doesn't have dedicated FID registers for ATU and VTU operations. This patchset fixes these differences, and enable hardware bridging for 6185. Vivien Didelot (7): net: dsa: mv88e6xxx: 6185 port default FID is 8-bit net: dsa: mv88e6xxx: 6185 has only 256 FDBs net: dsa: mv88e6xxx: write FID in ATU command net: dsa: mv88e6xxx: fix ATU FID access for 6185 net: dsa: mv88e6xxx: fix VTU FID access for 6185 net: dsa: mv88e6xxx: map destination addresses for 6185 net: dsa: mv88e6131: enable hardware bridging drivers/net/dsa/mv88e6131.c | 11 ++++++ drivers/net/dsa/mv88e6xxx.c | 84 ++++++++++++++++++++++++++++++++------------- drivers/net/dsa/mv88e6xxx.h | 7 ++-- 3 files changed, 76 insertions(+), 26 deletions(-) -- 2.7.4