Author: hselasky
Date: Wed Dec 25 09:32:55 2019
New Revision: 356072
URL: https://svnweb.freebsd.org/changeset/base/356072

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/12/sys/dev/mlx5/qp.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/mlx5/qp.h
==============================================================================
--- stable/12/sys/dev/mlx5/qp.h Wed Dec 25 09:30:10 2019        (r356071)
+++ stable/12/sys/dev/mlx5/qp.h Wed Dec 25 09:32:55 2019        (r356072)
@@ -143,11 +143,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 {
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to