[patch] e1000 / lem handling of TSO defragmentation

Andrew Boyer aboyer at averesystems.com
Wed Aug 8 14:29:33 UTC 2012


Similar to what was done for em in r220254, this patch improves the error handling in lem when a TSO packet has too many segments to DMA.  This improves the behavior when either call to bus_dmamap_load_mbuf_sg() returns ENOMEM.  Although we don't need to go back and redo any offload calculation in lem, doing it this way reduces code duplication.

Comments welcome.

-Andrew

-------------- next part --------------
A non-text attachment was scrubbed...
Name: e1000_tso_defrag.diff
Type: application/octet-stream
Size: 1355 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20120808/b0d424ed/e1000_tso_defrag.obj
-------------- next part --------------


--------------------------------------------------
Andrew Boyer	aboyer at averesystems.com






More information about the freebsd-net mailing list