Home
last modified time | relevance | path

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

/linux/drivers/infiniband/sw/siw/
H A Dsiw_main.c164 int i, num_cpus, cpu, min_use, node = sdev->numa_node, tx_cpu = -1; in siw_get_tx_cpu() local
192 tx_cpu = cpu; in siw_get_tx_cpu()
197 "tx cpu %d, node %d, %d qp's\n", tx_cpu, node, min_use); in siw_get_tx_cpu()
200 if (tx_cpu >= 0) in siw_get_tx_cpu()
201 atomic_inc(&per_cpu(siw_use_cnt, tx_cpu)); in siw_get_tx_cpu()
205 return tx_cpu; in siw_get_tx_cpu()
H A Dsiw_qp_tx.c1287 if (unlikely(!cpu_online(qp->tx_cpu))) { in siw_sq_start()
1288 siw_put_tx_cpu(qp->tx_cpu); in siw_sq_start()
1289 qp->tx_cpu = siw_get_tx_cpu(qp->sdev); in siw_sq_start()
1290 if (qp->tx_cpu < 0) { in siw_sq_start()
1298 llist_add(&qp->tx_list, &per_cpu(siw_tx_task_g, qp->tx_cpu).active); in siw_sq_start()
1300 wake_up(&per_cpu(siw_tx_task_g, qp->tx_cpu).waiting); in siw_sq_start()
H A Dsiw.h418 int tx_cpu; member
H A Dsiw_verbs.c471 qp->tx_cpu = siw_get_tx_cpu(sdev); in siw_create_qp()
472 if (qp->tx_cpu < 0) { in siw_create_qp()
H A Dsiw_qp.c1347 siw_put_tx_cpu(qp->tx_cpu); in siw_free_qp()