cvs commit: src/sys/dev/em if_em.c

Gleb Smirnoff glebius at FreeBSD.org
Mon Aug 14 08:50:25 UTC 2006


Pyun,

On Mon, Aug 14, 2006 at 02:21:26AM +0000, Pyun YongHyeon wrote:
P>   FreeBSD src repository
P> 
P>   Modified files:
P>     sys/dev/em           if_em.c 
P>   Log:
P>   Make em(4) handle too many fragmented frame with m_defrag(9).
P>   Previously em(4) requeued the failed mbuf chains from
P>   bus_dmamap_load_mbuf_sg(9) failure to resend it later. However,
P>   bus_dmamap_load_mbuf_sg(9) may never complete its request as the
P>   fragmented frames can have more than EM_MAX_SCATTER segments.
P>   To handle the above EFBIG case, defragment the frame with m_defrag(9)
P>   and free the mbuf chain if it can't deframent the chain due to
P>   resource shortage.

Big thanks for working on this and previous commits!

Did the originator of kern/86306 respond to your patch?
Can I assign this PR to you?

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the cvs-src mailing list