diff options
author | hselasky <hselasky@FreeBSD.org> | 2016-06-23 09:23:37 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2016-06-23 09:23:37 +0000 |
commit | 16acbc91020f45db9a00908b62cdb949646d1ca7 (patch) | |
tree | 1707a8efb67e0435d34d5b2b9e3b3059f207cc2d /sys/dev/mlx5 | |
parent | c2c8b26056f49e8e24af3791edca02ef39e09166 (diff) | |
download | FreeBSD-src-16acbc91020f45db9a00908b62cdb949646d1ca7.zip FreeBSD-src-16acbc91020f45db9a00908b62cdb949646d1ca7.tar.gz |
Use correct Q-counter output array.
Sponsored by: Mellanox Technologies
Approved by: re (kib)
MFC after: 3 days
Diffstat (limited to 'sys/dev/mlx5')
-rw-r--r-- | sys/dev/mlx5/mlx5_core/mlx5_vport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mlx5/mlx5_core/mlx5_vport.c b/sys/dev/mlx5/mlx5_core/mlx5_vport.c index 6ef5019..a3e1751 100644 --- a/sys/dev/mlx5/mlx5_core/mlx5_vport.c +++ b/sys/dev/mlx5/mlx5_core/mlx5_vport.c @@ -71,7 +71,7 @@ static int mlx5_query_nic_vport_context(struct mlx5_core_dev *mdev, u32 vport, int mlx5_vport_alloc_q_counter(struct mlx5_core_dev *mdev, int *counter_set_id) { u32 in[MLX5_ST_SZ_DW(alloc_q_counter_in)]; - u32 out[MLX5_ST_SZ_DW(alloc_q_counter_in)]; + u32 out[MLX5_ST_SZ_DW(alloc_q_counter_out)]; int err; memset(in, 0, sizeof(in)); |