From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1256C459FD for ; Fri, 27 Sep 2024 20:01:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8A90E40A67; Fri, 27 Sep 2024 20:01:46 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 0ED6C4060F for ; Fri, 27 Sep 2024 20:01:45 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 074CB121D9E; Fri, 27 Sep 2024 20:01:45 +0200 (CEST) Subject: |WARNING| pw144506 [PATCH v2 06/47] net/bnxt: tf_core: TF support flow scale query In-Reply-To: <20240927180829.525350-7-sriharsha.basavapatna@broadcom.com> References: <20240927180829.525350-7-sriharsha.basavapatna@broadcom.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Sriharsha Basavapatna Message-Id: <20240927180145.074CB121D9E@dpdk.org> Date: Fri, 27 Sep 2024 20:01:45 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/144506 _coding style issues_ WARNING:TYPO_SPELLING: 'direcitons' may be misspelled - perhaps 'directions'? #95: need to update usage states on both direcitons. WARNING:TYPO_SPELLING: 'resoure' may be misspelled - perhaps 'resource'? #96: 2. Update resoure usage state for regular flows only. WARNING:LONG_LINE_COMMENT: line length of 296 exceeds 100 columns #324: FILE: drivers/net/bnxt/hsi_struct_def_dpdk.h:23264: +/* Common structure to cast crypto key split entries. This casting is required in the following HWRM command inputs/outputs if the backing store type is TX_CK or RX_CK. 1. hwrm_func_backing_store_cfg_v2_input 2. hwrm_func_backing_store_qcfg_v2_output 3. hwrm_func_backing_store_qcaps_v2_output */ WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #661: FILE: drivers/net/bnxt/tf_core/cfa_tcam_mgr.c:684: + parms->dir, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #662: FILE: drivers/net/bnxt/tf_core/cfa_tcam_mgr.c:685: + parms->type, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #668: FILE: drivers/net/bnxt/tf_core/cfa_tcam_mgr.c:691: + parms->dir, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #669: FILE: drivers/net/bnxt/tf_core/cfa_tcam_mgr.c:692: + parms->type, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #699: FILE: drivers/net/bnxt/tf_core/cfa_tcam_mgr.c:1375: + parms->dir, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #700: FILE: drivers/net/bnxt/tf_core/cfa_tcam_mgr.c:1376: + parms->type, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #717: FILE: drivers/net/bnxt/tf_core/cfa_tcam_mgr.c:1477: + parms->dir, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #718: FILE: drivers/net/bnxt/tf_core/cfa_tcam_mgr.c:1478: + parms->type, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #810: FILE: drivers/net/bnxt/tf_core/tf_core.c:1108: + parms->dir, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #811: FILE: drivers/net/bnxt/tf_core/tf_core.c:1109: + parms->type, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #816: FILE: drivers/net/bnxt/tf_core/tf_core.c:1114: + tf_dir_2_str(parms->dir)); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #833: FILE: drivers/net/bnxt/tf_core/tf_core.c:1204: + parms->dir, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #834: FILE: drivers/net/bnxt/tf_core/tf_core.c:1205: + parms->type, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #839: FILE: drivers/net/bnxt/tf_core/tf_core.c:1210: + tf_dir_2_str(parms->dir)); WARNING:TYPO_SPELLING: 'PARMS' may be misspelled - perhaps 'PARAMS'? #861: FILE: drivers/net/bnxt/tf_core/tf_core.c:2071: + TF_CHECK_PARMS1(tfp); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #914: FILE: drivers/net/bnxt/tf_core/tf_core.c:2124: + struct tf_query_resc_usage_parms *parms) WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #914: FILE: drivers/net/bnxt/tf_core/tf_core.c:2124: + struct tf_query_resc_usage_parms *parms) WARNING:TYPO_SPELLING: 'PARMS' may be misspelled - perhaps 'PARAMS'? #920: FILE: drivers/net/bnxt/tf_core/tf_core.c:2130: + TF_CHECK_PARMS2(tfp, parms); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #920: FILE: drivers/net/bnxt/tf_core/tf_core.c:2130: + TF_CHECK_PARMS2(tfp, parms); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #927: FILE: drivers/net/bnxt/tf_core/tf_core.c:2137: + tf_dir_2_str(parms->dir), WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #937: FILE: drivers/net/bnxt/tf_core/tf_core.c:2147: + tf_dir_2_str(parms->dir), WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #950: FILE: drivers/net/bnxt/tf_core/tf_core.c:2160: + tf_dir_2_str(parms->dir), WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #955: FILE: drivers/net/bnxt/tf_core/tf_core.c:2165: + rc = dev->ops->tf_dev_query_resc_usage(tfp, parms); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #959: FILE: drivers/net/bnxt/tf_core/tf_core.c:2169: + tf_dir_2_str(parms->dir), WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #966: FILE: drivers/net/bnxt/tf_core/tf_core.c:2176: + tf_dir_2_str(parms->dir), parms->flow_resc_type); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #966: FILE: drivers/net/bnxt/tf_core/tf_core.c:2176: + tf_dir_2_str(parms->dir), parms->flow_resc_type); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1003: FILE: drivers/net/bnxt/tf_core/tf_core.h:2612: +struct tf_query_resc_usage_parms { WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1027: FILE: drivers/net/bnxt/tf_core/tf_core.h:2636: + struct tf_query_resc_usage_parms *parms); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1027: FILE: drivers/net/bnxt/tf_core/tf_core.h:2636: + struct tf_query_resc_usage_parms *parms); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1078: FILE: drivers/net/bnxt/tf_core/tf_device.h:1169: + struct tf_query_resc_usage_parms *parms); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1078: FILE: drivers/net/bnxt/tf_core/tf_device.h:1169: + struct tf_query_resc_usage_parms *parms); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1193: FILE: drivers/net/bnxt/tf_core/tf_device_p58.c:827: + * [in/out] parms WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1194: FILE: drivers/net/bnxt/tf_core/tf_device_p58.c:828: + * Pointer to parms structure WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1201: FILE: drivers/net/bnxt/tf_core/tf_device_p58.c:835: + struct tf_query_resc_usage_parms *parms) WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1201: FILE: drivers/net/bnxt/tf_core/tf_device_p58.c:835: + struct tf_query_resc_usage_parms *parms) WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1205: FILE: drivers/net/bnxt/tf_core/tf_device_p58.c:839: + parms->size = sizeof(struct cfa_tf_resc_usage); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1207: FILE: drivers/net/bnxt/tf_core/tf_device_p58.c:841: + parms->dir, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1208: FILE: drivers/net/bnxt/tf_core/tf_device_p58.c:842: + parms->flow_resc_type, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1209: FILE: drivers/net/bnxt/tf_core/tf_device_p58.c:843: + &parms->size, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1210: FILE: drivers/net/bnxt/tf_core/tf_device_p58.c:844: + (void *)parms->data); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1282: FILE: drivers/net/bnxt/tf_core/tf_em_hash_internal.c:115: + parms->dir, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1309: FILE: drivers/net/bnxt/tf_core/tf_em_hash_internal.c:153: + pool = (struct dpool *)tfs->em_pool[parms->dir]; WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1313: FILE: drivers/net/bnxt/tf_core/tf_em_hash_internal.c:157: + size = DP_FLAGS_SIZE(pool->entry[parms->index - pool->start_index].flags); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1315: FILE: drivers/net/bnxt/tf_core/tf_em_hash_internal.c:159: + parms->dir, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1320: FILE: drivers/net/bnxt/tf_core/tf_em_hash_internal.c:164: + dpool_free(pool, parms->index); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1363: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2011: + struct tfp_send_msg_parms parms = { 0 }; WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1363: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2011: + struct tfp_send_msg_parms parms = { 0 }; WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1422: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2070: + parms.tf_type = HWRM_TF_RESC_USAGE_SET; WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1423: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2071: + parms.req_data = (uint32_t *)&req; WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1424: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2072: + parms.req_size = sizeof(req); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1425: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2073: + parms.resp_data = (uint32_t *)&resp; WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1426: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2074: + parms.resp_size = sizeof(resp); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1427: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2075: + parms.mailbox = dev->ops->tf_dev_get_mailbox(); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1430: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2078: + &parms); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1449: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2097: + struct tfp_send_msg_parms parms = { 0 }; WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1449: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2097: + struct tfp_send_msg_parms parms = { 0 }; WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1492: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2140: + parms.tf_type = HWRM_TF_RESC_USAGE_QUERY; WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1493: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2141: + parms.req_data = (uint32_t *)&req; WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1494: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2142: + parms.req_size = sizeof(req); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1495: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2143: + parms.resp_data = (uint32_t *)&resp; WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1496: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2144: + parms.resp_size = sizeof(resp); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1497: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2145: + parms.mailbox = dev->ops->tf_dev_get_mailbox(); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #1500: FILE: drivers/net/bnxt/tf_core/tf_msg.c:2148: + &parms); WARNING:TYPO_SPELLING: 'bumber' may be misspelled - perhaps 'bumper'? #1680: FILE: drivers/net/bnxt/tf_core/tf_resources.c:84: +/* Check the bumber of the used slices in a row */ WARNING:TYPO_SPELLING: 'resoure' may be misspelled - perhaps 'resource'? #1734: FILE: drivers/net/bnxt/tf_core/tf_resources.c:138: +/* Update wc-tcam table resoure usage */ WARNING:TYPO_SPELLING: 'Recrod' may be misspelled - perhaps 'Record'? #1917: FILE: drivers/net/bnxt/tf_core/tf_resources.c:321: + /* Action Recrod */ WARNING:TYPO_SPELLING: 'adn' may be misspelled - perhaps 'and'? #1929: FILE: drivers/net/bnxt/tf_core/tf_resources.c:333: + /* ACT_ENCAP adn ACT_MODIFY Records */ WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #2393: FILE: drivers/net/bnxt/tf_core/tf_rm.c:520: + parms->dir); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #2412: FILE: drivers/net/bnxt/tf_core/tf_rm.c:702: + parms->dir, WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #2426: FILE: drivers/net/bnxt/tf_core/tf_rm.c:791: + parms->dir); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #2440: FILE: drivers/net/bnxt/tf_core/tf_session.c:202: + tf_resc_usage_reset(parms->open_cfg->device_type, tfp->session->session_id.id); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #2452: FILE: drivers/net/bnxt/tf_core/tf_session.c:226: + tf_resc_usage_update_all(parms->open_cfg->bp); WARNING:TYPO_SPELLING: 'parms' may be misspelled - perhaps 'params'? #2473: FILE: drivers/net/bnxt/tf_ulp/ulp_mapper.c:4420: + if (parms->act_bitmap->bits & BNXT_ULP_FLOW_DIR_BITMASK_EGR) total: 0 errors, 76 warnings, 0 checks, 2217 lines checked Warning in drivers/net/bnxt/tf_core/tf_resources.c: Writing to stdout or stderr