netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Jakub Kicinski <jakub.kicinski@netronome.com>
Cc: David Miller <davem@davemloft.net>,
	netdev <netdev@vger.kernel.org>,
	Vivien Didelot <vivien.didelot@gmail.com>,
	Florian Fainelli <f.fainelli@gmail.com>
Subject: Re: [PATCH net-next 0/2] mv88e6xxx: Allow config of ATU hash algorithm
Date: Fri, 4 Oct 2019 14:47:55 +0200	[thread overview]
Message-ID: <20191004124755.GA3817@lunn.ch> (raw)
In-Reply-To: <20191003191455.021156d2@cakuba.hsd1.ca.comcast.net>

On Thu, Oct 03, 2019 at 07:14:55PM -0700, Jakub Kicinski wrote:
> On Fri,  4 Oct 2019 03:35:21 +0200, Andrew Lunn wrote:
> > The Marvell switches allow the hash algorithm for MAC addresses in the
> > address translation unit to be configured. Add support to the DSA core
> > to allow DSA drivers to make use of devlink parameters, and allow the
> > ATU hash to be get/set via such a parameter.
> > 
> > Andrew Lunn (2):
> >   net: dsa: Add support for devlink device parameters
> >   net: dsa: mv88e6xxx: Add devlink param for ATU hash algorithm.
> > 
> >  drivers/net/dsa/mv88e6xxx/chip.c        | 136 +++++++++++++++++++++++-
> >  drivers/net/dsa/mv88e6xxx/chip.h        |   4 +
> >  drivers/net/dsa/mv88e6xxx/global1.h     |   3 +
> >  drivers/net/dsa/mv88e6xxx/global1_atu.c |  30 ++++++
> >  include/net/dsa.h                       |  23 ++++
> >  net/dsa/dsa.c                           |  48 +++++++++
> >  net/dsa/dsa2.c                          |   7 +-
> >  7 files changed, 249 insertions(+), 2 deletions(-)
> 
> We try to make sure devlink parameters are documented under
> Documentation/networking/devlink-params-$drv. Could you add 
> a simple doc for mv88e6xxx with a short description?

Jakub

Sure, no problem.

I don't know what the hash algorithms actually are, we have just
played around and found that in some settings, a different value
helps. So the documentation will be limited.

	Andrew

  reply	other threads:[~2019-10-04 12:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-04  1:35 [PATCH net-next 0/2] mv88e6xxx: Allow config of ATU hash algorithm Andrew Lunn
2019-10-04  1:35 ` [PATCH net-next 1/2] net: dsa: Add support for devlink device parameters Andrew Lunn
2019-10-04  1:35 ` [PATCH net-next 2/2] net: dsa: mv88e6xxx: Add devlink param for ATU hash algorithm Andrew Lunn
2019-10-04 14:47   ` Vivien Didelot
2019-10-04  2:14 ` [PATCH net-next 0/2] mv88e6xxx: Allow config of " Jakub Kicinski
2019-10-04 12:47   ` Andrew Lunn [this message]
2019-10-04  8:44 ` Vladimir Oltean
2019-10-04 13:00   ` Andrew Lunn

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=20191004124755.GA3817@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=jakub.kicinski@netronome.com \
    --cc=netdev@vger.kernel.org \
    --cc=vivien.didelot@gmail.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).