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 CE8FCA0C43 for ; Thu, 23 Sep 2021 23:32:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CAD8A411D1; Thu, 23 Sep 2021 23:32:21 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 27B234116E for ; Thu, 23 Sep 2021 23:32:19 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 2368112075A; Thu, 23 Sep 2021 23:32:19 +0200 (CEST) In-Reply-To: <20210923213046.3157-2-pbhagavatula@marvell.com> References: <20210923213046.3157-2-pbhagavatula@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Message-Id: <20210923213219.2368112075A@dpdk.org> Date: Thu, 23 Sep 2021 23:32:19 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw99501 [PATCH v3 2/2] event/cnxk: add external clock support for timer 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 Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/99501 _coding style issues_ WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #87: RTE_EVENT_TIMER_ADAPTER_EXT_CLK0 = TIM_CLK_SRC_10NS, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #88: RTE_EVENT_TIMER_ADAPTER_EXT_CLK1 = TIM_CLK_SRC_GPIO, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #89: RTE_EVENT_TIMER_ADAPTER_EXT_CLK2 = TIM_CLK_SRC_PTP, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #90: RTE_EVENT_TIMER_ADAPTER_EXT_CLK3 = TIM_CLK_SRC_SYNCE, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #92: TIM supports clock input from external GPIO, PTP, SYNCE clocks. WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #96: Since TIM is unaware of input clock frequency, application is WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #99: -a 0002:0e:00.0,tim_eclk_freq=122880000-0-0 WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #121: FILE: doc/guides/eventdevs/cnxk.rst:167: +- ``TIM external clock frequency`` WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #123: FILE: doc/guides/eventdevs/cnxk.rst:169: + The ``tim_eclk_freq`` devagrs can be used to pass external clock frequencies WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #128: FILE: doc/guides/eventdevs/cnxk.rst:174: + RTE_EVENT_TIMER_ADAPTER_EXT_CLK0 = TIM_CLK_SRC_10NS, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #129: FILE: doc/guides/eventdevs/cnxk.rst:175: + RTE_EVENT_TIMER_ADAPTER_EXT_CLK1 = TIM_CLK_SRC_GPIO, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #130: FILE: doc/guides/eventdevs/cnxk.rst:176: + RTE_EVENT_TIMER_ADAPTER_EXT_CLK2 = TIM_CLK_SRC_PTP, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #131: FILE: doc/guides/eventdevs/cnxk.rst:177: + RTE_EVENT_TIMER_ADAPTER_EXT_CLK3 = TIM_CLK_SRC_SYNCE WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #137: FILE: doc/guides/eventdevs/cnxk.rst:183: + -a 0002:0e:00.0,tim_eclk_freq=122880000-1000000000-0 WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #163: FILE: drivers/event/cnxk/cn10k_eventdev.c:979: + CNXK_TIM_STATS_ENA "=1" WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #164: FILE: drivers/event/cnxk/cn10k_eventdev.c:980: + CNXK_TIM_EXT_CLK "="); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #205: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:152: + } while (ns[i] % (uint64_t)cnxk_tim_ns_per_tck(clk_freq)); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #213: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:160: +tim_adjust_resolution(uint64_t *req_ns, uint64_t *req_tck, double tck_ns, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #234: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:181: + (TIM_MAX_BUCKET_SIZE - TIM_MIN_BUCKET_SIZE)) { WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #234: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:181: + (TIM_MAX_BUCKET_SIZE - TIM_MIN_BUCKET_SIZE)) { WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #239: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:186: + (TIM_MAX_BUCKET_SIZE - TIM_MIN_BUCKET_SIZE)) { WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #239: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:186: + (TIM_MAX_BUCKET_SIZE - TIM_MIN_BUCKET_SIZE)) { WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #262: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:262: + req_ns = tim_ring->tck_nsec; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #265: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:265: + tim_adjust_resolution(&req_ns, &req_tck, tck_ns, clk_freq, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #267: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:267: + if ((tim_ring->tck_nsec != req_ns) && WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #270: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:270: + goto tim_hw_free; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #272: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:272: + tim_ring->tck_nsec = ceil(req_tck * tck_ns); WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #282: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:582: +cnxk_tim_parse_clk_list(const char *value, void *opaque) WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #284: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:584: + enum roc_tim_clk_src src[] = {ROC_TIM_CLK_SRC_GPIO, ROC_TIM_CLK_SRC_PTP, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #284: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:584: + enum roc_tim_clk_src src[] = {ROC_TIM_CLK_SRC_GPIO, ROC_TIM_CLK_SRC_PTP, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #284: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:584: + enum roc_tim_clk_src src[] = {ROC_TIM_CLK_SRC_GPIO, ROC_TIM_CLK_SRC_PTP, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #285: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:585: + ROC_TIM_CLK_SRC_SYNCE, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #286: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:586: + ROC_TIM_CLK_SRC_INVALID}; WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #287: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:587: + struct cnxk_tim_evdev *dev = opaque; WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #296: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:596: + while (tok != NULL && src[i] != ROC_TIM_CLK_SRC_INVALID) { WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #306: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:606: +cnxk_tim_parse_kvargs_dsv(const char *key, const char *value, void *opaque) WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #313: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:613: + cnxk_tim_parse_clk_list(value, opaque); WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #325: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:640: + rte_kvargs_process(kvlist, CNXK_TIM_EXT_CLK, &cnxk_tim_parse_kvargs_dsv, WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #325: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:640: + rte_kvargs_process(kvlist, CNXK_TIM_EXT_CLK, &cnxk_tim_parse_kvargs_dsv, WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #338: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:42: +#define CNXK_TIM_EXT_CLK "tim_eclk_freq" WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'? #338: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:42: +#define CNXK_TIM_EXT_CLK "tim_eclk_freq" WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'? #346: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:98: + uint64_t ext_clk_freq[ROC_TIM_CLK_SRC_INVALID]; total: 0 errors, 42 warnings, 216 lines checked