svn commit: r302139 - head/sys/dev/mlx5/mlx5_core

Hans Petter Selasky hselasky at FreeBSD.org
Thu Jun 23 09:23:38 UTC 2016


Author: hselasky
Date: Thu Jun 23 09:23:37 2016
New Revision: 302139
URL: https://svnweb.freebsd.org/changeset/base/302139

Log:
  Use correct Q-counter output array.
  
  Sponsored by:	Mellanox Technologies
  Approved by:	re (kib)
  MFC after:	3 days

Modified:
  head/sys/dev/mlx5/mlx5_core/mlx5_vport.c

Modified: head/sys/dev/mlx5/mlx5_core/mlx5_vport.c
==============================================================================
--- head/sys/dev/mlx5/mlx5_core/mlx5_vport.c	Thu Jun 23 09:13:15 2016	(r302138)
+++ head/sys/dev/mlx5/mlx5_core/mlx5_vport.c	Thu Jun 23 09:23:37 2016	(r302139)
@@ -71,7 +71,7 @@ static int mlx5_query_nic_vport_context(
 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));


More information about the svn-src-all mailing list