Searched refs:tx_cpu (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/infiniband/sw/siw/ |
H A D | siw_main.c | 164 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 D | siw_qp_tx.c | 1287 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 D | siw.h | 418 int tx_cpu; member
|
H A D | siw_verbs.c | 471 qp->tx_cpu = siw_get_tx_cpu(sdev); in siw_create_qp() 472 if (qp->tx_cpu < 0) { in siw_create_qp()
|
H A D | siw_qp.c | 1347 siw_put_tx_cpu(qp->tx_cpu); in siw_free_qp()
|