Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2019 09:34:17 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r356074 - stable/10/sys/dev/mlx5
Message-ID:  <201912250934.xBP9YHF1045407@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Wed Dec 25 09:34:16 2019
New Revision: 356074
URL: https://svnweb.freebsd.org/changeset/base/356074

Log:
  MFC r355447:
  Fix compilation issue with mlx5core and sparc64 (gcc48):
  
  sys/dev/mlx5/mlx5_en/mlx5_en_tx.c:335: error: requested alignment is not a constant
  
  Sponsored by:	Mellanox Technologies

Modified:
  stable/10/sys/dev/mlx5/qp.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/mlx5/qp.h
==============================================================================
--- stable/10/sys/dev/mlx5/qp.h	Wed Dec 25 09:33:37 2019	(r356073)
+++ stable/10/sys/dev/mlx5/qp.h	Wed Dec 25 09:34:16 2019	(r356074)
@@ -135,11 +135,8 @@ enum {
 	MLX5_WQE_CTRL_SOLICITED		= 1 << 1,
 };
 
-enum {
-	MLX5_SEND_WQE_DS	= 16,
-	MLX5_SEND_WQE_BB	= 64,
-};
-
+#define	MLX5_SEND_WQE_DS	16
+#define	MLX5_SEND_WQE_BB	64
 #define MLX5_SEND_WQEBB_NUM_DS	(MLX5_SEND_WQE_BB / MLX5_SEND_WQE_DS)
 
 enum {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912250934.xBP9YHF1045407>