Home
last modified time | relevance | path

Searched refs:tx_cpu (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/infiniband/sw/siw/
Dsiw_main.c166 int i, num_cpus, cpu, min_use, node = sdev->numa_node, tx_cpu = -1; in siw_get_tx_cpu() local
194 tx_cpu = cpu; in siw_get_tx_cpu()
199 "tx cpu %d, node %d, %d qp's\n", tx_cpu, node, min_use); in siw_get_tx_cpu()
202 if (tx_cpu >= 0) in siw_get_tx_cpu()
203 atomic_inc(&per_cpu(siw_use_cnt, tx_cpu)); in siw_get_tx_cpu()
207 return tx_cpu; in siw_get_tx_cpu()
Dsiw_qp_tx.c1298 if (unlikely(!cpu_online(qp->tx_cpu))) { in siw_sq_start()
1299 siw_put_tx_cpu(qp->tx_cpu); in siw_sq_start()
1300 qp->tx_cpu = siw_get_tx_cpu(qp->sdev); in siw_sq_start()
1301 if (qp->tx_cpu < 0) { in siw_sq_start()
1309 llist_add(&qp->tx_list, &per_cpu(siw_tx_task_g, qp->tx_cpu).active); in siw_sq_start()
1311 wake_up(&per_cpu(siw_tx_task_g, qp->tx_cpu).waiting); in siw_sq_start()
Dsiw.h424 int tx_cpu; member
Dsiw_verbs.c473 qp->tx_cpu = siw_get_tx_cpu(sdev); in siw_create_qp()
474 if (qp->tx_cpu < 0) { in siw_create_qp()
Dsiw_qp.c1347 siw_put_tx_cpu(qp->tx_cpu); in siw_free_qp()