* [dpdk-test-report] |WARNING| pw96356 [PATCH] drivers: add external clock support for cnxk timer
[not found] <ee6a527b0e824a34cbebbf0865a5bdc172d5207e.1627483481.git.sthotton@marvell.com>
@ 2021-07-28 15:26 ` checkpatch
2021-07-28 16:05 ` [dpdk-test-report] |FAILURE| pw96356 [dpdk-dev] " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2021-07-28 15:26 UTC (permalink / raw)
To: test-report; +Cc: Shijith Thotton
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/96356
_coding style issues_
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#77:
To configure tim with external clock, requested resolution should be
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#80:
tim_ext_clk is the devarg used to pass external clock frequency.
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#82:
E.g. -a 0002:0e:00.0,tim_ext_clk=122880000
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#103: FILE: doc/guides/eventdevs/cnxk.rst:167:
+- ``TIM external clock frequency``
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#105: FILE: doc/guides/eventdevs/cnxk.rst:169:
+ The ``tim_ext_clk`` devagrs can be used to pass external clock frequency when
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#110: FILE: doc/guides/eventdevs/cnxk.rst:174:
+ -a 0002:0e:00.0,tim_ext_clk=122880000
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#176: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:152:
+ } while (ns[i] % cnxk_tim_min_resolution_ns(clk_freq));
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#184: 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'?
#192: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:168:
+ uint64_t m_tck = cnxk_tim_min_tmo_ticks(cnxk_tim_cntfrq());
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#192: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:168:
+ uint64_t m_tck = cnxk_tim_min_tmo_ticks(cnxk_tim_cntfrq());
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#206: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:182:
+ (TIM_MAX_BUCKET_SIZE - TIM_MIN_BUCKET_SIZE)) {
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#206: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:182:
+ (TIM_MAX_BUCKET_SIZE - TIM_MIN_BUCKET_SIZE)) {
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#211: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:187:
+ (TIM_MAX_BUCKET_SIZE - TIM_MIN_BUCKET_SIZE)) {
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#211: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:187:
+ (TIM_MAX_BUCKET_SIZE - TIM_MIN_BUCKET_SIZE)) {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#242: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:240:
+ cnxk_tim_min_resolution_ns(cnxk_tim_cntfrq()));
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#242: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:240:
+ cnxk_tim_min_resolution_ns(cnxk_tim_cntfrq()));
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#249: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:247:
+ goto tim_hw_free;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#255: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:253:
+ tim_adjust_resolution(&req_ns, &req_tck, tck_ns,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#256: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:254:
+ cnxk_tim_cntfrq(), rcfg->max_tmo_ns);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#260: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:258:
+ goto tim_hw_free;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#264: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:262:
+ tim_ring->tck_nsec = rcfg->timer_tick_ns;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#278: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:307:
+ interval = NSEC2TICK(tim_ring->tck_nsec, cnxk_tim_cntfrq());
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#278: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:307:
+ interval = NSEC2TICK(tim_ring->tck_nsec, cnxk_tim_cntfrq());
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#280: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:309:
+ interval = NSEC2TICK(tim_ring->tck_nsec, dev->ext_clk_frq);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#282: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:311:
+ rc = roc_tim_lf_config(&dev->tim, tim_ring->ring_id,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#282: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:311:
+ rc = roc_tim_lf_config(&dev->tim, tim_ring->ring_id,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#282: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:311:
+ rc = roc_tim_lf_config(&dev->tim, tim_ring->ring_id,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#283: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:312:
+ cnxk_tim_convert_clk_src(tim_ring->clk_src), 0,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#283: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:312:
+ cnxk_tim_convert_clk_src(tim_ring->clk_src), 0,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#284: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:313:
+ 0, tim_ring->nb_bkts, tim_ring->chunk_sz,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#284: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:313:
+ 0, tim_ring->nb_bkts, tim_ring->chunk_sz,
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#293: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:589:
+ rte_kvargs_process(kvlist, CNXK_TIM_EXT_CLK, &parse_kvargs_value,
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#306: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:42:
+#define CNXK_TIM_EXT_CLK "tim_ext_clk"
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#306: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:42:
+#define CNXK_TIM_EXT_CLK "tim_ext_clk"
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#323: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:192:
+ ROC_TIM_CLK_SRC_GTI;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#325: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:194:
+ return ROC_TIM_CLK_SRC_GPIO;
total: 0 errors, 36 warnings, 208 lines checked
^ permalink raw reply [flat|nested] 2+ messages in thread
* [dpdk-test-report] |FAILURE| pw96356 [dpdk-dev] [PATCH] drivers: add external clock support for cnxk timer
[not found] <ee6a527b0e824a34cbebbf0865a5bdc172d5207e.1627483481.git.sthotton@marvell.com>
2021-07-28 15:26 ` [dpdk-test-report] |WARNING| pw96356 [PATCH] drivers: add external clock support for cnxk timer checkpatch
@ 2021-07-28 16:05 ` 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2021-07-28 16:05 UTC (permalink / raw)
To: test-report; +Cc: sthotton, robot
From: robot@bytheb.org
Test-Label: github-robot
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/96356/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/1075489930
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-18.04-gcc-static" failed at step "Build and test"
"ubuntu-18.04-gcc-shared-abi+doc+tests" failed at step "Build and test"
"ubuntu-18.04-clang-static" failed at step "Build and test"
"ubuntu-18.04-clang-shared-doc+tests" failed at step "Build and test"
"ubuntu-18.04-gcc-static-aarch64" failed at step "Build and test"
"ubuntu-18.04-gcc-shared-aarch64" failed at step "Build and test"
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static" at step "Build and test"
####################################################################################
[2361/3250] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_deq.c.o'.
[2362/3250] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_event_cnxk@sta -Idrivers -I../drivers -Idrivers/event/cnxk -I../drivers/event/cnxk -Ilib/eventdev -I../lib/eventdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Ilib/security -I../lib/security -Idrivers/net/cnxk -I../drivers/net/cnxk -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.event.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o' -MF 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o.d' -o 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o' -c ../drivers/event/cnxk/cnxk_tim_evdev.c
In file included from ../drivers/common/cnxk/roc_api.h:25:0,
from ../drivers/event/cnxk/cnxk_eventdev.h:18,
from ../drivers/event/cnxk/cnxk_tim_evdev.c:7:
../drivers/event/cnxk/cnxk_tim_evdev.c: In function ‘sort_multi_array’:
../drivers/common/cnxk/roc_platform.h:46:20: error: implicit declaration of function ‘RTE_SWAP’; did you mean ‘RTE_MAX’? [-Werror=implicit-function-declaration]
#define PLT_SWAP RTE_SWAP
^
../drivers/event/cnxk/cnxk_tim_evdev.c:128:4: note: in expansion of macro ‘PLT_SWAP’
PLT_SWAP(ref_arr[x], ref_arr[x + 1]);
^~~~~~~~
../drivers/common/cnxk/roc_platform.h:46:20: error: nested extern declaration of ‘RTE_SWAP’ [-Werror=nested-externs]
#define PLT_SWAP RTE_SWAP
^
../drivers/event/cnxk/cnxk_tim_evdev.c:128:4: note: in expansion of macro ‘PLT_SWAP’
PLT_SWAP(ref_arr[x], ref_arr[x + 1]);
^~~~~~~~
cc1: all warnings being treated as errors
[2363/3250] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_tx_enq.c.o'.
[2364/3250] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_tx_enq_seg.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static" at step "Build and test"
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-shared-abi+doc+tests" at step "Build and test"
####################################################################################
[2419/3466] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_deq.c.o'.
[2420/3466] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_event_cnxk@sta -Idrivers -I../drivers -Idrivers/event/cnxk -I../drivers/event/cnxk -Ilib/eventdev -I../lib/eventdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Ilib/security -I../lib/security -Idrivers/net/cnxk -I../drivers/net/cnxk -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.event.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o' -MF 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o.d' -o 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o' -c ../drivers/event/cnxk/cnxk_tim_evdev.c
In file included from ../drivers/common/cnxk/roc_api.h:25:0,
from ../drivers/event/cnxk/cnxk_eventdev.h:18,
from ../drivers/event/cnxk/cnxk_tim_evdev.c:7:
../drivers/event/cnxk/cnxk_tim_evdev.c: In function ‘sort_multi_array’:
../drivers/common/cnxk/roc_platform.h:46:20: error: implicit declaration of function ‘RTE_SWAP’; did you mean ‘RTE_MAX’? [-Werror=implicit-function-declaration]
#define PLT_SWAP RTE_SWAP
^
../drivers/event/cnxk/cnxk_tim_evdev.c:128:4: note: in expansion of macro ‘PLT_SWAP’
PLT_SWAP(ref_arr[x], ref_arr[x + 1]);
^~~~~~~~
../drivers/common/cnxk/roc_platform.h:46:20: error: nested extern declaration of ‘RTE_SWAP’ [-Werror=nested-externs]
#define PLT_SWAP RTE_SWAP
^
../drivers/event/cnxk/cnxk_tim_evdev.c:128:4: note: in expansion of macro ‘PLT_SWAP’
PLT_SWAP(ref_arr[x], ref_arr[x + 1]);
^~~~~~~~
cc1: all warnings being treated as errors
[2421/3466] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_tx_enq.c.o'.
[2422/3466] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_tx_enq_seg.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-shared-abi+doc+tests" at step "Build and test"
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-clang-static" at step "Build and test"
####################################################################################
[2353/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn9k_worker_tx_enq_seg.c.o'.
[2354/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn9k_worker_dual_deq_burst.c.o'.
[2355/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn9k_worker_dual_deq.c.o'.
[2356/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_deq_tmo.c.o'.
[2357/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn9k_worker_dual_tx_enq.c.o'.
[2358/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_eventdev.c.o'.
[2359/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn9k_worker_dual_deq_tmo.c.o'.
[2360/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn9k_worker_dual_tx_enq_seg.c.o'.
[2361/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_eventdev.c.o'.
[2362/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_eventdev_adptr.c.o'.
[2363/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_deq.c.o'.
[2364/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o
ccache clang -Idrivers/a715181@@tmp_rte_event_cnxk@sta -Idrivers -I../drivers -Idrivers/event/cnxk -I../drivers/event/cnxk -Ilib/eventdev -I../lib/eventdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Ilib/security -I../lib/security -Idrivers/net/cnxk -I../drivers/net/cnxk -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.event.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o' -MF 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o.d' -o 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o' -c ../drivers/event/cnxk/cnxk_tim_evdev.c
../drivers/event/cnxk/cnxk_tim_evdev.c:128:4: error: implicit declaration of function 'RTE_SWAP' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
PLT_SWAP(ref_arr[x], ref_arr[x + 1]);
^
../drivers/common/cnxk/roc_platform.h:46:20: note: expanded from macro 'PLT_SWAP'
#define PLT_SWAP RTE_SWAP
^
1 error generated.
[2365/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_tx_enq.c.o'.
[2366/3252] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_tx_enq_seg.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-clang-static" at step "Build and test"
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-clang-shared-doc+tests" at step "Build and test"
####################################################################################
[2411/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn9k_worker_tx_enq_seg.c.o'.
[2412/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn9k_worker_dual_deq.c.o'.
[2413/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn9k_worker_dual_deq_burst.c.o'.
[2414/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_deq_tmo.c.o'.
[2415/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn9k_worker_dual_tx_enq.c.o'.
[2416/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_eventdev.c.o'.
[2417/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn9k_worker_dual_deq_tmo.c.o'.
[2418/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_eventdev.c.o'.
[2419/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_eventdev_adptr.c.o'.
[2420/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn9k_worker_dual_tx_enq_seg.c.o'.
[2421/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_deq.c.o'.
[2422/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o
ccache clang -Idrivers/a715181@@tmp_rte_event_cnxk@sta -Idrivers -I../drivers -Idrivers/event/cnxk -I../drivers/event/cnxk -Ilib/eventdev -I../lib/eventdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Ilib/security -I../lib/security -Idrivers/net/cnxk -I../drivers/net/cnxk -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.event.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o' -MF 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o.d' -o 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o' -c ../drivers/event/cnxk/cnxk_tim_evdev.c
../drivers/event/cnxk/cnxk_tim_evdev.c:128:4: error: implicit declaration of function 'RTE_SWAP' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
PLT_SWAP(ref_arr[x], ref_arr[x + 1]);
^
../drivers/common/cnxk/roc_platform.h:46:20: note: expanded from macro 'PLT_SWAP'
#define PLT_SWAP RTE_SWAP
^
1 error generated.
[2423/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_tx_enq.c.o'.
[2424/3468] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_tx_enq_seg.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-clang-shared-doc+tests" at step "Build and test"
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static-aarch64" at step "Build and test"
####################################################################################
[2361/3250] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_deq.c.o'.
[2362/3250] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_event_cnxk@sta -Idrivers -I../drivers -Idrivers/event/cnxk -I../drivers/event/cnxk -Ilib/eventdev -I../lib/eventdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Ilib/security -I../lib/security -Idrivers/net/cnxk -I../drivers/net/cnxk -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.event.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o' -MF 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o.d' -o 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o' -c ../drivers/event/cnxk/cnxk_tim_evdev.c
In file included from ../drivers/common/cnxk/roc_api.h:25:0,
from ../drivers/event/cnxk/cnxk_eventdev.h:18,
from ../drivers/event/cnxk/cnxk_tim_evdev.c:7:
../drivers/event/cnxk/cnxk_tim_evdev.c: In function ‘sort_multi_array’:
../drivers/common/cnxk/roc_platform.h:46:20: error: implicit declaration of function ‘RTE_SWAP’; did you mean ‘RTE_MAX’? [-Werror=implicit-function-declaration]
#define PLT_SWAP RTE_SWAP
^
../drivers/event/cnxk/cnxk_tim_evdev.c:128:4: note: in expansion of macro ‘PLT_SWAP’
PLT_SWAP(ref_arr[x], ref_arr[x + 1]);
^~~~~~~~
../drivers/common/cnxk/roc_platform.h:46:20: error: nested extern declaration of ‘RTE_SWAP’ [-Werror=nested-externs]
#define PLT_SWAP RTE_SWAP
^
../drivers/event/cnxk/cnxk_tim_evdev.c:128:4: note: in expansion of macro ‘PLT_SWAP’
PLT_SWAP(ref_arr[x], ref_arr[x + 1]);
^~~~~~~~
cc1: all warnings being treated as errors
[2363/3250] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_tx_enq.c.o'.
[2364/3250] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_tx_enq_seg.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static-aarch64" at step "Build and test"
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-shared-aarch64" at step "Build and test"
####################################################################################
[2419/3463] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_deq.c.o'.
[2420/3463] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_event_cnxk@sta -Idrivers -I../drivers -Idrivers/event/cnxk -I../drivers/event/cnxk -Ilib/eventdev -I../lib/eventdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Ilib/security -I../lib/security -Idrivers/net/cnxk -I../drivers/net/cnxk -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.event.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o' -MF 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o.d' -o 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cnxk_tim_evdev.c.o' -c ../drivers/event/cnxk/cnxk_tim_evdev.c
In file included from ../drivers/common/cnxk/roc_api.h:25:0,
from ../drivers/event/cnxk/cnxk_eventdev.h:18,
from ../drivers/event/cnxk/cnxk_tim_evdev.c:7:
../drivers/event/cnxk/cnxk_tim_evdev.c: In function ‘sort_multi_array’:
../drivers/common/cnxk/roc_platform.h:46:20: error: implicit declaration of function ‘RTE_SWAP’; did you mean ‘RTE_MAX’? [-Werror=implicit-function-declaration]
#define PLT_SWAP RTE_SWAP
^
../drivers/event/cnxk/cnxk_tim_evdev.c:128:4: note: in expansion of macro ‘PLT_SWAP’
PLT_SWAP(ref_arr[x], ref_arr[x + 1]);
^~~~~~~~
../drivers/common/cnxk/roc_platform.h:46:20: error: nested extern declaration of ‘RTE_SWAP’ [-Werror=nested-externs]
#define PLT_SWAP RTE_SWAP
^
../drivers/event/cnxk/cnxk_tim_evdev.c:128:4: note: in expansion of macro ‘PLT_SWAP’
PLT_SWAP(ref_arr[x], ref_arr[x + 1]);
^~~~~~~~
cc1: all warnings being treated as errors
[2421/3463] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_tx_enq.c.o'.
[2422/3463] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk@sta/event_cnxk_cn10k_worker_tx_enq_seg.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-shared-aarch64" at step "Build and test"
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-28 16:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <ee6a527b0e824a34cbebbf0865a5bdc172d5207e.1627483481.git.sthotton@marvell.com>
2021-07-28 15:26 ` [dpdk-test-report] |WARNING| pw96356 [PATCH] drivers: add external clock support for cnxk timer checkpatch
2021-07-28 16:05 ` [dpdk-test-report] |FAILURE| pw96356 [dpdk-dev] " 0-day Robot
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).