We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4774e9 commit 9c86513Copy full SHA for 9c86513
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
@@ -1512,7 +1512,7 @@ int mlx5_cmd_status_to_err(struct mlx5_outbox_hdr *hdr)
1512
case MLX5_CMD_STAT_BAD_SYS_STATE_ERR: return -EIO;
1513
case MLX5_CMD_STAT_BAD_RES_ERR: return -EINVAL;
1514
case MLX5_CMD_STAT_RES_BUSY: return -EBUSY;
1515
- case MLX5_CMD_STAT_LIM_ERR: return -EINVAL;
+ case MLX5_CMD_STAT_LIM_ERR: return -ENOMEM;
1516
case MLX5_CMD_STAT_BAD_RES_STATE_ERR: return -EINVAL;
1517
case MLX5_CMD_STAT_IX_ERR: return -EINVAL;
1518
case MLX5_CMD_STAT_NO_RES_ERR: return -EAGAIN;
0 commit comments