Lines Matching refs:nq_work
155 struct bnxt_qplib_nq_work *nq_work = in bnxt_qpn_cqn_sched_task() local
158 struct bnxt_qplib_cq *cq = nq_work->cq; in bnxt_qpn_cqn_sched_task()
159 struct bnxt_qplib_nq *nq = nq_work->nq; in bnxt_qpn_cqn_sched_task()
171 kfree(nq_work); in bnxt_qpn_cqn_sched_task()
1528 struct bnxt_qplib_nq_work *nq_work = NULL; in bnxt_qplib_post_send() local
1792 nq_work = kzalloc(sizeof(*nq_work), GFP_ATOMIC); in bnxt_qplib_post_send()
1793 if (nq_work) { in bnxt_qplib_post_send()
1794 nq_work->cq = qp->scq; in bnxt_qplib_post_send()
1795 nq_work->nq = qp->scq->nq; in bnxt_qplib_post_send()
1796 INIT_WORK(&nq_work->work, bnxt_qpn_cqn_sched_task); in bnxt_qplib_post_send()
1797 queue_work(qp->scq->nq->cqn_wq, &nq_work->work); in bnxt_qplib_post_send()
1828 struct bnxt_qplib_nq_work *nq_work = NULL; in bnxt_qplib_post_recv() local
1882 nq_work = kzalloc(sizeof(*nq_work), GFP_ATOMIC); in bnxt_qplib_post_recv()
1883 if (nq_work) { in bnxt_qplib_post_recv()
1884 nq_work->cq = qp->rcq; in bnxt_qplib_post_recv()
1885 nq_work->nq = qp->rcq->nq; in bnxt_qplib_post_recv()
1886 INIT_WORK(&nq_work->work, bnxt_qpn_cqn_sched_task); in bnxt_qplib_post_recv()
1887 queue_work(qp->rcq->nq->cqn_wq, &nq_work->work); in bnxt_qplib_post_recv()