Re: re(4) problem

From: Abdullah Ibn Hamad Al-Marri <wearabnet_at_yahoo.ca>
Date: Tue, 11 Mar 2008 11:34:12 -0700 (PDT)
----- Original Message ----
> From: Pyun YongHyeon <pyunyh_at_gmail.com>
> To: Daniel Gerzo <danger_at_FreeBSD.org>
> Cc: current_at_FreeBSD.org; yongari_at_FreeBSD.org
> Sent: Tuesday, March 11, 2008 5:24:41 AM
> Subject: Re: re(4) problem
> 
> On Mon, Mar 10, 2008 at 09:38:32PM +0100, Daniel Gerzo wrote:
>  > Hello Daniel,
>  > 
>  > Monday, March 10, 2008, 4:26:49 PM, you wrote:
>  > 
>  > > Hello Pyun,
>  > 
>  > >> Since you're using MSI, would you try attached patch?
>  > >> Sorry, I don't have PCIe based hardware and RealTek's datasheet for
>  > >> PCIe variants is too poor to get useful information.
>  > >> 
>  > >> -- 
>  > >> Regards,
>  > >> Pyun YongHyeon
>  > 
>  > > Thank you for your quick reply, I will test your patch ASAP, but I have one
>  > > simple question:
>  > 
>  > > Should I apply this patch on top of
>  > > http://people.freebsd.org/~yongari/re/re.HEAD.patch
>  > > or what is this patch aginst?
>  > 
>  > > Thank you.
>  > 
>  > Or better, please send me (or place somewhere on your home page) the
>  > complete if_re.c and if_rlreg.h which should adress my problems, so
>  > that I can test it easily.
>  > 
> 
> Done.
> http://people.freebsd.org/~yongari/re/if_re.c
> http://people.freebsd.org/~yongari/re/if_rlreg.h
> The above files would build on CURRENT/RELENG_7/7.0-RELEASE.
> 
> I'm not sure whether it helps or not.
> 
>  > Your efforst are greatly appreciated!
>  > 
>  > -- 
>  > Best regards,
>  >  Daniel                            mailto:danger_at_FreeBSD.org
>  > 
> 
> -- 
> Regards,
> Pyun YongHyeon

Ok, here is the ping to 2 servers using same nic to another server using fxp in same lan.

ping -c 100 -s 5000 after using 
http://people.freebsd.org/~yongari/re/if_re.c
http://people.freebsd.org/~yongari/re/if_rlreg.h

re0: <RealTek 8168/8111B PCIe Gigabit Ethernet> port 0xc000-0xc0ff mem 0xd0020000-0xd0020fff irq 17 at device 0.0 on pci3
re0: Using 2 MSI messages
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:19:d1:a7:a4:72
re0: [FILTER]
re0: [FILTER]

100 packets transmitted, 100 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 2.410/2.429/2.587/0.019 ms

Here without.

re0: <RealTek 8168/8111B PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xf2000000-0xf2000fff irq 17 at device 0.0 on pci3
re0: Using 2 MSI messages
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
re0: Ethernet address: 00:1a:4d:4f:76:07
re0: [FILTER]
re0: [FILTER]

100 packets transmitted, 99 packets received, 1.0% packet loss
round-trip min/avg/max/stddev = 632.148/633.103/640.812/0.872 ms

So as I could tell the ping latency got fixed by using latest changes.

 
--
 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/




      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Received on Tue Mar 11 2008 - 17:34:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:28 UTC