Date: Fri, 6 Dec 2019 16:20:22 +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: r355447 - head/sys/dev/mlx5 Message-ID: <201912061620.xB6GKMth030400@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Fri Dec 6 16:20:22 2019 New Revision: 355447 URL: https://svnweb.freebsd.org/changeset/base/355447 Log: 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 MFC after: 1 week Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/qp.h Modified: head/sys/dev/mlx5/qp.h ============================================================================== --- head/sys/dev/mlx5/qp.h Fri Dec 6 15:36:32 2019 (r355446) +++ head/sys/dev/mlx5/qp.h Fri Dec 6 16:20:22 2019 (r355447) @@ -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 {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912061620.xB6GKMth030400>