Re: E1000E/82567LM-3: link reported up too soon

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnaud Ebalard
Date: Saturday, September 18, 2010 - 7:14 am

Hi Brian and David,                         [removed Intel people from CC]

Brian Haley <brian.haley@hp.com> writes:


I definitely think the issue is not chipset-specific (keep reading) and
that it is not just a matter of few milliseconds. It also not
IPv6-specific. 

I spent some additional time on it in userspace. I implemented a
*workaround* in UMIP to allow configuration of a per-interface
additional delay before sending RS after a link up event. I initially
thought few milliseconds would be sufficient. It is not. Obviously, this
gets better when delay is increased but still.

I progressively increased the value until RS is no more dropped. Below,
UMIP is configured to send RS only *550ms* after the RTM_NEWLINK event
(indicating link is up and running event) is received and the packet is
still dropped locally. Note that the IPv4 DHCP Request below is sent as
soon as link gets up to show the time difference (RS is indeed sent
550ms later):

15:12:32.728429 ethertype IPv4 (0x0800), length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request
15:12:33.256201 ethertype IPv6 (0x86dd), length 62: :: > ff02::2: ICMP6, router solicitation, length 8
15:12:35.729668 ethertype IPv4 (0x0800), length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request
15:12:35.741238 ethertype IPv4 (0x0800), length 590: 192.168.0.254.67 > 192.168.0.16.68: BOOTP/DHCP, Reply

The switch is a 5 ports Planex gigabit switch connected to the 82567LM-3
on my Dell E4300 (negotiated 1000baseT-FD flow-control, link ok). Still
on a 2.6.35.4 kernel.

Then, I decided to test with a totally different kind of ethernet
interface. An USB2 Ethernet 10/100 dongle. Here is what lsusb reports
about it:

Bus 002 Device 003: ID 0411:003d MelCo., Inc. LUA-U2-KTX Ethernet

Below, UMIP is configured w/o any additional delay before RS emission on
that interface. No DHCP running either:

15:40:22.984311 ethertype IPv6 (0x86dd), length 62: :: > ff02::2: ICMP6, router solicitation, length 8
15:40:26.984845 ethertype IPv6 (0x86dd), length 62: :: > ff02::2: ICMP6, router solicitation, length 8
15:40:26.989264 ethertype IPv6 (0x86dd), length 158: fe80::224:d5ff:fed4:476c > ff02::1: ICMP6, router advertisement

David, any idea on where this may come from and how to track the cause?

Cheers,

a+
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
E1000E/82567LM-3: link reported up too soon, Arnaud Ebalard, (Wed Sep 15, 6:48 am)
Re: E1000E/82567LM-3: link reported up too soon, Brian Haley, (Wed Sep 15, 8:07 am)
Re: E1000E/82567LM-3: link reported up too soon, Arnaud Ebalard, (Wed Sep 15, 8:34 am)
Re: E1000E/82567LM-3: link reported up too soon, Brian Haley, (Wed Sep 15, 9:01 am)
Re: E1000E/82567LM-3: link reported up too soon, Arnaud Ebalard, (Sat Sep 18, 7:14 am)
Re: E1000E/82567LM-3: link reported up too soon, David Miller, (Mon Sep 20, 11:22 am)
Re: E1000E/82567LM-3: link reported up too soon, Arnaud Ebalard, (Mon Sep 20, 11:57 am)
Re: E1000E/82567LM-3: link reported up too soon, David Miller, (Mon Sep 20, 12:54 pm)
Re: E1000E/82567LM-3: link reported up too soon, Arnaud Ebalard, (Mon Sep 20, 1:09 pm)
Re: E1000E/82567LM-3: link reported up too soon, David Miller, (Mon Sep 20, 1:18 pm)
Re: E1000E/82567LM-3: link reported up too soon, Arnaud Ebalard, (Mon Sep 20, 1:22 pm)
Re: E1000E/82567LM-3: link reported up too soon, Arnaud Ebalard, (Mon Sep 20, 2:28 pm)
Re: E1000E/82567LM-3: link reported up too soon, David Miller, (Mon Sep 20, 3:23 pm)
Re: E1000E/82567LM-3: link reported up too soon, Arnaud Ebalard, (Tue Sep 21, 4:03 am)