Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c321 u8 log_stride_sz, u8 log_num_strides, in mlx5e_verify_rx_mpwqe_strides() argument
325 if (log_stride_sz + log_num_strides != in mlx5e_verify_rx_mpwqe_strides()
329 if (log_stride_sz < MLX5_MPWQE_LOG_STRIDE_SZ_BASE || in mlx5e_verify_rx_mpwqe_strides()
330 log_stride_sz > MLX5_MPWQE_LOG_STRIDE_SZ_MAX) in mlx5e_verify_rx_mpwqe_strides()
363 u8 log_stride_sz; in mlx5e_rx_mpwqe_is_linear_skb() local
369 log_stride_sz = order_base_2(mlx5e_rx_get_linear_stride_sz(mdev, params, xsk, true)); in mlx5e_rx_mpwqe_is_linear_skb()
372 if (log_wqe_sz < log_stride_sz) in mlx5e_rx_mpwqe_is_linear_skb()
375 log_num_strides = log_wqe_sz - log_stride_sz; in mlx5e_rx_mpwqe_is_linear_skb()
377 return mlx5e_verify_rx_mpwqe_strides(mdev, log_stride_sz, in mlx5e_rx_mpwqe_is_linear_skb()
833 u8 log_stride_sz = mlx5e_mpwqe_get_log_stride_size(mdev, params, xsk); in mlx5e_shampo_get_log_cq_size() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c1907 u32 wqe_offset = stride_ix << rq->mpwqe.log_stride_sz; in mlx5e_handle_rx_cqe_mpwrq_rep()
2047 truesize += ALIGN(pg_consumed_bytes, BIT(rq->mpwqe.log_stride_sz)); in mlx5e_skb_from_cqe_mpwrq_nonlinear()
2236 mlx5e_shampo_align_fragment(struct sk_buff *skb, u8 log_stride_sz) in mlx5e_shampo_align_fragment() argument
2242 frag_truesize = ALIGN(frag_size, BIT(log_stride_sz)); in mlx5e_shampo_align_fragment()
2254 mlx5e_shampo_align_fragment(skb, rq->mpwqe.log_stride_sz); in mlx5e_shampo_flush_skb()
2377 u32 wqe_offset = stride_ix << rq->mpwqe.log_stride_sz; in mlx5e_handle_rx_cqe_mpwrq()
H A Den.h669 u8 log_stride_sz; member
H A Den_main.c874 rq->mpwqe.log_stride_sz = mlx5e_mpwqe_get_log_stride_size(mdev, params, xsk); in mlx5e_alloc_rq()
879 rq->buff.frame0_sz = (1 << rq->mpwqe.log_stride_sz); in mlx5e_alloc_rq()
953 rq->mpwqe.num_strides << rq->mpwqe.log_stride_sz; in mlx5e_alloc_rq()