linux-kernel.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>,
	Florian Fainelli <f.fainelli@gmail.com>
Subject: Re: [PATCH net-next 5/7] net: dsa: mv88e6xxx: rework pause limit operation
Date: Thu, 8 Jun 2017 21:40:54 +0200	[thread overview]
Message-ID: <20170608194054.GI20216@lunn.ch> (raw)
In-Reply-To: <20170608190445.24443-6-vivien.didelot@savoirfairelinux.com>

On Thu, Jun 08, 2017 at 03:04:43PM -0400, Vivien Didelot wrote:
> All Marvell chips supporting Pause frames limiting use 1-byte value for
> input and output.
> 
> Old chips have both bytes adjacent in a 16-bit register. New ones have
> an indirect table using 8-bit data.
> 
> The mv88e6xxx library functions (such as in port.c) must not contain
> driver logic, but only generic helpers. This patch changes the
> port_pause_config operation for port_pause_limit taking two u8 arguments
> for input and output limits. There is no functional changes.
> 
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

  reply	other threads:[~2017-06-08 19:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-08 19:04 [PATCH net-next 0/7] net: dsa: mv88e6xxx: ops cosmetics Vivien Didelot
2017-06-08 19:04 ` [PATCH net-next 1/7] net: dsa: mv88e6xxx: provide printing macros Vivien Didelot
2017-06-08 19:37   ` Andrew Lunn
2017-06-08 19:04 ` [PATCH net-next 2/7] net: dsa: mv88e6xxx: add egress mode enumeration Vivien Didelot
2017-06-08 19:38   ` Andrew Lunn
2017-06-08 19:04 ` [PATCH net-next 3/7] net: dsa: mv88e6xxx: use bridge state values Vivien Didelot
2017-06-08 19:04 ` [PATCH net-next 4/7] net: dsa: mv88e6xxx: do not prefix ops with g1 Vivien Didelot
2017-06-08 19:04 ` [PATCH net-next 5/7] net: dsa: mv88e6xxx: rework pause limit operation Vivien Didelot
2017-06-08 19:40   ` Andrew Lunn [this message]
2017-06-08 19:04 ` [PATCH net-next 6/7] net: dsa: mv88e6xxx: rework jumbo size operation Vivien Didelot
2017-06-08 19:42   ` Andrew Lunn
2017-06-08 19:04 ` [PATCH net-next 7/7] net: dsa: mv88e6xxx: prefix PHY macros Vivien Didelot
2017-06-08 19:43   ` 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=20170608194054.GI20216@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=kernel@savoirfairelinux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.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).