Page MenuHomeFreeBSD

iflib - use proper max segment size for DMA
ClosedPublic

Authored by krzysztof.galazka_intel.com on Jun 29 2017, 9:59 AM.

Details

Summary
  • iflib_busdma_load_mbuf_sg used isc_tx_maxsize as max semgent size.
Test Plan

Compile-tested with minimal performance testing.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Proper size used for TSO.

sbruno requested changes to this revision.Jul 3 2017, 6:38 PM
sbruno added inline comments.
sys/net/iflib.c
2933 ↗(On Diff #30204)

Hrm ... small typo here.

Should be scctx->isc_tx_tso_segsize_max

This revision now requires changes to proceed.Jul 3 2017, 6:38 PM
This revision was automatically updated to reflect the committed changes.