Lines Matching defs:mxbuf

1663 			     struct mlx5e_xdp_buff *mxbuf)
1665 xdp_init_buff(&mxbuf->xdp, frame_sz, &rq->xdp_rxq);
1666 xdp_prepare_buff(&mxbuf->xdp, va, headroom, len, true);
1667 mxbuf->cqe = cqe;
1668 mxbuf->rq = rq;
1695 struct mlx5e_xdp_buff mxbuf;
1699 cqe_bcnt, &mxbuf);
1700 if (mlx5e_xdp_handle(rq, prog, &mxbuf))
1703 rx_headroom = mxbuf.xdp.data - mxbuf.xdp.data_hard_start;
1704 metasize = mxbuf.xdp.data - mxbuf.xdp.data_meta;
1705 cqe_bcnt = mxbuf.xdp.data_end - mxbuf.xdp.data;
1728 struct mlx5e_xdp_buff mxbuf;
1748 frag_consumed_bytes, &mxbuf);
1749 sinfo = xdp_get_shared_info_from_buff(&mxbuf.xdp);
1761 mlx5e_add_skb_shared_info_frag(rq, sinfo, &mxbuf.xdp, frag_page,
1771 if (prog && mlx5e_xdp_handle(rq, prog, &mxbuf)) {
1781 skb = mlx5e_build_linear_skb(rq, mxbuf.xdp.data_hard_start, rq->buff.frame0_sz,
1782 mxbuf.xdp.data - mxbuf.xdp.data_hard_start,
1783 mxbuf.xdp.data_end - mxbuf.xdp.data,
1784 mxbuf.xdp.data - mxbuf.xdp.data_meta);
1791 if (xdp_buff_has_frags(&mxbuf.xdp)) {
1795 xdp_buff_is_frag_pfmemalloc(&mxbuf.xdp));
2004 struct mlx5e_xdp_buff mxbuf;
2050 mlx5e_fill_mxbuf(rq, cqe, va, linear_hr, linear_frame_sz, linear_data_len, &mxbuf);
2052 sinfo = xdp_get_shared_info_from_buff(&mxbuf.xdp);
2063 mlx5e_add_skb_shared_info_frag(rq, sinfo, &mxbuf.xdp, frag_page, frag_offset,
2071 if (mlx5e_xdp_handle(rq, prog, &mxbuf)) {
2084 skb = mlx5e_build_linear_skb(rq, mxbuf.xdp.data_hard_start,
2086 mxbuf.xdp.data - mxbuf.xdp.data_hard_start, 0,
2087 mxbuf.xdp.data - mxbuf.xdp.data_meta);
2097 if (xdp_buff_has_frags(&mxbuf.xdp)) {
2103 xdp_buff_is_frag_pfmemalloc(&mxbuf.xdp));
2114 if (xdp_buff_has_frags(&mxbuf.xdp)) {
2119 xdp_buff_is_frag_pfmemalloc(&mxbuf.xdp));
2169 struct mlx5e_xdp_buff mxbuf;
2173 cqe_bcnt, &mxbuf);
2174 if (mlx5e_xdp_handle(rq, prog, &mxbuf)) {
2180 rx_headroom = mxbuf.xdp.data - mxbuf.xdp.data_hard_start;
2181 metasize = mxbuf.xdp.data - mxbuf.xdp.data_meta;
2182 cqe_bcnt = mxbuf.xdp.data_end - mxbuf.xdp.data;