From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <test-report-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id A716543245
	for <public@inbox.dpdk.org>; Mon, 30 Oct 2023 18:45:36 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id A1E394026F;
	Mon, 30 Oct 2023 18:45:36 +0100 (CET)
Received: from dpdk.org (dpdk.org [92.243.24.197])
 by mails.dpdk.org (Postfix) with ESMTP id 7F3CE4026F
 for <test-report@dpdk.org>; Mon, 30 Oct 2023 18:45:35 +0100 (CET)
Received: by dpdk.org (Postfix, from userid 65534)
 id 6B370120A24; Mon, 30 Oct 2023 18:45:35 +0100 (CET)
Subject: |WARNING| pw133630 [PATCH] net/mlx5: reuse reformat and modify header
 actions in a table
In-Reply-To: <20231030174320.336504-1-getelson@nvidia.com>
References: <20231030174320.336504-1-getelson@nvidia.com>
To: test-report@dpdk.org
From: checkpatch@dpdk.org
Cc: Gregory Etelson <getelson@nvidia.com>
Message-Id: <20231030174535.6B370120A24@dpdk.org>
Date: Mon, 30 Oct 2023 18:45:35 +0100 (CET)
X-BeenThere: test-report@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: automatic DPDK test reports <test-report.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/test-report>,
 <mailto:test-report-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/test-report/>
List-Post: <mailto:test-report@dpdk.org>
List-Help: <mailto:test-report-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/test-report>,
 <mailto:test-report-request@dpdk.org?subject=subscribe>
Errors-To: test-report-bounces@dpdk.org

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/133630

_coding style issues_


CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'encap_type' may be better as '(encap_type)' to avoid precedence issues
#188: FILE: drivers/net/mlx5/mlx5_flow_hw.c:74:
+#define MLX5_CONST_ENCAP_ITEM(encap_type, ptr) \
+(((const struct encap_type *)(ptr))->definition)

total: 0 errors, 0 warnings, 1 checks, 754 lines checked
Warning in drivers/net/mlx5/mlx5_flow_hw.c:
Using __atomic_xxx/__ATOMIC_XXX built-ins, prefer rte_atomic_xxx/rte_memory_order_xxx