Received: by 10.223.164.221 with SMTP id h29csp1882665wrb; Thu, 2 Nov 2017 02:23:16 -0700 (PDT) X-Google-Smtp-Source: ABhQp+R+uUS6rONDP/4G1kV4FMbC2LW9mFXSKNyGFbTNG3hvGlvH/j1dVta9CkXdOHro0xQeDc9i X-Received: by 10.84.234.9 with SMTP id m9mr161574plk.3.1509614596435; Thu, 02 Nov 2017 02:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509614596; cv=none; d=google.com; s=arc-20160816; b=BskgNsvABRUFqgM/LgJZLv08y1kb21nSasq31L8TfbImpSNINDTYqh6jSPtmPzoEu/ /mTcRbHp51lYAOLk9wuaV0sR4MU1vTFfW/U47yN46q9gbe05p+Vo26RDaWk1H+lRiXTU uHdgqkXpcAAZ8GdSZJFotOe1VNBpwd/4SlfkBxOyRhfg/YRDo22oFVKxyTYh6y/lG8pe 71dVNdr3Z8XqnRfh+xBo5qJzGhYloQgu/3dll7+GmXrgv8zYsvddp3aYIz9z7bpzf5E/ hbPkDWtLUd3IMTf+AA0+IohaMxAcQHg0CpUAveAnIGGIFsR3eA4Ub4DNx5MaK6qfRAcE csjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=zSeEVSJXAO+es+0AYx3960ZGMapyIiy4aXNQm4ZgRP0=; b=FYMtJSWe48USW0QXA3e/5BoMPHjkkBSlD3M39piBBkbde4Py7McO31V0mZWhE3tEAl xqCVpkwncvVa3vrWplc7mIr3xIevwLhlrGUPMepUN1rOPehNSJf5453g4DKxLF8Iwgzu 9xrG3941lu8FB+ANdUDGK20ySai7hqcEvKNyD0+9xRF80989zKiB70L6uVzI6NkgnfOD xb25OwK9PTwtHISu263+S5ejCcg2/a7mgRxpvffmobnvAMBZw1wHY8mwL7Yq0JbOJ8I1 +wlncm65GKcd1MbmcOV5EFCnU+wlDD62uLb9xFEV37h7PrZPrOU6yM8U8LnIX1SWJsTp uhuQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34si1833517plz.777.2017.11.02.02.23.02; Thu, 02 Nov 2017 02:23:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933008AbdKBJVb (ORCPT + 99 others); Thu, 2 Nov 2017 05:21:31 -0400 Received: from aibo.runbox.com ([91.220.196.211]:44614 "EHLO aibo.runbox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752614AbdKBJV3 (ORCPT ); Thu, 2 Nov 2017 05:21:29 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1eABgj-0001Nc-02; Thu, 02 Nov 2017 10:21:25 +0100 Received: from 93.89.113.32.ip.vitnett.no ([93.89.113.32] helo=localhost.localdomain) by mailfront10.runbox.com with esmtpsa (uid:646232 ) (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1eABgW-0007US-PE; Thu, 02 Nov 2017 10:21:12 +0100 From: Egil Hjelmeland To: andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Egil Hjelmeland Subject: [PATCH net-next] net: dsa: lan9303: Added Documentation/networking/dsa/lan9303.txt Date: Thu, 2 Nov 2017 10:20:58 +0100 Message-Id: <20171102092058.3782-1-privat@egil-hjelmeland.no> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Egil Hjelmeland Provide a rough overview of the state of the driver. And explain that the driver operates in two modes: bridged and port-separated. Signed-off-by: Egil Hjelmeland --- Documentation/networking/dsa/lan9303.txt | 37 ++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/networking/dsa/lan9303.txt diff --git a/Documentation/networking/dsa/lan9303.txt b/Documentation/networking/dsa/lan9303.txt new file mode 100644 index 000000000000..ec28683d107d --- /dev/null +++ b/Documentation/networking/dsa/lan9303.txt @@ -0,0 +1,37 @@ +LAN9303 Ethernet switch driver +============================== + +The LAN9303 is a three port 10/100 ethernet switch with integrated phys for the +two external ethernet ports. The third port is an RMII/MII interface to a host +master network interface (e.g. fixed link). + + +Driver details +============== + +The driver is implemented as a DSA driver, see +Documentation/networking/dsa/dsa.txt. + +See Documentation/devicetree/bindings/net/dsa/lan9303.txt for device tree +binding. + +The LAN9303 can be managed both via MDIO and I2C, both supported by this driver. + +At startup the driver configures the device to provide two separate network +interfaces (which is the default state of a DSA device). Due to HW limitations, +no HW MAC learning takes place in this mode. + +When both user ports are joined to the same bridge, the normal HW MAC learning +is enabled. This means that unicast traffic is forwarded in HW. Broadcast and +multicast is flooded in HW. STP is also supported in this mode. The driver +support fdb/mdb operations as well, meaning IGMP snooping is supported. + +If one of the user ports leave the bridge, the ports goes back to the initial +separated operation. + + +Driver limitations +================== + + - Support for VLAN filtering is not implemented + - The HW does not support VLAN-specific fdb entries -- 2.11.0 From 1582965064275486540@xxx Thu Nov 02 14:32:05 +0000 2017 X-GM-THRID: 1582957865865537158 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread