cvs commit: src/sys/dev/netif/nfe Makefile if_nfe.c if_nfereg.h if_nfevar.h
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sat Aug 26 20:35:35 PDT 2006
sephe 2006/08/26 20:28:21 PDT
DragonFly src repository
Added files:
sys/dev/netif/nfe Makefile if_nfe.c if_nfereg.h if_nfevar.h
Log:
- Port nfe(4) from OpenBSD.
- Use spare RX DMA map to recover from bus_dmamap_load_mbuf() failure in
nfe_newbuf_sda().
- In nfe_encap(), properly handle excessive fragmented frame with m_defrag(),
instead of descard it.
- Use additional serializer to protect jumbo buffer pool.
- In nfe_enacp(), set NFE_TX_VALID for each segments after all segment
are in place. Otherwise TX engine will be confused and never generates
TX interrupts, which triggers the unpleasant "watchdog timeout".
Diagnosed-and-fixed-by: dillon@
- Add polling(4) support. By: dillon@
Thank Jonathan Gray <jsg at xxxxxxxxxxx> and
Damien Bergamini <damien.bergamini at xxxxxxx> for their work on this driver.
Thank Matthew Dillon (dillon@) for diagnosing and fixing the serious bug
in TX path.
Tested-by: dillon@ corecode@(an early version)
More information about the Commits
mailing list