Re: fxp hack in sys/net/if.c?



The reasoning behind moving the delay in to shared code is not very compelling.

-Kip

On Wed, Jun 10, 2009 at 2:17 PM, Kip Macy<kip.macy@xxxxxxxxx> wrote:
From "cvs blame":

Add workaround for fxp issue at interface initialization with IPv6.

 Some LAN card chip for fxp is known to cause problem at
 interface initialization with IPv6 enabled. It happens at
 some delicate timing.
 And also, just adding some DELAY before IPv6 address
 autoconfiguration is known to avoid the problem.

 Complete fix is changing the driver not to use interrupt at
 multicast filter initialization, but trying such change in
 this stage will be dangerous.

 So I add some DELAY() only inside #ifdef INET6 part,
 as temporal workaround only for 4.0.

Approbed by: jkh

Noticed by: Mattias Pantzare <pantzer@xxxxxxxxxxxx>

Obtained from: openbsd-tech mailing list



On Wed, Jun 10, 2009 at 2:03 PM, Bjoern A.
Zeeb<bzeeb-lists@xxxxxxxxxxxxxxxxxx> wrote:
Hi,

could anyone having a clue why that is there look at it and either
remove it or remove it and properly handle it elsewhere?

I have continuesly noticed it for a while so I think the "temporary"
as given in the comment rather means "forgotten"?

sys/net/if.c:           DELAY(100);/* XXX: temporary workaround for fxp
issue*/

/bz

--
Bjoern A. Zeeb                      The greatest risk is not taking one.
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"




--
When bad men combine, the good must associate; else they will fall one
by one, an unpitied sacrifice in a contemptible struggle.

   Edmund Burke




--
When bad men combine, the good must associate; else they will fall one
by one, an unpitied sacrifice in a contemptible struggle.

Edmund Burke
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Proposal: Rework ipv6 rtsol initialization in rc.d
    ... Slow ipv6 initialization after link state changes ... but no net interface UP during boot. ... Sending Router Solicitations ...
    (freebsd-net)
  • Re: [opensuse] IPv6, 11.3, YaST & maybe routers
    ... It's mainly noticeable as a delay in loading ... But I know nothing about IPv6 and not a lot about modern DNS ... YaST is involved because I used it to check that IPv6 was *not* causing ... Perhaps the inaccuracy occurs because of some flaw in the upgrade logic? ...
    (SuSE)
  • Re: BUG when unloading bonding on 2.6.29-rc7-git3
    ... Do not try to "uninitialize" ipv6 if its initialization had been skipped ... because module parameter disable=1 had been specified. ...
    (Linux-Kernel)
  • Re: telnet localhost slow, telnet 127.0.0.1 ok
    ... then the problem is IPv6 support. ... and that'll allow you to do "telnet localhost" without delay. ... if the nameserver you're using always chokes on IPv6 queries (not ...
    (Debian-User)
  • Re: Slow registration of group name NetBIOS
    ... If I have correctly understood you, at initialization of a group name I do ... The delay seems to me is connected to adjustments ... On the majority of computers with ... Windows XP there is a delay at initialization of a group name, ...
    (microsoft.public.win32.programmer.networks)