Searched refs:frag_info (Results 1 – 7 of 7) sorted by relevance
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() local481 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()686 xdp.frame_sz = priv->frag_info[0].frag_stride; in mlx4_en_process_rx_cq()777 priv->frag_info[0].frag_size, in mlx4_en_process_rx_cq()1003 priv->frag_info[0].frag_size = eff_mtu; in mlx4_en_calc_rx_buf()[all …]
595 struct mlx4_en_frag_info frag_info[MLX4_EN_MAX_RX_FRAGS]; member
1175 struct mlx5e_rq_frag_info *frag_info = &rq->wqe.info.arr[0]; in mlx5e_skb_from_cqe_nonlinear() local1196 min_t(u16, frag_info->frag_size - frag_headlen, byte_cnt); in mlx5e_skb_from_cqe_nonlinear()1199 frag_consumed_bytes, frag_info->frag_stride); in mlx5e_skb_from_cqe_nonlinear()1202 frag_info++; in mlx5e_skb_from_cqe_nonlinear()
320 struct mlx5e_rq_frag_info *frag_info = &rq->wqe.info.arr[0]; in mlx5e_init_frags_partition() local326 if (next_frag.offset + frag_info[f].frag_stride > PAGE_SIZE) { in mlx5e_init_frags_partition()335 next_frag.offset += frag_info[f].frag_stride; in mlx5e_init_frags_partition()
812 ring->frag_info_offset = __cpu_to_le16(desc_offset(frag_info)); in ath10k_htt_fill_rx_desc_offset_32()831 ring->frag_info_offset = __cpu_to_le16(desc_offset(frag_info)); in ath10k_htt_fill_rx_desc_offset_64()
2201 struct rx_frag_info frag_info; member
390 msdu_chained = rx_desc->frag_info.ring2_more_count; in ath10k_htt_rx_amsdu_pop()2102 skb_queue_len(amsdu) != 1 + rxd->frag_info.ring2_more_count) { in ath10k_htt_rx_h_unchain()