Lines Matching refs:cqe_rx
637 struct cqe_rx_t *cqe_rx, int cqe_type) in nicvf_rcv_pkt_handler() argument
644 rq_idx = cqe_rx->rq_idx; in nicvf_rcv_pkt_handler()
648 err = nicvf_check_cqe_rx_errs(nic, cq, cqe_rx); in nicvf_rcv_pkt_handler()
649 if (err && !cqe_rx->rb_cnt) in nicvf_rcv_pkt_handler()
652 mbuf = nicvf_get_rcv_mbuf(nic, cqe_rx); in nicvf_rcv_pkt_handler()
665 ((cqe_rx->l3_type == L3TYPE_IPV4) && (cqe_rx->l4_type == L4TYPE_TCP)) && in nicvf_rcv_pkt_handler()
1978 nicvf_get_rcv_mbuf(struct nicvf *nic, struct cqe_rx_t *cqe_rx) in nicvf_get_rcv_mbuf() argument
1988 rb_lens = (uint16_t *)((uint8_t *)cqe_rx + (3 * sizeof(uint64_t))); in nicvf_get_rcv_mbuf()
1989 rb_ptrs = (uint64_t *)((uint8_t *)cqe_rx + (6 * sizeof(uint64_t))); in nicvf_get_rcv_mbuf()
1992 __func__, cqe_rx->rb_cnt, cqe_rx->rb0_ptr, cqe_rx->rb0_sz); in nicvf_get_rcv_mbuf()
1994 for (frag = 0; frag < cqe_rx->rb_cnt; frag++) { in nicvf_get_rcv_mbuf()
1999 (*rb_ptrs - cqe_rx->align_pad)); in nicvf_get_rcv_mbuf()
2001 mbuf->m_data += cqe_rx->align_pad; in nicvf_get_rcv_mbuf()
2015 mbuf->m_pkthdr.flowid = cqe_rx->rq_idx; in nicvf_get_rcv_mbuf()
2021 if (__predict_true(cqe_rx->l3_type == L3TYPE_IPV4)) { in nicvf_get_rcv_mbuf()
2026 switch (cqe_rx->l4_type) { in nicvf_get_rcv_mbuf()
2229 struct cqe_rx_t *cqe_rx) in nicvf_check_cqe_rx_errs() argument
2234 if (!cqe_rx->err_level && !cqe_rx->err_opcode) { in nicvf_check_cqe_rx_errs()
2239 switch (cqe_rx->err_opcode) { in nicvf_check_cqe_rx_errs()