Searched refs:log_stride_sz (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | params.c | 306 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 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 889 int wqe_size = BIT(log_stride_sz) * num_strides; in mlx5e_shampo_get_log_cq_size() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rx.c | 1915 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() 2392 u32 wqe_offset = stride_ix << rq->mpwqe.log_stride_sz; in mlx5e_handle_rx_cqe_mpwrq()
|
H A D | en.h | 676 u8 log_stride_sz; member
|
H A D | en_main.c | 790 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()
|