Page MenuHomeFreeBSD

Fix "taskqgroup_attach: setaffinity failed: 3" with iflib drivers
ClosedPublic

Authored by shurd on Sep 25 2017, 9:11 PM.

Details

Summary

Improved logging added in r323879 exposed an error during
attach. We need the irq, not the rid to work correctly. em uses
shared irqs, so it will use the same irq for TX as RX. bnxt does
not use shared irqs, or TX irqs at all, so there's no need to set
the TX irq affinity.

Test Plan

Test with em and bnxt devices to ensure error is corrected
and IRQs have the expected affinity.

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

shurd created this revision.Sep 25 2017, 9:11 PM
sbruno accepted this revision.Sep 27 2017, 6:45 PM
This revision is now accepted and ready to land.Sep 27 2017, 6:45 PM
This revision was automatically updated to reflect the committed changes.