Don't pass rids to taskqgroup_attach()
As everywhere else, we want to pass rman_get_start(irq->ii_res). This caused set affinity errors when not using MSI-X vectors (legacy and MSI interrupts). Reported by: sbruno Sponsored by: Limelight Networks
This commit is contained in:
parent
f77a6187eb
commit
9c58cafaa3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327247
@ -5347,10 +5347,10 @@ iflib_legacy_setup(if_ctx_t ctx, driver_filter_t filter, void *filter_arg, int *
|
|||||||
if ((err = _iflib_irq_alloc(ctx, irq, tqrid, iflib_fast_intr_ctx, NULL, info, name)) != 0)
|
if ((err = _iflib_irq_alloc(ctx, irq, tqrid, iflib_fast_intr_ctx, NULL, info, name)) != 0)
|
||||||
return (err);
|
return (err);
|
||||||
GROUPTASK_INIT(gtask, 0, fn, q);
|
GROUPTASK_INIT(gtask, 0, fn, q);
|
||||||
taskqgroup_attach(tqg, gtask, q, tqrid, name);
|
taskqgroup_attach(tqg, gtask, q, rman_get_start(irq->ii_res), name);
|
||||||
|
|
||||||
GROUPTASK_INIT(&txq->ift_task, 0, _task_fn_tx, txq);
|
GROUPTASK_INIT(&txq->ift_task, 0, _task_fn_tx, txq);
|
||||||
taskqgroup_attach(qgroup_if_io_tqg, &txq->ift_task, txq, tqrid, "tx");
|
taskqgroup_attach(qgroup_if_io_tqg, &txq->ift_task, txq, rman_get_start(irq->ii_res), "tx");
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user