Page MenuHomeFreeBSD

Fix default numbers of queue sets
ClosedPublic

Authored by shurd on Nov 14 2017, 9:52 PM.
Tags
None
Referenced Files
F102753137: D13096.diff
Sat, Nov 16, 5:22 PM
Unknown Object (File)
Mon, Nov 11, 8:49 AM
Unknown Object (File)
Sat, Nov 9, 4:17 AM
Unknown Object (File)
Sat, Nov 9, 3:50 AM
Unknown Object (File)
Sat, Nov 9, 3:16 AM
Unknown Object (File)
Thu, Nov 7, 10:13 PM
Unknown Object (File)
Wed, Nov 6, 10:50 AM
Unknown Object (File)
Fri, Nov 1, 9:41 PM
Subscribers

Details

Summary

The intent appears to be having one RX/TX queue set per core,
but since scctx->isc_n[tr]xqsets is set to max before calling
iflib_msix_init(), both end up being set to total number of cores.

Use ctx->ifc_sysctl_n[rt]xqs as the selected value and
scctx->isc_n[rt]xqsets as the max. This should result in what appears
to be the intended behaviour

Test Plan

Ensure default queues is number of cores across multiple
systems, and verify that override works as wxpected.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable