Lines Matching refs:cqe_rx
529 struct cqe_rx_t *cqe_rx, struct snd_queue *sq, in nicvf_xdp_rx() argument
541 len = *((u16 *)((void *)cqe_rx + (3 * sizeof(u64)))); in nicvf_xdp_rx()
542 dma_addr = *((u64 *)((void *)cqe_rx + (7 * sizeof(u64)))); in nicvf_xdp_rx()
583 RCV_FRAG_LEN - cqe_rx->align_pad + offset); in nicvf_xdp_rx()
728 struct cqe_rx_t *cqe_rx, in nicvf_set_rxhash() argument
737 switch (cqe_rx->rss_alg) { in nicvf_set_rxhash()
741 hash = cqe_rx->rss_tag; in nicvf_set_rxhash()
745 hash = cqe_rx->rss_tag; in nicvf_set_rxhash()
772 struct cqe_rx_t *cqe_rx, in nicvf_rcv_pkt_handler() argument
781 rq_idx = nicvf_netdev_qidx(nic, cqe_rx->rq_idx); in nicvf_rcv_pkt_handler()
790 if (cqe_rx->err_level || cqe_rx->err_opcode) { in nicvf_rcv_pkt_handler()
791 err = nicvf_check_cqe_rx_errs(nic, cqe_rx); in nicvf_rcv_pkt_handler()
792 if (err && !cqe_rx->rb_cnt) in nicvf_rcv_pkt_handler()
797 if (nic->xdp_prog && (cqe_rx->rb_cnt == 1)) { in nicvf_rcv_pkt_handler()
799 if (nicvf_xdp_rx(snic, nic->xdp_prog, cqe_rx, sq, rq, &skb)) in nicvf_rcv_pkt_handler()
802 skb = nicvf_get_rcv_skb(snic, cqe_rx, in nicvf_rcv_pkt_handler()
822 nicvf_set_rxhash(netdev, cqe_rx, skb); in nicvf_rcv_pkt_handler()
835 if (cqe_rx->vlan_found && cqe_rx->vlan_stripped) in nicvf_rcv_pkt_handler()
837 ntohs((__force __be16)cqe_rx->vlan_tci)); in nicvf_rcv_pkt_handler()