Searched refs:cq_poll (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_xsk.c | 172 struct otx2_cq_poll *cq_poll = NULL; in otx2_xsk_wakeup() local 181 cq_poll = &qset->napi[queue_id]; in otx2_xsk_wakeup() 182 if (!cq_poll) in otx2_xsk_wakeup() 186 if (!napi_if_scheduled_mark_missed(&cq_poll->napi)) { in otx2_xsk_wakeup() 187 otx2_write64(pf, NIX_LF_CINTX_ENA_W1S(cq_poll->cint_idx), BIT_ULL(0)); in otx2_xsk_wakeup() 188 otx2_write64(pf, NIX_LF_CINTX_INT_W1S(cq_poll->cint_idx), BIT_ULL(0)); in otx2_xsk_wakeup()
|
| H A D | rep.c | 502 struct otx2_cq_poll *cq_poll = NULL; in rvu_rep_napi_init() local 507 qset->napi = kzalloc_objs(*cq_poll, hw->cint_cnt); in rvu_rep_napi_init() 513 cq_poll = &qset->napi[qidx]; in rvu_rep_napi_init() 514 cq_poll->cint_idx = qidx; in rvu_rep_napi_init() 515 cq_poll->cq_ids[CQ_RX] = in rvu_rep_napi_init() 517 cq_poll->cq_ids[CQ_TX] = (qidx < hw->tx_queues) ? in rvu_rep_napi_init() 520 cq_poll->cq_ids[CQ_XDP] = CINT_INVALID_CQ; in rvu_rep_napi_init() 521 cq_poll->cq_ids[CQ_QOS] = CINT_INVALID_CQ; in rvu_rep_napi_init() 523 cq_poll->dev = (void *)priv; in rvu_rep_napi_init() 524 netif_napi_add(priv->reps[qidx]->netdev, &cq_poll->napi, in rvu_rep_napi_init() [all …]
|
| H A D | otx2_pf.c | 1511 struct otx2_cq_poll *cq_poll = (struct otx2_cq_poll *)cq_irq; in otx2_cq_intr_handler() local 1512 struct otx2_nic *pf = (struct otx2_nic *)cq_poll->dev; in otx2_cq_intr_handler() 1513 int qidx = cq_poll->cint_idx; in otx2_cq_intr_handler() 1524 napi_schedule_irqoff(&cq_poll->napi); in otx2_cq_intr_handler() 1533 struct otx2_cq_poll *cq_poll; in otx2_disable_napi() local 1538 cq_poll = &qset->napi[qidx]; in otx2_disable_napi() 1539 work = &cq_poll->dim.work; in otx2_disable_napi() 1542 napi_disable(&cq_poll->napi); in otx2_disable_napi() 1543 netif_napi_del(&cq_poll->napi); in otx2_disable_napi() 1895 struct otx2_cq_poll *cq_poll; in otx2_dim_work() local [all …]
|
| H A D | otx2_txrx.c | 546 static void otx2_adjust_adaptive_coalese(struct otx2_nic *pfvf, struct otx2_cq_poll *cq_poll) in otx2_adjust_adaptive_coalese() argument 562 net_dim(&cq_poll->dim, &dim_sample); in otx2_adjust_adaptive_coalese() 570 struct otx2_cq_poll *cq_poll; in otx2_napi_handler() local 576 cq_poll = container_of(napi, struct otx2_cq_poll, napi); in otx2_napi_handler() 577 pfvf = (struct otx2_nic *)cq_poll->dev; in otx2_napi_handler() 581 cq_idx = cq_poll->cq_ids[i]; in otx2_napi_handler() 598 otx2_write64(pfvf, NIX_LF_CINTX_INT(cq_poll->cint_idx), BIT_ULL(0)); in otx2_napi_handler() 607 otx2_adjust_adaptive_coalese(pfvf, cq_poll); in otx2_napi_handler() 636 NIX_LF_CINTX_ENA_W1S(cq_poll->cint_idx), in otx2_napi_handler()
|
| /linux/drivers/net/ethernet/cavium/thunder/ |
| H A D | nicvf_main.c | 1041 struct nicvf_cq_poll *cq_poll = (struct nicvf_cq_poll *)cq_irq; in nicvf_intr_handler() local 1042 struct nicvf *nic = cq_poll->nicvf; in nicvf_intr_handler() 1043 int qidx = cq_poll->cq_idx; in nicvf_intr_handler() 1051 napi_schedule_irqoff(&cq_poll->napi); in nicvf_intr_handler() 1312 struct nicvf_cq_poll *cq_poll; in nicvf_free_cq_poll() local 1316 cq_poll = nic->napi[qidx]; in nicvf_free_cq_poll() 1317 if (!cq_poll) in nicvf_free_cq_poll() 1320 kfree(cq_poll); in nicvf_free_cq_poll() 1329 struct nicvf_cq_poll *cq_poll = NULL; in nicvf_stop() local 1373 cq_poll = nic->napi[qidx]; in nicvf_stop() [all …]
|
| /linux/include/trace/events/ |
| H A D | rdma_core.h | 118 TRACE_EVENT(cq_poll,
|