/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_main.c | 530 struct cqe_rx_t *cqe_rx, struct snd_queue *sq, in nicvf_xdp_rx() 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() 586 RCV_FRAG_LEN - cqe_rx->align_pad + offset); in nicvf_xdp_rx() 731 struct cqe_rx_t *cqe_rx, in nicvf_set_rxhash() 740 switch (cqe_rx->rss_alg) { in nicvf_set_rxhash() 744 hash = cqe_rx->rss_tag; in nicvf_set_rxhash() 748 hash = cqe_rx->rss_tag; in nicvf_set_rxhash() 775 struct cqe_rx_t *cqe_rx, in nicvf_rcv_pkt_handler() 784 rq_idx = nicvf_netdev_qidx(nic, cqe_rx in nicvf_rcv_pkt_handler() 529 nicvf_xdp_rx(struct nicvf *nic, struct bpf_prog *prog, struct cqe_rx_t *cqe_rx, struct snd_queue *sq, struct rcv_queue *rq, struct sk_buff **skb) nicvf_xdp_rx() argument 730 nicvf_set_rxhash(struct net_device *netdev, struct cqe_rx_t *cqe_rx, struct sk_buff *skb) nicvf_set_rxhash() argument 773 nicvf_rcv_pkt_handler(struct net_device *netdev, struct napi_struct *napi, struct cqe_rx_t *cqe_rx, struct snd_queue *sq, struct rcv_queue *rq) nicvf_rcv_pkt_handler() argument [all...] |
H A D | nicvf_queues.c | 1663 struct cqe_rx_t *cqe_rx, bool xdp) in nicvf_get_rcv_skb() 1674 rb_lens = (void *)cqe_rx + (3 * sizeof(u64)); in nicvf_get_rcv_skb() 1683 rb_ptrs = (void *)cqe_rx + (6 * sizeof(u64)); in nicvf_get_rcv_skb() 1685 rb_ptrs = (void *)cqe_rx + (7 * sizeof(u64)); in nicvf_get_rcv_skb() 1687 for (frag = 0; frag < cqe_rx->rb_cnt; frag++) { in nicvf_get_rcv_skb() 1699 *rb_ptrs - cqe_rx->align_pad, in nicvf_get_rcv_skb() 1702 phys_addr - cqe_rx->align_pad, in nicvf_get_rcv_skb() 1706 skb_reserve(skb, cqe_rx->align_pad); in nicvf_get_rcv_skb() 1838 int nicvf_check_cqe_rx_errs(struct nicvf *nic, struct cqe_rx_t *cqe_rx) in nicvf_check_cqe_rx_errs() argument 1842 cqe_rx in nicvf_check_cqe_rx_errs() 1662 nicvf_get_rcv_skb(struct nicvf *nic, struct cqe_rx_t *cqe_rx, bool xdp) nicvf_get_rcv_skb() argument [all...] |
H A D | nicvf_queues.h | 350 struct cqe_rx_t *cqe_rx, bool xdp); 372 int nicvf_check_cqe_rx_errs(struct nicvf *nic, struct cqe_rx_t *cqe_rx);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_main.c | 529 struct cqe_rx_t *cqe_rx, struct snd_queue *sq, in nicvf_xdp_rx() 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() 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() 781 rq_idx = nicvf_netdev_qidx(nic, cqe_rx in nicvf_rcv_pkt_handler() 528 nicvf_xdp_rx(struct nicvf *nic, struct bpf_prog *prog, struct cqe_rx_t *cqe_rx, struct snd_queue *sq, struct rcv_queue *rq, struct sk_buff **skb) nicvf_xdp_rx() argument 727 nicvf_set_rxhash(struct net_device *netdev, struct cqe_rx_t *cqe_rx, struct sk_buff *skb) nicvf_set_rxhash() argument 770 nicvf_rcv_pkt_handler(struct net_device *netdev, struct napi_struct *napi, struct cqe_rx_t *cqe_rx, struct snd_queue *sq, struct rcv_queue *rq) nicvf_rcv_pkt_handler() argument [all...] |
H A D | nicvf_queues.c | 1664 struct cqe_rx_t *cqe_rx, bool xdp) in nicvf_get_rcv_skb() 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 in nicvf_check_cqe_rx_errs() 1663 nicvf_get_rcv_skb(struct nicvf *nic, struct cqe_rx_t *cqe_rx, bool xdp) nicvf_get_rcv_skb() argument [all...] |
H A D | nicvf_queues.h | 350 struct cqe_rx_t *cqe_rx, bool xdp); 372 int nicvf_check_cqe_rx_errs(struct nicvf *nic, struct cqe_rx_t *cqe_rx);
|