[dpdk-test-report] |WARNING| pw94720 [PATCH v4 24/62] net/cnxk: add Tx vector version for cn9k

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 23 06:50:53 CEST 2021


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

_coding style issues_


CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#723: FILE: drivers/net/cnxk/cn9k_tx.h:1082:
+			senddesc01_w1 = vaddq_u8(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#725: FILE: drivers/net/cnxk/cn9k_tx.h:1084:
+			senddesc23_w1 = vaddq_u8(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#774: FILE: drivers/net/cnxk/cn9k_tx.h:1133:
+				__mempool_check_cookies(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#781: FILE: drivers/net/cnxk/cn9k_tx.h:1140:
+				__mempool_check_cookies(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#788: FILE: drivers/net/cnxk/cn9k_tx.h:1147:
+				__mempool_check_cookies(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#795: FILE: drivers/net/cnxk/cn9k_tx.h:1154:
+				__mempool_check_cookies(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#814: FILE: drivers/net/cnxk/cn9k_tx.h:1173:
+			__mempool_check_cookies(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#818: FILE: drivers/net/cnxk/cn9k_tx.h:1177:
+			__mempool_check_cookies(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#822: FILE: drivers/net/cnxk/cn9k_tx.h:1181:
+			__mempool_check_cookies(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#826: FILE: drivers/net/cnxk/cn9k_tx.h:1185:
+			__mempool_check_cookies(

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'flags' - possible side-effects?
#905: FILE: drivers/net/cnxk/cn9k_tx_vec.c:8:
+#define T(name, f4, f3, f2, f1, f0, sz, flags)				       \
+	uint16_t __rte_noinline __rte_hot				       \
+		cn9k_nix_xmit_pkts_vec_##name(void *tx_queue,                  \
+					      struct rte_mbuf **tx_pkts,       \
+					      uint16_t pkts)                   \
+	{                                                                      \
+		uint64_t cmd[sz];                                              \
+									       \
+		/* VLAN, TSTMP, TSO is not supported by vec */                 \
+		if ((flags) & NIX_TX_OFFLOAD_VLAN_QINQ_F ||		       \
+		    (flags) & NIX_TX_OFFLOAD_TSO_F)			       \
+			return 0;                                              \
+		return cn9k_nix_xmit_pkts_vector(tx_queue, tx_pkts, pkts, cmd, \
+						 (flags));		       \
+	}

total: 0 errors, 0 warnings, 11 checks, 823 lines checked


More information about the test-report mailing list