Home
last modified time | relevance | path

Searched refs:frag_info (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c118 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()
[all …]
Dmlx4_en.h578 struct mlx4_en_frag_info frag_info[MLX4_EN_MAX_RX_FRAGS]; member
/drivers/net/wireless/ath/ath10k/
Dhtt.c179 off->frag_info_offset = __cpu_to_le16(desc_offset(frag_info)); in ath10k_rx_desc_wcn3990_get_offsets()
202 return &rx_desc->frag_info.common; in ath10k_rx_desc_wcn3990_get_frag_info()
Dhtt.h2105 struct rx_frag_info frag_info; member
2128 struct rx_frag_info_v1 frag_info; member
2226 off->frag_info_offset = __cpu_to_le16(desc_offset(frag_info)); in ath10k_htt_rx_desc_get_offsets()
2252 return &rx_desc->frag_info.common; in ath10k_htt_rx_desc_get_frag_info()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1573 struct mlx5e_rq_frag_info *frag_info = &rq->wqe.info.arr[0]; in mlx5e_skb_from_cqe_nonlinear() local
1587 frag_consumed_bytes = min_t(u32, frag_info->frag_size, cqe_bcnt); in mlx5e_skb_from_cqe_nonlinear()
1600 frag_info++; in mlx5e_skb_from_cqe_nonlinear()
1608 frag_consumed_bytes = min_t(u32, frag_info->frag_size, cqe_bcnt); in mlx5e_skb_from_cqe_nonlinear()
1632 truesize += frag_info->frag_stride; in mlx5e_skb_from_cqe_nonlinear()
1635 frag_info++; in mlx5e_skb_from_cqe_nonlinear()
Den_main.c506 struct mlx5e_rq_frag_info *frag_info = &rq->wqe.info.arr[0]; in mlx5e_init_frags_partition() local
512 if (next_frag.offset + frag_info[f].frag_stride > PAGE_SIZE) { in mlx5e_init_frags_partition()
521 next_frag.offset += frag_info[f].frag_stride; in mlx5e_init_frags_partition()