Searched refs:frag_stride (Results 1 – 6 of 6) sorted by relevance
497 truesize += frag_info->frag_stride; in mlx4_en_complete_rx_desc()498 if (frag_info->frag_stride == PAGE_SIZE / 2) { in mlx4_en_complete_rx_desc()736 xdp_init_buff(&mxbuf.xdp, priv->frag_info[0].frag_stride, &ring->xdp_rxq); in mlx4_en_process_rx_cq()1064 priv->frag_info[0].frag_stride = PAGE_SIZE; in mlx4_en_calc_rx_buf()1076 int frag_stride, frag_size = eff_mtu - buf_size; in mlx4_en_calc_rx_buf() local1083 frag_stride = ALIGN(frag_size, SMP_CACHE_BYTES); in mlx4_en_calc_rx_buf()1087 nb = PAGE_SIZE / frag_stride; in mlx4_en_calc_rx_buf()1088 pad = (PAGE_SIZE - nb * frag_stride) / nb; in mlx4_en_calc_rx_buf()1090 priv->frag_info[i].frag_stride = frag_stride + pad; in mlx4_en_calc_rx_buf()1111 priv->frag_info[i].frag_stride); in mlx4_en_calc_rx_buf()
479 u32 frag_stride; member
647 sum_frag_strides += info->arr[i].frag_stride; in mlx5e_rx_compute_wqe_bulk_params()694 int frag_stride; in mlx5e_build_rq_frags_info() local696 frag_stride = mlx5e_rx_get_linear_stride_sz(mdev, params, xsk, false); in mlx5e_build_rq_frags_info()699 info->arr[0].frag_stride = frag_stride; in mlx5e_build_rq_frags_info()707 info->wqe_index_mask = (PAGE_SIZE / frag_stride) - 1; in mlx5e_build_rq_frags_info()744 info->arr[i].frag_stride = frag_size_max; in mlx5e_build_rq_frags_info()751 info->arr[i].frag_stride = roundup_pow_of_two(frag_size); in mlx5e_build_rq_frags_info()
605 int frag_stride; member
624 if (next_frag.offset + frag_info[f].frag_stride > PAGE_SIZE) { in mlx5e_init_frags_partition()634 next_frag.offset += frag_info[f].frag_stride; in mlx5e_init_frags_partition()650 WARN_ON(rq->wqe.info.arr[0].frag_stride != PAGE_SIZE); in mlx5e_init_xsk_buffs()912 rq->buff.frame0_sz = rq->wqe.info.arr[0].frag_stride; in mlx5e_alloc_rq()
1757 truesize += frag_info->frag_stride; in mlx5e_skb_from_cqe_nonlinear()