Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1661625
| From | Andrew Lunn <andrew@lunn.ch> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next 5/7] net: dsa: mv88e6xxx: rework pause limit operation |
| Date | 2017-06-08 21:50 +0200 |
| Message-ID | <tQbBo-8th-21@gated-at.bofh.it> (permalink) |
| References | <tQaYF-8eD-3@gated-at.bofh.it> <tQaYF-8eD-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next 5/7] net: dsa: mv88e6xxx: rework pause limit operation Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-06-08 21:10 +0200 Re: [PATCH net-next 5/7] net: dsa: mv88e6xxx: rework pause limit operation Andrew Lunn <andrew@lunn.ch> - 2017-06-08 21:50 +0200
csiph-web