automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw71414 [PATCH 22/50] net/bnxt: support EM and TCAM lookup with table scope
       [not found] <20200612132934.16488-23-somnath.kotur@broadcom.com>
@ 2020-06-12 13:44 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-06-12 13:44 UTC (permalink / raw)
  To: test-report; +Cc: Somnath Kotur

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

_coding style issues_


WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#2615: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:50:
+extern void *eem_db[TF_DIR_MAX];

CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#2631: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:66:
+				    "No mapping for page: %d table: %016" PRIu64 "
",

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'parms->rx_num_flows_in_k != 0'
#3274: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:709:
+	if ((parms->rx_num_flows_in_k != 0) &&
+	    (parms->rx_max_key_sz_in_bits / 8 == 0)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'parms->tx_num_flows_in_k != 0'
#3282: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:717:
+	if ((parms->tx_num_flows_in_k != 0) &&
+	    (parms->tx_max_key_sz_in_bits / 8 == 0)) {

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '=' should be on the previous line
#3301: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:736:
+	tbl_scope_cb->em_ctx_info[TF_DIR_RX].em_tables[TF_RECORD_TABLE].num_entries
+		= parms->rx_num_flows_in_k * TF_KILOBYTE;

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '=' should be on the previous line
#3303: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:738:
+	tbl_scope_cb->em_ctx_info[TF_DIR_RX].em_tables[TF_RECORD_TABLE].entry_size
+		= parms->rx_max_action_entry_sz_in_bits / 8;

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '=' should be on the previous line
#3306: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:741:
+	tbl_scope_cb->em_ctx_info[TF_DIR_RX].em_tables[TF_EFC_TABLE].num_entries
+		= 0;

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '=' should be on the previous line
#3320: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:755:
+	tbl_scope_cb->em_ctx_info[TF_DIR_TX].em_tables[TF_RECORD_TABLE].num_entries
+		= parms->tx_num_flows_in_k * TF_KILOBYTE;

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '=' should be on the previous line
#3322: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:757:
+	tbl_scope_cb->em_ctx_info[TF_DIR_TX].em_tables[TF_RECORD_TABLE].entry_size
+		= parms->tx_max_action_entry_sz_in_bits / 8;

CHECK:ASSIGNMENT_CONTINUATIONS: Assignment operator '=' should be on the previous line
#3325: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:760:
+	tbl_scope_cb->em_ctx_info[TF_DIR_TX].em_tables[TF_EFC_TABLE].num_entries
+		= 0;

WARNING:LONG_LINE: line over 90 characters
#3361: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:796:
+	mask = tf_em_get_key_mask(tbl_scope_cb->em_ctx_info[parms->dir].em_tables[TF_KEY0_TABLE].num_entries);

WARNING:LONG_LINE: line over 90 characters
#3398: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:833:
+		(uint8_t *)&tbl_scope_cb->em_ctx_info[parms->dir].em_tables[TF_KEY0_TABLE];

WARNING:LONG_LINE: line over 90 characters
#3414: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:849:
+			(uint8_t *)&tbl_scope_cb->em_ctx_info[parms->dir].em_tables[TF_KEY1_TABLE];

CHECK:OPEN_ENDED_LINE: Lines should not end with a '['
#3479: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:914:
+		(uint8_t *)&tbl_scope_cb->em_ctx_info[parms->dir].em_tables[

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#3508: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:943:
+	tbl_scope_cb = tbl_scope_cb_find(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#3516: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:951:
+	return tf_insert_eem_entry(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#3533: FILE: drivers/net/bnxt/tf_core/tf_em_host.c:968:
+	tbl_scope_cb = tbl_scope_cb_find(

total: 0 errors, 4 warnings, 13 checks, 6669 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-12 13:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200612132934.16488-23-somnath.kotur@broadcom.com>
2020-06-12 13:44 ` [dpdk-test-report] |WARNING| pw71414 [PATCH 22/50] net/bnxt: support EM and TCAM lookup with table scope checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).