Home
last modified time | relevance | path

Searched refs:log_stride_sz (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c306 u8 log_stride_sz, u8 log_num_strides, in mlx5e_verify_rx_mpwqe_strides() argument
310 if (log_stride_sz + log_num_strides != in mlx5e_verify_rx_mpwqe_strides()
314 if (log_stride_sz < MLX5_MPWQE_LOG_STRIDE_SZ_BASE || in mlx5e_verify_rx_mpwqe_strides()
315 log_stride_sz > MLX5_MPWQE_LOG_STRIDE_SZ_MAX) in mlx5e_verify_rx_mpwqe_strides()
348 u8 log_stride_sz; in mlx5e_rx_mpwqe_is_linear_skb() local
354 log_stride_sz = order_base_2(mlx5e_rx_get_linear_stride_sz(mdev, params, xsk, true)); in mlx5e_rx_mpwqe_is_linear_skb()
357 if (log_wqe_sz < log_stride_sz) in mlx5e_rx_mpwqe_is_linear_skb()
360 log_num_strides = log_wqe_sz - log_stride_sz; in mlx5e_rx_mpwqe_is_linear_skb()
362 return mlx5e_verify_rx_mpwqe_strides(mdev, log_stride_sz, in mlx5e_rx_mpwqe_is_linear_skb()
887 u8 log_stride_sz = mlx5e_mpwqe_get_log_stride_size(mdev, params, xsk); in mlx5e_shampo_get_log_cq_size() local
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1915 u32 wqe_offset = stride_ix << rq->mpwqe.log_stride_sz; in mlx5e_handle_rx_cqe_mpwrq_rep()
1981 truesize = ALIGN(pg_consumed_bytes, BIT(rq->mpwqe.log_stride_sz)); in mlx5e_fill_skb_data()
2061 truesize += ALIGN(pg_consumed_bytes, BIT(rq->mpwqe.log_stride_sz)); in mlx5e_skb_from_cqe_mpwrq_nonlinear()
2249 mlx5e_shampo_align_fragment(struct sk_buff *skb, u8 log_stride_sz) in mlx5e_shampo_align_fragment() argument
2255 frag_truesize = ALIGN(frag_size, BIT(log_stride_sz)); in mlx5e_shampo_align_fragment()
2267 mlx5e_shampo_align_fragment(skb, rq->mpwqe.log_stride_sz); in mlx5e_shampo_flush_skb()
2391 u32 wqe_offset = stride_ix << rq->mpwqe.log_stride_sz; in mlx5e_handle_rx_cqe_mpwrq()
Den.h676 u8 log_stride_sz; member
Den_main.c790 rq->mpwqe.log_stride_sz = mlx5e_mpwqe_get_log_stride_size(mdev, params, xsk); in mlx5e_alloc_rq()
795 rq->buff.frame0_sz = (1 << rq->mpwqe.log_stride_sz); in mlx5e_alloc_rq()
868 rq->mpwqe.num_strides << rq->mpwqe.log_stride_sz; in mlx5e_alloc_rq()