Use correct Q-counter output array.
Sponsored by: Mellanox Technologies Approved by: re (kib) MFC after: 3 days
This commit is contained in:
parent
55b8cd93ef
commit
5b0c29decf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302139
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user