Date: Thu, 23 Jun 2016 09:23:37 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r302139 - head/sys/dev/mlx5/mlx5_core Message-ID: <201606230923.u5N9Nb6g073680@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606230923.u5N9Nb6g073680>