Home
last modified time | relevance | path

Searched refs:cq_poll (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_xsk.c171 struct otx2_cq_poll *cq_poll = NULL; in otx2_xsk_wakeup() local
180 cq_poll = &qset->napi[queue_id]; in otx2_xsk_wakeup()
181 if (!cq_poll) in otx2_xsk_wakeup()
185 if (!napi_if_scheduled_mark_missed(&cq_poll->napi)) { in otx2_xsk_wakeup()
186 otx2_write64(pf, NIX_LF_CINTX_ENA_W1S(cq_poll->cint_idx), BIT_ULL(0)); in otx2_xsk_wakeup()
187 otx2_write64(pf, NIX_LF_CINTX_INT_W1S(cq_poll->cint_idx), BIT_ULL(0)); in otx2_xsk_wakeup()
H A Drep.c491 struct otx2_cq_poll *cq_poll = NULL; in rvu_rep_napi_init() local
502 cq_poll = &qset->napi[qidx]; in rvu_rep_napi_init()
503 cq_poll->cint_idx = qidx; in rvu_rep_napi_init()
504 cq_poll->cq_ids[CQ_RX] = in rvu_rep_napi_init()
509 cq_poll->cq_ids[CQ_XDP] = CINT_INVALID_CQ; in rvu_rep_napi_init()
510 cq_poll->cq_ids[CQ_QOS] = CINT_INVALID_CQ; in rvu_rep_napi_init()
512 cq_poll->dev = (void *)priv; in rvu_rep_napi_init()
515 napi_enable(&cq_poll->napi); in rvu_rep_napi_init()
551 struct otx2_cq_poll *cq_poll = NULL; in rvu_rep_free_cq_rsrc() local
562 cq_poll = &qset->napi[qidx]; in rvu_rep_free_cq_rsrc()
[all …]
H A Dotx2_pf.c1424 int qidx = cq_poll->cint_idx; in otx2_cq_intr_handler()
1444 struct otx2_cq_poll *cq_poll; in otx2_disable_napi() local
1449 cq_poll = &qset->napi[qidx]; in otx2_disable_napi()
1450 work = &cq_poll->dim.work; in otx2_disable_napi()
1806 struct otx2_cq_poll *cq_poll; in otx2_dim_work() local
1838 struct otx2_cq_poll *cq_poll; in otx2_alloc_queue_mem() local
1902 cq_poll = &qset->napi[qidx]; in otx2_open()
1903 cq_poll->cint_idx = qidx; in otx2_open()
1909 cq_poll->cq_ids[CQ_RX] = in otx2_open()
1926 cq_poll->dev = (void *)pf; in otx2_open()
[all …]
H A Dotx2_txrx.c542 static void otx2_adjust_adaptive_coalese(struct otx2_nic *pfvf, struct otx2_cq_poll *cq_poll) in otx2_adjust_adaptive_coalese() argument
558 net_dim(&cq_poll->dim, &dim_sample); in otx2_adjust_adaptive_coalese()
566 struct otx2_cq_poll *cq_poll; in otx2_napi_handler() local
572 cq_poll = container_of(napi, struct otx2_cq_poll, napi); in otx2_napi_handler()
573 pfvf = (struct otx2_nic *)cq_poll->dev; in otx2_napi_handler()
577 cq_idx = cq_poll->cq_ids[i]; in otx2_napi_handler()
594 otx2_write64(pfvf, NIX_LF_CINTX_INT(cq_poll->cint_idx), BIT_ULL(0)); in otx2_napi_handler()
603 otx2_adjust_adaptive_coalese(pfvf, cq_poll); in otx2_napi_handler()
632 NIX_LF_CINTX_ENA_W1S(cq_poll->cint_idx), in otx2_napi_handler()
/linux-6.15/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_main.c1043 int qidx = cq_poll->cq_idx; in nicvf_intr_handler()
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()
1373 cq_poll = nic->napi[qidx]; in nicvf_stop()
1374 if (!cq_poll) in nicvf_stop()
1468 cq_poll = kzalloc(sizeof(*cq_poll), GFP_KERNEL); in nicvf_open()
1469 if (!cq_poll) { in nicvf_open()
1473 cq_poll->cq_idx = qidx; in nicvf_open()
1474 cq_poll->nicvf = nic; in nicvf_open()
[all …]
/linux-6.15/include/trace/events/
H A Drdma_core.h118 TRACE_EVENT(cq_poll,