Searched refs:mxbuf (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | rx.c | 56 struct mlx5e_xdp_buff *mxbuf = xsk_buff_to_mxbuf(xsk_buffs[i]); in mlx5e_xsk_alloc_rx_mpwqe() local 62 mxbuf->rq = rq; in mlx5e_xsk_alloc_rx_mpwqe() 66 struct mlx5e_xdp_buff *mxbuf = xsk_buff_to_mxbuf(xsk_buffs[i]); in mlx5e_xsk_alloc_rx_mpwqe() local 73 mxbuf->rq = rq; in mlx5e_xsk_alloc_rx_mpwqe() 79 struct mlx5e_xdp_buff *mxbuf = xsk_buff_to_mxbuf(xsk_buffs[i]); in mlx5e_xsk_alloc_rx_mpwqe() local 98 mxbuf->rq = rq; in mlx5e_xsk_alloc_rx_mpwqe() 106 struct mlx5e_xdp_buff *mxbuf = xsk_buff_to_mxbuf(xsk_buffs[i]); in mlx5e_xsk_alloc_rx_mpwqe() local 119 mxbuf->rq = rq; in mlx5e_xsk_alloc_rx_mpwqe() 254 struct mlx5e_xdp_buff *mxbuf = xsk_buff_to_mxbuf(wi->alloc_units.xsk_buffs[page_idx]); in mlx5e_xsk_skb_from_cqe_mpwrq_linear() local 271 mxbuf->cqe = cqe; in mlx5e_xsk_skb_from_cqe_mpwrq_linear() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 1657 struct mlx5e_xdp_buff *mxbuf) in mlx5e_fill_mxbuf() argument 1659 xdp_init_buff(&mxbuf->xdp, frame_sz, &rq->xdp_rxq); in mlx5e_fill_mxbuf() 1660 xdp_prepare_buff(&mxbuf->xdp, va, headroom, len, true); in mlx5e_fill_mxbuf() 1661 mxbuf->cqe = cqe; in mlx5e_fill_mxbuf() 1662 mxbuf->rq = rq; in mlx5e_fill_mxbuf() 1689 struct mlx5e_xdp_buff mxbuf; in mlx5e_skb_from_cqe_linear() local 1693 cqe_bcnt, &mxbuf); in mlx5e_skb_from_cqe_linear() 1694 if (mlx5e_xdp_handle(rq, prog, &mxbuf)) in mlx5e_skb_from_cqe_linear() 1697 rx_headroom = mxbuf.xdp.data - mxbuf.xdp.data_hard_start; in mlx5e_skb_from_cqe_linear() 1698 metasize = mxbuf.xdp.data - mxbuf.xdp.data_meta; in mlx5e_skb_from_cqe_linear() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 719 struct mlx4_en_xdp_buff mxbuf = {}; in mlx4_en_process_rx_cq() local 736 xdp_init_buff(&mxbuf.xdp, priv->frag_info[0].frag_stride, &ring->xdp_rxq); in mlx4_en_process_rx_cq() 831 xdp_prepare_buff(&mxbuf.xdp, va - frags[0].page_offset, in mlx4_en_process_rx_cq() 833 orig_data = mxbuf.xdp.data; in mlx4_en_process_rx_cq() 834 mxbuf.cqe = cqe; in mlx4_en_process_rx_cq() 835 mxbuf.mdev = priv->mdev; in mlx4_en_process_rx_cq() 836 mxbuf.ring = ring; in mlx4_en_process_rx_cq() 837 mxbuf.dev = dev; in mlx4_en_process_rx_cq() 839 act = bpf_prog_run_xdp(xdp_prog, &mxbuf.xdp); in mlx4_en_process_rx_cq() 841 length = mxbuf.xdp.data_end - mxbuf.xdp.data; in mlx4_en_process_rx_cq() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 312 struct bpf_prog *prog, struct mlx5e_xdp_buff *mxbuf) in mlx5e_xdp_handle() argument 314 struct xdp_buff *xdp = &mxbuf->xdp; in mlx5e_xdp_handle()
|