Subject: Re: tg3: regression of netdev stats

From: "Nithin Nayak Sujir" <[email-masked]>
Date: Sat, 2 Mar 2013 10:56:06 -0800

On 3/1/2013 10:20 PM, OGAWA Hirofumi wrote:
> OGAWA Hirofumi <[email-masked]> writes:
>
>> zero). But, e.g. ping/nfs itself works fine.
>>
>> BTW, chip is
>>
>> 02:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM57788 Gigabit Ethernet PCIe [14e4:1691] (rev 01)
>>
>> tg3 0000:02:00.0 eth0: Tigon3 [partno(BCM57788) rev 57780001] (PCI Express) MAC address d4:be:d9:a6:a3:3b
>> tg3 0000:02:00.0 eth0: attached PHY driver [Broadcom BCM57780] (mii_bus:phy_addr=200:01)
>
> With some read, this chip seems to be using PHYLIB, and PHYLIB modify
> carrier state, so ->link_up confuses with it?
>

Yes, this may be relevant. I'll investigate further with this device.

> Thanks.