Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c95 u8 log_stride_sz, u8 log_num_strides) in mlx5e_verify_rx_mpwqe_strides() argument
97 if (log_stride_sz + log_num_strides != MLX5_MPWRQ_LOG_WQE_SZ) in mlx5e_verify_rx_mpwqe_strides()
100 if (log_stride_sz < MLX5_MPWQE_LOG_STRIDE_SZ_BASE || in mlx5e_verify_rx_mpwqe_strides()
101 log_stride_sz > MLX5_MPWQE_LOG_STRIDE_SZ_MAX) in mlx5e_verify_rx_mpwqe_strides()
118 u8 log_stride_sz; in mlx5e_rx_mpwqe_is_linear_skb() local
123 log_stride_sz = order_base_2(mlx5e_rx_get_linear_frag_sz(params, xsk)); in mlx5e_rx_mpwqe_is_linear_skb()
124 log_num_strides = MLX5_MPWRQ_LOG_WQE_SZ - log_stride_sz; in mlx5e_rx_mpwqe_is_linear_skb()
126 return mlx5e_verify_rx_mpwqe_strides(mdev, log_stride_sz, log_num_strides); in mlx5e_rx_mpwqe_is_linear_skb()
Dparams.h100 u8 log_stride_sz, u8 log_num_strides);
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1338 u32 wqe_offset = stride_ix << rq->mpwqe.log_stride_sz; in mlx5e_handle_rx_cqe_mpwrq_rep()
1429 ALIGN(pg_consumed_bytes, BIT(rq->mpwqe.log_stride_sz)); in mlx5e_skb_from_cqe_mpwrq_nonlinear()
1498 u32 wqe_offset = stride_ix << rq->mpwqe.log_stride_sz; in mlx5e_handle_rx_cqe_mpwrq()
Den.h628 u8 log_stride_sz; member
Den_main.c450 rq->mpwqe.log_stride_sz = mlx5e_mpwqe_get_log_stride_size(mdev, params, xsk); in mlx5e_alloc_rq()
454 rq->buff.frame0_sz = (1 << rq->mpwqe.log_stride_sz); in mlx5e_alloc_rq()
530 rq->mpwqe.num_strides << rq->mpwqe.log_stride_sz; in mlx5e_alloc_rq()