netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernel@savoirfairelinux.com,
	"David S. Miller" <davem@davemloft.net>,
	Patrick Uiterwijk <patrick@puiterwijk.org>,
	Guenter Roeck <linux@roeck-us.net>
Subject: Re: [PATCH net-next 2/7] net: dsa: mv88e6xxx: 6185 has only 256 FDBs
Date: Sun, 27 Mar 2016 04:52:25 +0200	[thread overview]
Message-ID: <20160327025225.GA15402@lunn.ch> (raw)
In-Reply-To: <1459043983-12088-3-git-send-email-vivien.didelot@savoirfairelinux.com>

On Sat, Mar 26, 2016 at 09:59:38PM -0400, Vivien Didelot wrote:
> The 6185 family has only 256 indexable address databases, while the
> others (such as 6352) have 4095. Explicit and use these maximum values
> in the _mv88e6xxx_fid_new function.

Hi Vivien

I've been looking at the Marvell reference code, in particular, the
function gfdbGetAtuAllCount().

The following device have 16 databases.

( DEV_88E6021 | DEV_88E6060 | DEV_88E6063 |     \
  DEV_FH_VPN |  DEV_88E6083 |  DEV_88E6183 | DEV_88E6093 | DEV_88E6061 )

The following device have 64 databases.
( DEV_88E6065 )

The following devices have 256 databases
( DEV_88E6095_FAMILY | DEV_88E6185_FAMILY )

And the following devices have 4096
( DEV_88E6097_FAMILY | DEV_88E6165_FAMILY | DEV_88E6\
  351_FAMILY| DEV_88E6352_FAMILY )

  Andrew

  reply	other threads:[~2016-03-27  2:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-27  1:59 [PATCH net-next 0/7] net: dsa: mv88e6xxx: HW bridging support for 6185 Vivien Didelot
2016-03-27  1:59 ` [PATCH net-next 1/7] net: dsa: mv88e6xxx: 6185 port default FID is 8-bit Vivien Didelot
2016-03-27  1:59 ` [PATCH net-next 2/7] net: dsa: mv88e6xxx: 6185 has only 256 FDBs Vivien Didelot
2016-03-27  2:52   ` Andrew Lunn [this message]
2016-03-27  1:59 ` [PATCH net-next 3/7] net: dsa: mv88e6xxx: write FID in ATU command Vivien Didelot
2016-03-27  1:59 ` [PATCH net-next 4/7] net: dsa: mv88e6xxx: fix ATU FID access for 6185 Vivien Didelot
2016-03-27  3:04   ` Andrew Lunn
2016-03-27  1:59 ` [PATCH net-next 5/7] net: dsa: mv88e6xxx: fix VTU " Vivien Didelot
2016-03-27  1:59 ` [PATCH net-next 6/7] net: dsa: mv88e6xxx: map destination addresses " Vivien Didelot
2016-03-27  1:59 ` [PATCH net-next 7/7] net: dsa: mv88e6131: enable hardware bridging Vivien Didelot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160327025225.GA15402@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=kernel@savoirfairelinux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=netdev@vger.kernel.org \
    --cc=patrick@puiterwijk.org \
    --cc=vivien.didelot@savoirfairelinux.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).