Searched refs:log_stride (Results 1 – 6 of 6) sorted by relevance
277 u8 log_stride; member336 u8 log_stride; member848 u8 log_stride, u8 log_sz, in mlx5_init_fbc_offset() argument853 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() argument865 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()
37 static u32 wq_get_byte_sz(u8 log_sz, u8 log_stride) in wq_get_byte_sz() argument39 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()
187 return wq->fbc.log_stride; in mlx5_cqwq_get_log_stride_size()205 cqe += wq->fbc.log_stride == 7; in mlx5_cqwq_get_wqe()
163 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()
138 (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()
345 u16 log_stride; member