Page MenuHomeFreeBSD

ena: add mbuf defragmentation
ClosedPublic

Authored by mk_semihalf.com on May 26 2017, 10:43 AM.
Referenced Files
F81691087: D10923.id.diff
Sat, Apr 20, 12:25 AM
Unknown Object (File)
Fri, Apr 19, 4:09 AM
Unknown Object (File)
Fri, Apr 12, 5:42 AM
Unknown Object (File)
Tue, Apr 9, 4:02 PM
Unknown Object (File)
Sat, Apr 6, 11:53 PM
Unknown Object (File)
Jan 15 2024, 5:46 PM
Unknown Object (File)
Dec 23 2023, 3:26 AM
Unknown Object (File)
Sep 18 2023, 9:35 PM

Details

Summary

When mbuf chain is too long and device cannot handle that number of
segments in DMA transaction, mbuf chain will be defragmented.
Initially, driver was dropping all mbuf chains that were exceeding
supported number of segments.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

zbb added inline comments.
sys/dev/ena/ena.c
2657

Try to use boolean expressions in conditions such as rc != 0

This revision is now accepted and ready to land.May 29 2017, 10:37 AM
This revision was automatically updated to reflect the committed changes.