Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h277 u8 log_stride; member
336 u8 log_stride; member
848 u8 log_stride, u8 log_sz, in mlx5_init_fbc_offset() argument
853 fbc->log_stride = log_stride; in mlx5_init_fbc_offset()
856 fbc->log_frag_strides = PAGE_SHIFT - fbc->log_stride; in mlx5_init_fbc_offset()
862 u8 log_stride, u8 log_sz, in mlx5_init_fbc() argument
865 mlx5_init_fbc_offset(frags, log_stride, log_sz, 0, fbc); in mlx5_init_fbc()
876 return fbc->frags[frag].buf + ((fbc->frag_sz_m1 & ix) << fbc->log_stride); in mlx5_frag_buf_get_wqe()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dwq.c37 static u32 wq_get_byte_sz(u8 log_sz, u8 log_stride) in wq_get_byte_sz() argument
39 return ((u32)1 << log_sz) << log_stride; in wq_get_byte_sz()
89 len = nstrides << wq->fbc.log_stride; in mlx5_wq_cyc_wqe_dump()
Dwq.h187 return wq->fbc.log_stride; in mlx5_cqwq_get_log_stride_size()
205 cqe += wq->fbc.log_stride == 7; in mlx5_cqwq_get_wqe()
Dcmd.c163 return cmd->cmd_buf + (idx << cmd->log_stride); in get_inst()
2049 cmd->log_stride = cmd_l & 0xf; in mlx5_cmd_init()
2057 if (cmd->log_sz + cmd->log_stride > MLX5_ADAPTER_PAGE_SHIFT) { in mlx5_cmd_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c138 (index << ring->log_stride); in mlx4_en_prepare_rx_desc()
283 ring->log_stride = ffs(ring->stride) - 1; in mlx4_en_create_rx_ring()
353 ring->log_stride = ffs(ring->stride) - 1; in mlx4_en_activate_rx_rings()
Dmlx4_en.h345 u16 log_stride; member