Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1446671
| From | Andrew Lunn <andrew@lunn.ch> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next v3 11/12] net: dsa: mv88e6xxx: add G1 helper for ageing time |
| Date | 2016-07-19 21:00 +0200 |
| Message-ID | <rWIpk-7BQ-15@gated-at.bofh.it> (permalink) |
| References | <rWrot-5bF-3@gated-at.bofh.it> <rWrou-5bF-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jul 18, 2016 at 08:45:39PM -0400, Vivien Didelot wrote:
> All Marvell switch chips from (88E6060 to 88E6390) have a ATU Control
> register containing bits 11:4 to configure an ATU Age Time quotient.
>
> However the coefficient used to calculate the ATU Age Time vary with the
> models. E.g. 88E6060, 88E6352 and 88E6390 use respectively 16, 15 and
> 3.75 seconds.
>
> Add a age_time_coeff to the info structure to handle this and a Global 1
> helper to set the default age time of 5 minutes in the setup code.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH net-next v3 00/12] net: dsa: mv88e6xxx: Global2 cleanup and STP Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-07-19 02:50 +0200
[PATCH net-next v3 11/12] net: dsa: mv88e6xxx: add G1 helper for ageing time Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-07-19 02:50 +0200
Re: [PATCH net-next v3 11/12] net: dsa: mv88e6xxx: add G1 helper for ageing time Andrew Lunn <andrew@lunn.ch> - 2016-07-19 16:50 +0200
Re: [PATCH net-next v3 11/12] net: dsa: mv88e6xxx: add G1 helper for ageing time Andrew Lunn <andrew@lunn.ch> - 2016-07-19 16:50 +0200
Re: [PATCH net-next v3 11/12] net: dsa: mv88e6xxx: add G1 helper for ageing time Andrew Lunn <andrew@lunn.ch> - 2016-07-19 21:00 +0200
[PATCH net-next v3 03/12] net: dsa: mv88e6xxx: extract device mapping Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-07-19 02:50 +0200
Re: [PATCH net-next v3 03/12] net: dsa: mv88e6xxx: extract device mapping Andrew Lunn <andrew@lunn.ch> - 2016-07-19 04:50 +0200
[PATCH net-next v3 01/12] net: dsa: mv88e6xxx: remove basic function flags Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-07-19 02:50 +0200
Re: [PATCH net-next v3 00/12] net: dsa: mv88e6xxx: Global2 cleanup and STP David Miller <davem@davemloft.net> - 2016-07-20 04:50 +0200
csiph-web