Searched refs:frag_info (Results 1 – 6 of 6) sorted by relevance
121 cpu_to_be32(priv->frag_info[i].frag_size); in mlx4_en_init_rx_desc()475 const struct mlx4_en_frag_info *frag_info = priv->frag_info; in mlx4_en_complete_rx_desc() local484 frag_size = min_t(int, length, frag_info->frag_size); in mlx4_en_complete_rx_desc()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()511 release = frags->page_offset + frag_info->frag_size > PAGE_SIZE; in mlx4_en_complete_rx_desc()524 frag_info++; 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()828 priv->frag_info[0].frag_size, in mlx4_en_process_rx_cq()1060 priv->frag_info[0].frag_size = eff_mtu; in mlx4_en_calc_rx_buf()[all …]
590 struct mlx4_en_frag_info frag_info[MLX4_EN_MAX_RX_FRAGS]; member
180 off->frag_info_offset = __cpu_to_le16(desc_offset(frag_info)); in ath10k_rx_desc_wcn3990_get_offsets()203 return &rx_desc->frag_info.common; in ath10k_rx_desc_wcn3990_get_frag_info()
2111 struct rx_frag_info frag_info; member2134 struct rx_frag_info_v1 frag_info; member2232 off->frag_info_offset = __cpu_to_le16(desc_offset(frag_info)); in ath10k_htt_rx_desc_get_offsets()2258 return &rx_desc->frag_info.common; in ath10k_htt_rx_desc_get_frag_info()
1717 struct mlx5e_rq_frag_info *frag_info = &rq->wqe.info.arr[0]; in mlx5e_skb_from_cqe_nonlinear() local1733 frag_consumed_bytes = min_t(u32, frag_info->frag_size, cqe_bcnt); in mlx5e_skb_from_cqe_nonlinear()1747 frag_info++; in mlx5e_skb_from_cqe_nonlinear()1753 frag_consumed_bytes = min_t(u32, frag_info->frag_size, cqe_bcnt); in mlx5e_skb_from_cqe_nonlinear()1757 truesize += frag_info->frag_stride; in mlx5e_skb_from_cqe_nonlinear()1760 frag_info++; in mlx5e_skb_from_cqe_nonlinear()
618 struct mlx5e_rq_frag_info *frag_info = &rq->wqe.info.arr[0]; in mlx5e_init_frags_partition() local624 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()