]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Take advantage of bus_dmamap_load_mbuf_sg(9).
authorMarius Strobl <marius@FreeBSD.org>
Mon, 24 Mar 2008 17:49:06 +0000 (17:49 +0000)
committerMarius Strobl <marius@FreeBSD.org>
Mon, 24 Mar 2008 17:49:06 +0000 (17:49 +0000)
commit23a6342bb75210a086e1f6a79c76e6d54e18a896
tree9e957b91803bcb5e172339a6a6c5340c43915f07
parentebc284cc8358b85713d12ec1ce2e36833b785248
- 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
sys/pci/if_xl.c
sys/pci/if_xlreg.h