Home
last modified time | relevance | path

Searched refs:cq (Results 1 – 7 of 7) sorted by relevance

/u-boot/drivers/net/octeontx/
A Dnicvf_queues.c180 struct cmp_queue *cq, int q_len) in nicvf_init_cmp_queue() argument
188 cq->desc = cq->dmem.base; in nicvf_init_cmp_queue()
192 cq->thresh = 0; in nicvf_init_cmp_queue()
200 if (!cq) in nicvf_free_cmp_queue()
202 if (!cq->dmem.base) in nicvf_free_cmp_queue()
385 struct cmp_queue *cq; in nicvf_cmp_queue_config() local
391 cq = &qs->cq[qidx]; in nicvf_cmp_queue_config()
392 cq->enable = enable; in nicvf_cmp_queue_config()
394 if (!cq->enable) { in nicvf_cmp_queue_config()
402 if (!cq->enable) in nicvf_cmp_queue_config()
[all …]
A Dnicvf_main.c209 struct cmp_queue *cq, in nicvf_snd_pkt_handler() argument
223 nicvf_check_cqe_tx_errs(nic, cq, cq_desc); in nicvf_snd_pkt_handler()
228 struct cmp_queue *cq, void *cq_desc, in nicvf_rcv_pkt_handler() argument
238 err = nicvf_check_cqe_rx_errs(nic, cq, cq_desc); in nicvf_rcv_pkt_handler()
263 struct cmp_queue *cq = &qs->cq[cq_qnum]; in nicvf_cq_handler() local
279 cq_desc = (struct cqe_rx_t *)GET_CQ_DESC(cq, cqe_head); in nicvf_cq_handler()
281 cqe_head &= (cq->dmem.q_len - 1); in nicvf_cq_handler()
283 prefetch((struct cqe_rx_t *)GET_CQ_DESC(cq, cqe_head)); in nicvf_cq_handler()
288 *pkt_len = nicvf_rcv_pkt_handler(nic, cq, cq_desc, in nicvf_cq_handler()
294 nicvf_snd_pkt_handler(nic, cq, cq_desc, CQE_TYPE_SEND); in nicvf_cq_handler()
A Dnicvf_queues.h296 struct cmp_queue cq[MAX_CMP_QUEUES_PER_QS]; member
350 struct cmp_queue *cq, void *cq_desc);
352 struct cmp_queue *cq, void *cq_desc);
/u-boot/drivers/net/octeontx2/
A Dnix.c340 qmem_free(&nix->cq[idx]); in nix_lf_setup()
372 qmem_free(&nix->cq[index]); in nix_lf_shutdown()
518 head &= (nix->cq[NIX_CQ_TX].qsize - 1); in nix_lf_flush_tx()
519 tail &= (nix->cq[NIX_CQ_TX].qsize - 1); in nix_lf_flush_tx()
528 head &= (nix->cq[NIX_CQ_TX].qsize - 1); in nix_lf_flush_tx()
529 tail &= (nix->cq[NIX_CQ_TX].qsize - 1); in nix_lf_flush_tx()
606 head &= (nix->cq[NIX_CQ_RX].qsize - 1); in nix_lf_flush_rx()
607 tail &= (nix->cq[NIX_CQ_RX].qsize - 1); in nix_lf_flush_rx()
669 head &= (nix->cq[NIX_CQ_RX].qsize - 1); in nix_lf_recv()
670 tail &= (nix->cq[NIX_CQ_RX].qsize - 1); in nix_lf_recv()
[all …]
A Dnix_af.c509 rq_req.rq.s.cq = NIX_CQ_RX; in nix_attach_receive_queue()
567 sq_req.sq.s.cq = NIX_CQ_TX; in nix_attach_send_queue()
597 cq_req.cq.s.ena = 1; in nix_attach_completion_queue()
600 cq_req.cq.s.drop_ena = 0; in nix_attach_completion_queue()
601 cq_req.cq.s.caching = 1; in nix_attach_completion_queue()
602 cq_req.cq.s.qsize = CQS_QSIZE; in nix_attach_completion_queue()
604 cq_req.cq.s.qint_idx = 0; in nix_attach_completion_queue()
605 cq_req.cq.s.cint_idx = 0; in nix_attach_completion_queue()
606 cq_req.cq.s.base = nix->cq[cq_idx].iova; in nix_attach_completion_queue()
608 nix->cq[cq_idx].base); in nix_attach_completion_queue()
[all …]
A Dnix.h195 struct qmem cq[NIX_CQ_COUNT]; member
222 union nix_cq_ctx_s cq ALIGNED;
240 union nix_cq_ctx_s cq ALIGNED;
/u-boot/arch/arm/include/asm/arch-octeontx2/csrs/
A Dcsrs-nix.h838 u64 cq : 20; member
920 u64 cq : 20; member
1564 u64 cq : 20; member
9215 u64 cq : 20; member
9244 u64 cq : 20; member

Completed in 53 milliseconds