Lines Matching refs:frag_info
118 cpu_to_be32(priv->frag_info[i].frag_size); in mlx4_en_init_rx_desc()
472 const struct mlx4_en_frag_info *frag_info = priv->frag_info; in mlx4_en_complete_rx_desc() local
481 frag_size = min_t(int, length, frag_info->frag_size); in mlx4_en_complete_rx_desc()
494 truesize += frag_info->frag_stride; in mlx4_en_complete_rx_desc()
495 if (frag_info->frag_stride == PAGE_SIZE / 2) { in mlx4_en_complete_rx_desc()
508 release = frags->page_offset + frag_info->frag_size > PAGE_SIZE; in mlx4_en_complete_rx_desc()
521 frag_info++; in mlx4_en_complete_rx_desc()
684 xdp_init_buff(&xdp, priv->frag_info[0].frag_stride, &ring->xdp_rxq); in mlx4_en_process_rx_cq()
776 priv->frag_info[0].frag_size, in mlx4_en_process_rx_cq()
1004 priv->frag_info[0].frag_size = eff_mtu; in mlx4_en_calc_rx_buf()
1008 priv->frag_info[0].frag_stride = PAGE_SIZE; in mlx4_en_calc_rx_buf()
1026 priv->frag_info[i].frag_size = frag_size; in mlx4_en_calc_rx_buf()
1034 priv->frag_info[i].frag_stride = frag_stride + pad; in mlx4_en_calc_rx_buf()
1054 priv->frag_info[i].frag_size, in mlx4_en_calc_rx_buf()
1055 priv->frag_info[i].frag_stride); in mlx4_en_calc_rx_buf()