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 C121445FE6
	for <public@inbox.dpdk.org>; Wed, 29 Jan 2025 00:13:52 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id B627040270;
	Wed, 29 Jan 2025 00:13:52 +0100 (CET)
Received: from dpdk.org (dpdk.org [92.243.24.197])
 by mails.dpdk.org (Postfix) with ESMTP id 0567A4026F
 for <test-report@dpdk.org>; Wed, 29 Jan 2025 00:13:51 +0100 (CET)
Received: by dpdk.org (Postfix, from userid 65534)
 id B9637126FF4; Wed, 29 Jan 2025 00:12:49 +0100 (CET)
Subject: |WARNING| pw150592 [PATCH v3 2/2] net/af_xdp: Refactor af_xdp_tx_zc
In-Reply-To: <20250128231152.249497-3-ariel.otilibili@6wind.com>
References: <20250128231152.249497-3-ariel.otilibili@6wind.com>
To: test-report@dpdk.org
From: checkpatch@dpdk.org
Cc: Ariel Otilibili <ariel.otilibili@6wind.com>
Message-Id: <20250128231249.B9637126FF4@dpdk.org>
Date: Wed, 29 Jan 2025 00:12:49 +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/150592

_coding style issues_


ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#146: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:570:
+static struct rte_mbuf *
+maybe_create_mbuf(struct pkt_tx_queue *txq, uint32_t *idx_tx,
+		  struct xsk_umem_info *umem) {

ERROR:SPACING: space required before the open parenthesis '('
#171: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:595:
+	if(is_mbuf_equal)

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 18)
#240: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:635:
+		if (!local_mbuf)
+		  goto out;

WARNING:TABSTOP: Statements should start on a tabstop
#241: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:636:
+		  goto out;

total: 2 errors, 2 warnings, 0 checks, 158 lines checked