Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_main.c190 int i, num_cpus, cpu, min_use, node = sdev->numa_node, tx_cpu = -1; in siw_get_tx_cpu() local
218 tx_cpu = cpu; in siw_get_tx_cpu()
223 "tx cpu %d, node %d, %d qp's\n", tx_cpu, node, min_use); in siw_get_tx_cpu()
226 if (tx_cpu >= 0) in siw_get_tx_cpu()
227 atomic_inc(&per_cpu(siw_use_cnt, tx_cpu)); in siw_get_tx_cpu()
231 return tx_cpu; in siw_get_tx_cpu()
Dsiw_qp_tx.c1263 if (unlikely(!cpu_online(qp->tx_cpu))) { in siw_sq_start()
1264 siw_put_tx_cpu(qp->tx_cpu); in siw_sq_start()
1265 qp->tx_cpu = siw_get_tx_cpu(qp->sdev); in siw_sq_start()
1266 if (qp->tx_cpu < 0) { in siw_sq_start()
1274 llist_add(&qp->tx_list, &per_cpu(siw_tx_task_g, qp->tx_cpu).active); in siw_sq_start()
1276 wake_up(&per_cpu(siw_tx_task_g, qp->tx_cpu).waiting); in siw_sq_start()
Dsiw.h422 int tx_cpu; member
Dsiw_verbs.c472 qp->tx_cpu = siw_get_tx_cpu(sdev); in siw_create_qp()
473 if (qp->tx_cpu < 0) { in siw_create_qp()
Dsiw_qp.c1344 siw_put_tx_cpu(qp->tx_cpu); in siw_free_qp()