Date: Tue, 17 Apr 2007 16:50:05 +0400 From: Slawa Olhovchenkov <slw@zxy.spb.ru> To: Poul-Henning Kamp <phk@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/pci if_vr.c if_vrreg.h Message-ID: <20070417125005.GA41306%slw@zxy.spb.ru> In-Reply-To: <200704171223.l3HCNwsS087701@repoman.freebsd.org> References: <200704171223.l3HCNwsS087701@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 17, 2007 at 12:23:57PM +0000, Poul-Henning Kamp wrote: Can you add vlan tagging support? *** sys/pci/if_vrreg.h Tue Feb 1 02:26:51 2005 --- sys/pci/if_vrreg.h.new Sat Jun 4 03:07:10 2005 *************** *** 393,399 **** #define VR_TX_LIST_CNT 128 #define VR_MIN_FRAMELEN 60 #define VR_FRAMELEN 1536 ! #define VR_RXLEN 1520 #define VR_TXOWN(x) x->vr_ptr->vr_status --- 393,399 ---- #define VR_TX_LIST_CNT 128 #define VR_MIN_FRAMELEN 60 #define VR_FRAMELEN 1536 ! #define VR_RXLEN 1524 #define VR_TXOWN(x) x->vr_ptr->vr_status *** sys/pci/if_vr.c Tue Mar 1 11:11:52 2005 --- sys/pci/if_vr.c.new Sat Jun 4 03:06:56 2005 *************** *** 740,745 **** --- 740,746 ---- #ifdef DEVICE_POLLING ifp->if_capabilities |= IFCAP_POLLING; #endif + ifp->if_capabilities |= IFCAP_VLAN_MTU; ifp->if_capenable = ifp->if_capabilities; /* Do MII setup. */ > phk 2007-04-17 12:23:57 UTC > > FreeBSD src repository > > Modified files: > sys/pci if_vr.c if_vrreg.h > Log: > Improve the if_vr driver ever so slightly. > > The 6105M and 6102 does not have the DWORD alignment problem, so > don't m_defrag() every packet in the transmit path for those. > > More stringent usage of tx-descriptor ring and its flags. > > Tested on 6102 and 6105M, other chips may also be able to run > without the m_defrag() but I have neither hardware nor docs to > find out. > > Sponsored by: Soekris Engineering > > Revision Changes Path > 1.118 +108 -87 src/sys/pci/if_vr.c > 1.28 +3 -1 src/sys/pci/if_vrreg.h > _______________________________________________ > cvs-src@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-src > To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070417125005.GA41306%slw>