Page MenuHomeFreeBSD

ena: add mbuf defragmentation
ClosedPublic

Authored by mk_semihalf.com on May 26 2017, 10:43 AM.

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
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.