diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2025-02-09 00:09:28 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2025-02-13 10:32:32 +0000 |
commit | 2e794b7733444bf3582486b0097d8162685af464 (patch) | |
tree | 7dc4259dbd1b8d8519c01b439eebad9c9b8556af /sys/dev/mlx5/mlx5_core | |
parent | 571df2c64a3c1af1fe011303ec08e391e887ecbc (diff) |
mlx5: add synthetic error for MLX5_CMD_OP_QUERY_FLOW_COUNTER when device is down
Sponsored by: NVidia networking
Diffstat (limited to 'sys/dev/mlx5/mlx5_core')
-rw-r--r-- | sys/dev/mlx5/mlx5_core/mlx5_cmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mlx5/mlx5_core/mlx5_cmd.c b/sys/dev/mlx5/mlx5_core/mlx5_cmd.c index 8ce30bc24e50..a961c9d7c3dd 100644 --- a/sys/dev/mlx5/mlx5_core/mlx5_cmd.c +++ b/sys/dev/mlx5/mlx5_core/mlx5_cmd.c @@ -417,6 +417,7 @@ static int mlx5_internal_err_ret_value(struct mlx5_core_dev *dev, u16 op, case MLX5_CMD_OP_QUERY_VPORT_COUNTER: case MLX5_CMD_OP_ALLOC_Q_COUNTER: case MLX5_CMD_OP_QUERY_Q_COUNTER: + case MLX5_CMD_OP_QUERY_FLOW_COUNTER: case MLX5_CMD_OP_ALLOC_PD: case MLX5_CMD_OP_ALLOC_UAR: case MLX5_CMD_OP_CONFIG_INT_MODERATION: |