Lines Matching refs:cq_poll
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()
1374 if (!cq_poll) in nicvf_stop()
1376 napi_synchronize(&cq_poll->napi); in nicvf_stop()
1382 napi_disable(&cq_poll->napi); in nicvf_stop()
1383 netif_napi_del(&cq_poll->napi); in nicvf_stop()
1454 struct nicvf_cq_poll *cq_poll = NULL; in nicvf_open() local
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()
1475 netif_napi_add(netdev, &cq_poll->napi, nicvf_poll); in nicvf_open()
1476 napi_enable(&cq_poll->napi); in nicvf_open()
1477 nic->napi[qidx] = cq_poll; in nicvf_open()
1568 cq_poll = nic->napi[qidx]; in nicvf_open()
1569 if (!cq_poll) in nicvf_open()
1571 napi_disable(&cq_poll->napi); in nicvf_open()
1572 netif_napi_del(&cq_poll->napi); in nicvf_open()