Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1515364

Re: [PATCH net-next v2 00/11] net: dsa: mv88e6xxx: refine port operations

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next v2 00/11] net: dsa: mv88e6xxx: refine port operations
Date 2016-11-04 19:50 +0100
Message-ID <szRIR-5sV-1@gated-at.bofh.it> (permalink)
References <szCqt-3Sx-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Date: Fri,  4 Nov 2016 03:23:25 +0100

> The Marvell chips have one internal SMI device per port, containing a
> set of registers used to configure a port's link, STP state, default
> VLAN or addresses database, etc.
> 
> This patchset creates port files to implement the port operations as
> described in datasheets, and extend the chip ops structure with them.
> 
> Patches 1 to 6 implement accessors for port's STP state, port based VLAN
> map, default FID, default VID, and 802.1Q mode.
> 
> Patches 7 to 11 implement the port's MAC setup of link state, duplex
> mode, RGMII delay and speed, all accessed through port's register 0x01.
> 
> The new port's MAC setup code is used to re-implement the adjust_link
> code and correctly force the link down before changing any of the MAC
> settings, as requested by the datasheets.
> 
> The port's MAC accessors use values compatible with struct phy_device
> (e.g. DUPLEX_FULL) and extend them when needed (e.g. SPEED_MAX).
> 
> Changes in v2:
> 
>   - Strictly use new _UNFORCED values instead of re-using _UNKNOWN ones.

Series applied, thanks Vivien.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH net-next v2 00/11] net: dsa: mv88e6xxx: refine port operations Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-11-04 03:30 +0100
  [PATCH net-next v2 06/11] net: dsa: mv88e6xxx: add port 802.1Q mode setter Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-11-04 03:30 +0100
  [PATCH net-next v2 01/11] net: dsa: mv88e6xxx: add port files Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-11-04 03:30 +0100
  [PATCH net-next v2 09/11] net: dsa: mv88e6xxx: add port's RGMII delay setter Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-11-04 03:30 +0100
  [PATCH net-next v2 08/11] net: dsa: mv88e6xxx: add port duplex setter Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-11-04 03:30 +0100
  [PATCH net-next v2 07/11] net: dsa: mv88e6xxx: add port link setter Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-11-04 03:30 +0100
    Re: [PATCH net-next v2 07/11] net: dsa: mv88e6xxx: add port link  setter Andrew Lunn <andrew@lunn.ch> - 2016-11-04 10:40 +0100
  [PATCH net-next v2 10/11] net: dsa: mv88e6xxx: add port's MAC speed setter Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-11-04 03:30 +0100
  [PATCH net-next v2 02/11] net: dsa: mv88e6xxx: add port state setter Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-11-04 03:30 +0100
  [PATCH net-next v2 11/11] net: dsa: mv88e6xxx: setup port's MAC Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-11-04 03:30 +0100
  [PATCH net-next v2 05/11] net: dsa: mv88e6xxx: add port PVID accessors Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-11-04 03:30 +0100
  [PATCH net-next v2 04/11] net: dsa: mv88e6xxx: add port FID accessors Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-11-04 03:30 +0100
  [PATCH net-next v2 03/11] net: dsa: mv88e6xxx: add port vlan map setter Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-11-04 03:30 +0100
  Re: [PATCH net-next v2 00/11] net: dsa: mv88e6xxx: refine port  operations Andrew Lunn <andrew@lunn.ch> - 2016-11-04 10:40 +0100
  Re: [PATCH net-next v2 00/11] net: dsa: mv88e6xxx: refine port  operations David Miller <davem@davemloft.net> - 2016-11-04 19:50 +0100

csiph-web