Home
last modified time | relevance | path

Searched refs:max_reg_cmds (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c165 ret = find_first_bit(&cmd->vars.bitmask, cmd->vars.max_reg_cmds); in cmd_alloc_index()
166 if (ret < cmd->vars.max_reg_cmds) { in cmd_alloc_index()
173 return ret < cmd->vars.max_reg_cmds ? ret : -ENOMEM; in cmd_alloc_index()
1021 ent->idx = cmd->vars.max_reg_cmds; in cmd_work_handler()
1605 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_allowed_opcode()
1612 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_allowed_opcode()
1621 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_change_mod()
1628 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_change_mod()
1770 #define MLX5_CMD_MASK ((1UL << (cmd->vars.max_reg_cmds + \
1813 for (i = 0; i < cmd->vars.max_reg_cmds; i++) { in mlx5_cmd_flush()
[all …]
H A Ddebugfs.c189 weight = bitmap_weight(&cmd->vars.bitmask, cmd->vars.max_reg_cmds); in slots_read()
190 field = cmd->vars.max_reg_cmds - weight; in slots_read()
/linux/include/linux/mlx5/
H A Ddriver.h303 int max_reg_cmds; member