From nobody Wed Sep 04 08:50:22 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WzGR23hRVz5TRm1; Wed, 04 Sep 2024 08:50:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WzGR232B3z4W32; Wed, 4 Sep 2024 08:50:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725439822; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KLOqnt29J4PDA2rvndkr0oJkEinZ6jAaRngUKzBHmCc=; b=jUWH32u/HG19hTpZByaZ64G8/M1NdEt2GTLhZo70/5TZP5r7aqu02hCEl1/uO9baoZIUmi 2N6N7q7eSDCVLKXx7syhIbQjKlowECz1DIK0W5C98BSNvhuBMO8ys14WndI6PTQ6Bb+Jj7 6I9YsEhS4DwzwuyWEQFEjBZFqq2fmVNkxaMa7rl8NncOi2YQTNXnkJ/V4zTjILMhDPQhJZ db+fZebMUHvsSeTInQ+kSUPcfjUeicx5iOHt+XVsQ0lnJkQkb5lBQRTTcfva6lVSVCQ32n f1Ynf07tZThHp2zMCJP6/PwBQjYimMLPfiT9rWHzkqLbKdot6nO7ece/25I3TQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725439822; a=rsa-sha256; cv=none; b=gKbRnmea8btdlnX5+uIefk2kGT/KJgTQqzwza3gNwIUisG95GFhtscCYh36QHXHTooLtVX IEmLNRqHq4K2RD35LuNNvQQECIH6p5uDbvpxiIY/yKrScfTUYAVTVDT5C26z4ADEO9BDL+ KUE1mg15gW5OBEmggWkw/93tIaaNO1ry6M8WsS89+DNEss5KHwk0Ui0bgxBut7Fod/hGr+ uILJ3whAoM6ko+G97jSAZjxZv8LXOcTxyhwbzslZ5EFOgj0d6Sz1AS+g9Gj7GuDkh80aJw 9TW4MNwK7/1KzLfmbG7WGipi5xqi19z4by1X8eHLo5j2Ur1LuU+lbCMPPvYXOA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725439822; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KLOqnt29J4PDA2rvndkr0oJkEinZ6jAaRngUKzBHmCc=; b=s86t4wPoznRuz1W6UPBYoheO3q/5JH73ezo+Dx43HLU5z5O6caPrOQVWADxmeP1FD0zp04 njSvwrtGffWzWKMF8lT8yMIfQSPz9fhCfI76dFraRzMnApwwBCecZgEjL5+k4GYQthHn3e Mr/4ES7BIH4U5403RcwsVszObIbgAir7F0b43ZXG7Y1VTVXA8dyvwzfh/qxt8OQJEjOfVf yCWhy6HlGvhffHHrDfLpZlRf0CzOGxzM4AWSkpqe1bcywLOmF0wrGpmkgYhGOBXKL7f5GV d9R5EiwDQXY1L7sI5blSeM1GEejYrXYDEtCN+7sE8gNmHNLcnYY0gQSf+/0B+A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WzGR22dZfzHW4; Wed, 4 Sep 2024 08:50:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4848oMb7096708; Wed, 4 Sep 2024 08:50:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4848oMDu096705; Wed, 4 Sep 2024 08:50:22 GMT (envelope-from git) Date: Wed, 4 Sep 2024 08:50:22 GMT Message-Id: <202409040850.4848oMDu096705@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 957e389ca77c - main - dev/mlx5: remove some duplicated macros from device.h List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 957e389ca77c8bceec15a685d01888a41ce73681 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=957e389ca77c8bceec15a685d01888a41ce73681 commit 957e389ca77c8bceec15a685d01888a41ce73681 Author: Konstantin Belousov AuthorDate: 2024-08-30 23:38:19 +0000 Commit: Konstantin Belousov CommitDate: 2024-09-04 08:49:38 +0000 dev/mlx5: remove some duplicated macros from device.h Sponsored by: NVidia networking --- sys/dev/mlx5/device.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/sys/dev/mlx5/device.h b/sys/dev/mlx5/device.h index 50995d4f70a7..67c129a0f2b3 100644 --- a/sys/dev/mlx5/device.h +++ b/sys/dev/mlx5/device.h @@ -1123,24 +1123,6 @@ enum mlx5_mcam_feature_groups { #define MLX5_CAP_FLOWTABLE_RDMA_TX_MAX(mdev, cap) \ MLX5_CAP_FLOWTABLE_MAX(mdev, flow_table_properties_nic_transmit_rdma.cap) -#define MLX5_CAP_FLOWTABLE_NIC_TX(mdev, cap) \ - MLX5_CAP_FLOWTABLE(mdev, flow_table_properties_nic_transmit.cap) - -#define MLX5_CAP_FLOWTABLE_NIC_TX_MAX(mdev, cap) \ - MLX5_CAP_FLOWTABLE_MAX(mdev, flow_table_properties_nic_transmit.cap) - -#define MLX5_CAP_FLOWTABLE_RDMA_RX(mdev, cap) \ - MLX5_CAP_FLOWTABLE(mdev, flow_table_properties_nic_receive_rdma.cap) - -#define MLX5_CAP_FLOWTABLE_RDMA_RX_MAX(mdev, cap) \ - MLX5_CAP_FLOWTABLE_MAX(mdev, flow_table_properties_nic_receive_rdma.cap) - -#define MLX5_CAP_FLOWTABLE_RDMA_TX(mdev, cap) \ - MLX5_CAP_FLOWTABLE(mdev, flow_table_properties_nic_transmit_rdma.cap) - -#define MLX5_CAP_FLOWTABLE_RDMA_TX_MAX(mdev, cap) \ - MLX5_CAP_FLOWTABLE_MAX(mdev, flow_table_properties_nic_transmit_rdma.cap) - #define MLX5_CAP_ESW_FLOWTABLE(mdev, cap) \ MLX5_GET(flow_table_eswitch_cap, \ mdev->hca_caps_cur[MLX5_CAP_ESWITCH_FLOW_TABLE], cap)