Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2008 15:43:52 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Abdullah Ibn Hamad Al-Marri <wearabnet@yahoo.ca>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD STABLE <freebsd-stable@freebsd.org>
Subject:   Re: Packet corruption in re0
Message-ID:  <20080328064352.GF98450@cdnetworks.co.kr>
In-Reply-To: <485760.8465.qm@web33703.mail.mud.yahoo.com>
References:  <485760.8465.qm@web33703.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 27, 2008 at 10:47:51PM -0700, Abdullah Ibn Hamad Al-Marri wrote:

[...]

 > >  > 
 > >  > Pyun,
 > >  > 
 > >  > I used it, and I got no bufer space available message, I run a server with 
 > > heavey http requests and named as we..
 > >  > 
 > >  > so I had to increase the buffer.
 > >  > 
 > > 
 > > Please try re(4) in HEAD.
 > > I've just committed one important fix to PCIe variants of RealTek
 > > chip. I guess re(4) in HEAD shall fix all known issues reported.
 > 
 >  
 > > I'll MFC re(4) changes in a week.
 > > 
 > > -- 
 > > Regards,
 > > Pyun YongHyeon
 > > 
 > 
 > Hello Pyun,
 > 
 > I did fetch if_rlreg.h and if_re.c from HEAD, but it didn't compile in RELENG_7.
 > 
 > machine -> /usr/src/sys/amd64/include
 > rm -f .depend
 > mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/ARABPE /usr/src/sys/modules/mfi/mfi_linux/../../../dev/mfi/mfi_linux.c
 > ===> mii (depend)
 > @ -> /usr/src/sys
 > machine -> /usr/src/sys/amd64/include
 > awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -c
 > awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
 > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
 > awk -f @/tools/miidevs2h.awk @/dev/mii/miidevs
 > awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -h
 > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
 > rm -f .depend
 > mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/obj/usr/src/sys/ARABPE /usr/src/sys/modules/mii/../../dev/mii/acphy.c /usr/src/sys/modules/mii/../../dev/mii/amphy.c /usr/src/sys/modules/mii/../../dev/mii/bmtphy.c /usr/src/sys/modules/mii/../../dev/mii/brgphy.c /usr/src/sys/modules/mii/../../dev/mii/ciphy.c /usr/src/sys/modules/mii/../../dev/mii/e1000phy.c /usr/src/sys/modules/mii/../../dev/mii/exphy.c /usr/src/sys/modules/mii/../../dev/mii/gentbi.c /usr/src/sys/modules/mii/../../dev/mii/icsphy.c /usr/src/sys/modules/mii/../../dev/mii/inphy.c /usr/src/sys/modules/mii/../../dev/mii/ip1000phy.c /usr/src/sys/modules/mii/../../dev/mii/lxtphy.c miibus_if.c /usr/src/sys/modules/mii/../../dev/mii/mii.c /usr/src/sys/modules/mii/../../dev/mii/mii_physubr.c /usr/src/sys/modules/mii/../../dev/mii/mlphy.c /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c /usr/src/sys/modules/mii/../../dev/mii/nsphy.c
 >  /usr/src/sys/modules/mii/../../dev/mii/nsphyter.c /usr/src/sys/modules/mii/../../dev/mii/pnaphy.c /usr/src/sys/modules/mii/../../dev/mii/qsphy.c /usr/src/sys/modules/mii/../../dev/mii/rgephy.c /usr/src/sys/modules/mii/../../dev/mii/rlphy.c /usr/src/sys/modules/mii/../../dev/mii/ruephy.c /usr/src/sys/modules/mii/../../dev/mii/tdkphy.c /usr/src/sys/modules/mii/../../dev/mii/tlphy.c /usr/src/sys/modules/mii/../../dev/mii/ukphy.c /usr/src/sys/modules/mii/../../dev/mii/ukphy_subr.c /usr/src/sys/modules/mii/../../dev/mii/xmphy.c
 > In file included from /usr/src/sys/modules/mii/../../dev/mii/rgephy.c:60:
 > @/pci/if_rlreg.h:654:28: error: token ";" is not valid in preprocessor expressions
 > @/pci/if_rlreg.h:1062:6: error: unterminated comment
 > @/pci/if_rlreg.h:654:1: error: unterminated #if
 > In file included from /usr/src/sys/modules/mii/../../dev/mii/rlphy.c:56:
 > @/pci/if_rlreg.h:654:28: error: token ";" is not valid in preprocessor expressions
 > @/pci/if_rlreg.h:1062:6: error: unterminated comment
 > @/pci/if_rlreg.h:654:1: error: unterminated #if
 > mkdep: compile failed
 > *** Error code 1
 > 1 error
 > *** Error code 2
 > 1 error
 > *** Error code 2
 > 2 errors
 > *** Error code 2
 > 1 error
 > *** Error code 2
 > 1 error
 > 
 > 
 > 
 > Could you please help with a patch could be applied in RELENG_7? This is urgent issue.
 > 

The files in the following URL are the same one in HEAD except
addition of minor glude code to build it on RELENG_7.

http://people.freebsd.org/~yongari/re/if_re.c
http://people.freebsd.org/~yongari/re/if_rlreg.h

-- 
Regards,
Pyun YongHyeon
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080328064352.GF98450>