Date: Mon, 24 Mar 2008 17:49:06 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_xl.c if_xlreg.h Message-ID: <200803241749.m2OHn6xf067325@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2008-03-24 17:49:06 UTC FreeBSD src repository Modified files: sys/pci if_xl.c if_xlreg.h Log: - Take advantage of bus_dmamap_load_mbuf_sg(9). - Take advantage of m_collapse(9). - Sync with other NIC drivers and prepend a TX mbuf if the first attempt to load it fails with an error other than EFBIG and stop trying instead of freeing it and keeping on trying to enqueue more mbufs. Also ensure the driver queue isn't empty before trying to enqueue mbufs in order to reduce locking operations. - In xl_ifmedia_upd() add a missing XL_UNLOCK(). [1] - Const'ify the xl_devs array. - Remove an outdated comment. PR: 113406 [1] MFC after: 1 month Revision Changes Path 1.213 +69 -93 src/sys/pci/if_xl.c 1.60 +2 -1 src/sys/pci/if_xlreg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803241749.m2OHn6xf067325>