[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#561843: ethtool/mii-tool report incorrect/missing values on Marvell 88E1011



On Sun, 2009-12-20 at 17:27 +0100, Kurt Roeckx wrote:
> Source: linux-2.6
> Version: 2.6.32-2
> 
> Hi,
> 
> I get this:
> # ethtool eth0 |grep -i pause
>         Advertised pause frame use: No
>         Link partner advertised pause frame use: No
> # ethtool -a eth0
> Pause parameters for eth0:
> Autonegotiate:  on
> RX:             on
> TX:             on
> 
> Those seem to conflict with each other.  I assume this is a kernel
> bug.

Driver bug.  A lot of drivers do not report specific pause frame
auto-negotiation flags.

> It also reports:
>         Link partner advertised link modes:  Not reported
> 
> It would be nice that it could report it and that atleast seems
> to be supported with other cards.  As I understand this, this
> should be supported since a 2.6.31 kernel.

It depends on the driver.  I provided patches for the generic MII code
but many drivers do not use that and do not yet provide any information
about link partner advertising.

> It also ways:
>         Link partner advertised auto-negotiation: No
>         Auto-negotiation: on
> 
> Those also seem to conflict and it really should advertise it.
[...]

No, "Auto-negotiation: on" does not mean auto-negotiation was
successful.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: