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 C028FA0542 for ; Fri, 2 Dec 2022 15:47:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B534A42B8C; Fri, 2 Dec 2022 15:47:23 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id E7380400D6 for ; Fri, 2 Dec 2022 15:47:21 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id CDD02122CD9; Fri, 2 Dec 2022 15:47:21 +0100 (CET) Subject: |WARNING| pw120438 [PATCH] drivers: limit SSO interrupt allocation count in cnxk PMD In-Reply-To: References: To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Shijith Thotton Message-Id: <20221202144721.CDD02122CD9@dpdk.org> Date: Fri, 2 Dec 2022 15:47:21 +0100 (CET) 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/120438 _coding style issues_ WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #144: FILE: drivers/common/cnxk/roc_dev_priv.h:92: + void *roc_tim; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #235: FILE: drivers/common/cnxk/roc_sso.c:705: +roc_sso_rsrc_init(struct roc_sso *roc_sso, uint8_t nb_hws, uint16_t nb_hwgrp, uint16_t nb_tim_lfs) WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #239: FILE: drivers/common/cnxk/roc_sso.c:709: + uint16_t sso_vec_cnt, free_tim_lfs; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #250: FILE: drivers/common/cnxk/roc_sso.c:756: + if (sso->dev.roc_tim) { WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #251: FILE: drivers/common/cnxk/roc_sso.c:757: + nb_tim_lfs = ((struct roc_tim *)sso->dev.roc_tim)->nb_lfs; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #251: FILE: drivers/common/cnxk/roc_sso.c:757: + nb_tim_lfs = ((struct roc_tim *)sso->dev.roc_tim)->nb_lfs; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #251: FILE: drivers/common/cnxk/roc_sso.c:757: + nb_tim_lfs = ((struct roc_tim *)sso->dev.roc_tim)->nb_lfs; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #253: FILE: drivers/common/cnxk/roc_sso.c:759: + rc = tim_free_lf_count_get(&sso->dev, &free_tim_lfs); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #253: FILE: drivers/common/cnxk/roc_sso.c:759: + rc = tim_free_lf_count_get(&sso->dev, &free_tim_lfs); WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #255: FILE: drivers/common/cnxk/roc_sso.c:761: + plt_err("Failed to get TIM resource count"); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #259: FILE: drivers/common/cnxk/roc_sso.c:765: + nb_tim_lfs = nb_tim_lfs ? PLT_MIN(nb_tim_lfs, free_tim_lfs) : free_tim_lfs; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #259: FILE: drivers/common/cnxk/roc_sso.c:765: + nb_tim_lfs = nb_tim_lfs ? PLT_MIN(nb_tim_lfs, free_tim_lfs) : free_tim_lfs; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #259: FILE: drivers/common/cnxk/roc_sso.c:765: + nb_tim_lfs = nb_tim_lfs ? PLT_MIN(nb_tim_lfs, free_tim_lfs) : free_tim_lfs; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #259: FILE: drivers/common/cnxk/roc_sso.c:765: + nb_tim_lfs = nb_tim_lfs ? PLT_MIN(nb_tim_lfs, free_tim_lfs) : free_tim_lfs; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #259: FILE: drivers/common/cnxk/roc_sso.c:765: + nb_tim_lfs = nb_tim_lfs ? PLT_MIN(nb_tim_lfs, free_tim_lfs) : free_tim_lfs; WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #262: FILE: drivers/common/cnxk/roc_sso.c:768: + /* 2 error interrupt per TIM LF */ WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #263: FILE: drivers/common/cnxk/roc_sso.c:769: + sso_vec_cnt += 2 * nb_tim_lfs; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #298: FILE: drivers/common/cnxk/roc_sso.h:88: + uint16_t nb_tim_lfs); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #311: FILE: drivers/common/cnxk/roc_tim.c:304: +tim_free_lf_count_get(struct dev *dev, uint16_t *nb_lfs) WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #323: FILE: drivers/common/cnxk/roc_tim.c:316: + *nb_lfs = rsrc_cnt->tim; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #344: FILE: drivers/common/cnxk/roc_tim.c:336: + dev->roc_tim = roc_tim; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #344: FILE: drivers/common/cnxk/roc_tim.c:336: + dev->roc_tim = roc_tim; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #351: FILE: drivers/common/cnxk/roc_tim.c:341: + rc = tim_free_lf_count_get(dev, &nb_free_lfs); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #354: FILE: drivers/common/cnxk/roc_tim.c:343: + plt_tim_dbg("Failed to get TIM resource count"); WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #354: FILE: drivers/common/cnxk/roc_tim.c:343: + plt_tim_dbg("Failed to get TIM resource count"); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #363: FILE: drivers/common/cnxk/roc_tim.c:349: + plt_tim_dbg("Requested LFs : %d Available LFs : %d", nb_lfs, nb_free_lfs); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #380: FILE: drivers/common/cnxk/roc_tim.c:384: + roc_tim->nb_lfs = nb_lfs; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #392: FILE: drivers/common/cnxk/roc_tim_priv.h:22: +int tim_free_lf_count_get(struct dev *dev, uint16_t *nb_lfs); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #405: FILE: drivers/event/cnxk/cn10k_eventdev.c:255: + struct cnxk_tim_evdev *tim_dev = cnxk_tim_priv_get(); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #405: FILE: drivers/event/cnxk/cn10k_eventdev.c:255: + struct cnxk_tim_evdev *tim_dev = cnxk_tim_priv_get(); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #405: FILE: drivers/event/cnxk/cn10k_eventdev.c:255: + struct cnxk_tim_evdev *tim_dev = cnxk_tim_priv_get(); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #407: FILE: drivers/event/cnxk/cn10k_eventdev.c:257: + uint16_t nb_tim_lfs; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #410: FILE: drivers/event/cnxk/cn10k_eventdev.c:259: + nb_tim_lfs = tim_dev ? tim_dev->nb_rings : 0; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #410: FILE: drivers/event/cnxk/cn10k_eventdev.c:259: + nb_tim_lfs = tim_dev ? tim_dev->nb_rings : 0; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #410: FILE: drivers/event/cnxk/cn10k_eventdev.c:259: + nb_tim_lfs = tim_dev ? tim_dev->nb_rings : 0; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #411: FILE: drivers/event/cnxk/cn10k_eventdev.c:260: + return roc_sso_rsrc_init(&dev->sso, hws, hwgrp, nb_tim_lfs); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #423: FILE: drivers/event/cnxk/cn9k_eventdev.c:260: + struct cnxk_tim_evdev *tim_dev = cnxk_tim_priv_get(); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #423: FILE: drivers/event/cnxk/cn9k_eventdev.c:260: + struct cnxk_tim_evdev *tim_dev = cnxk_tim_priv_get(); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #423: FILE: drivers/event/cnxk/cn9k_eventdev.c:260: + struct cnxk_tim_evdev *tim_dev = cnxk_tim_priv_get(); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #425: FILE: drivers/event/cnxk/cn9k_eventdev.c:262: + uint16_t nb_tim_lfs; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #431: FILE: drivers/event/cnxk/cn9k_eventdev.c:267: + nb_tim_lfs = tim_dev ? tim_dev->nb_rings : 0; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #431: FILE: drivers/event/cnxk/cn9k_eventdev.c:267: + nb_tim_lfs = tim_dev ? tim_dev->nb_rings : 0; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #431: FILE: drivers/event/cnxk/cn9k_eventdev.c:267: + nb_tim_lfs = tim_dev ? tim_dev->nb_rings : 0; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #432: FILE: drivers/event/cnxk/cn9k_eventdev.c:268: + return roc_sso_rsrc_init(&dev->sso, hws, hwgrp, nb_tim_lfs); total: 0 errors, 44 warnings, 290 lines checked