Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c171 if (ret < cmd->vars.max_reg_cmds) { in cmd_alloc_index()
178 return ret < cmd->vars.max_reg_cmds ? ret : -ENOMEM; in cmd_alloc_index()
1026 ent->idx = cmd->vars.max_reg_cmds; in cmd_work_handler()
1610 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_allowed_opcode()
1617 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_allowed_opcode()
1626 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_change_mod()
1633 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_change_mod()
1818 for (i = 0; i < cmd->vars.max_reg_cmds; i++) { in mlx5_cmd_flush()
1832 for (i = 0; i < cmd->vars.max_reg_cmds; i++) in mlx5_cmd_flush()
2435 sema_init(&cmd->vars.sem, cmd->vars.max_reg_cmds); in mlx5_cmd_enable()
[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-6.15/include/linux/mlx5/
H A Ddriver.h302 int max_reg_cmds; member