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

Attachment: e1000_tso_defrag.diff
Description: Binary data


--------------------------------------------------
Andrew Boyer    abo...@averesystems.com




_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to