Lines Matching refs:cq_poll
1044 struct nicvf_cq_poll *cq_poll = (struct nicvf_cq_poll *)cq_irq; in nicvf_intr_handler() local
1045 struct nicvf *nic = cq_poll->nicvf; in nicvf_intr_handler()
1046 int qidx = cq_poll->cq_idx; in nicvf_intr_handler()
1054 napi_schedule_irqoff(&cq_poll->napi); in nicvf_intr_handler()
1315 struct nicvf_cq_poll *cq_poll; in nicvf_free_cq_poll() local
1319 cq_poll = nic->napi[qidx]; in nicvf_free_cq_poll()
1320 if (!cq_poll) in nicvf_free_cq_poll()
1323 kfree(cq_poll); in nicvf_free_cq_poll()
1332 struct nicvf_cq_poll *cq_poll = NULL; in nicvf_stop() local
1376 cq_poll = nic->napi[qidx]; in nicvf_stop()
1377 if (!cq_poll) in nicvf_stop()
1379 napi_synchronize(&cq_poll->napi); in nicvf_stop()
1385 napi_disable(&cq_poll->napi); in nicvf_stop()
1386 netif_napi_del(&cq_poll->napi); in nicvf_stop()
1457 struct nicvf_cq_poll *cq_poll = NULL; in nicvf_open() local
1471 cq_poll = kzalloc(sizeof(*cq_poll), GFP_KERNEL); in nicvf_open()
1472 if (!cq_poll) { in nicvf_open()
1476 cq_poll->cq_idx = qidx; in nicvf_open()
1477 cq_poll->nicvf = nic; in nicvf_open()
1478 netif_napi_add(netdev, &cq_poll->napi, nicvf_poll, in nicvf_open()
1480 napi_enable(&cq_poll->napi); in nicvf_open()
1481 nic->napi[qidx] = cq_poll; in nicvf_open()
1572 cq_poll = nic->napi[qidx]; in nicvf_open()
1573 if (!cq_poll) in nicvf_open()
1575 napi_disable(&cq_poll->napi); in nicvf_open()
1576 netif_napi_del(&cq_poll->napi); in nicvf_open()