Home
last modified time | relevance | path

Searched refs:cqe_rx (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c529 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()
[all …]
Dnicvf_queues.c1664 struct cqe_rx_t *cqe_rx, bool xdp) in nicvf_get_rcv_skb() argument
1675 rb_lens = (void *)cqe_rx + (3 * sizeof(u64)); in nicvf_get_rcv_skb()
1684 rb_ptrs = (void *)cqe_rx + (6 * sizeof(u64)); in nicvf_get_rcv_skb()
1686 rb_ptrs = (void *)cqe_rx + (7 * sizeof(u64)); in nicvf_get_rcv_skb()
1688 for (frag = 0; frag < cqe_rx->rb_cnt; frag++) { in nicvf_get_rcv_skb()
1700 *rb_ptrs - cqe_rx->align_pad, in nicvf_get_rcv_skb()
1703 phys_addr - cqe_rx->align_pad, in nicvf_get_rcv_skb()
1707 skb_reserve(skb, cqe_rx->align_pad); in nicvf_get_rcv_skb()
1839 int nicvf_check_cqe_rx_errs(struct nicvf *nic, struct cqe_rx_t *cqe_rx) in nicvf_check_cqe_rx_errs() argument
1843 cqe_rx->err_level, cqe_rx->err_opcode); in nicvf_check_cqe_rx_errs()
[all …]
Dnicvf_queues.h350 struct cqe_rx_t *cqe_rx, bool xdp);
370 int nicvf_check_cqe_rx_errs(struct nicvf *nic, struct cqe_rx_t *cqe_rx);