Thread (12 messages) flat view 12 messages, 3 authors, 2016-02-23

Re: [PATCH V2 net-next 2/3] lan78xx: add ethtool set & get pause functions

From: Ben Hutchings <hidden>
Date: 2016-02-22 20:05:35

On Mon, 2016-02-22 at 14:10 -0500, David Miller wrote:
From: <Woojung.Huh@microchip.com>
Date: Mon, 22 Feb 2016 18:28:18 +0000
quoted
quoted
This is incorrect; you should always return the manual settings
(fc_request_control flags) here.  If autonegotiation is enabled then
your get_settings function will return the actual pause flags.
What do you mean "return actual pause flags" when autoneg is enabled?
Pause flags set by (or default) advertise flag?
It means what was negotiated by autonegotiation, and is actually in use.

Otherwise, how can the user find out what was negotiated?
Well, actually we don't *directly* report the autonegotiation flow
control mode at present.  We report which pause flags were advertised
and what the link partner advertised, from which you can work it out.

Perhaps ethtool (the utility) should explicitly show what the result
is.

Ben.

-- 
Ben Hutchings
The generation of random numbers is too important to be left to chance.
                                                            - Robert Coveyou

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help