[dpdk-test-report] |WARNING| pw92702 [PATCH v5 24/35] event/cnxk: create and free timer adapter

checkpatch at dpdk.org checkpatch at dpdk.org
Tue May 4 02:31:53 CEST 2021


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

_coding style issues_


WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#81: 
- Allocate a TIM LF based on number of LF's provisioned.

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#89: 
	- Free the TIM lf allocated.

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#106: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:8:
+static struct rte_event_timer_adapter_ops cnxk_tim_ops;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#109: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:11:
+cnxk_tim_chnk_pool_create(struct cnxk_tim_ring *tim_ring,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#109: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:11:
+cnxk_tim_chnk_pool_create(struct cnxk_tim_ring *tim_ring,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#109: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:11:
+cnxk_tim_chnk_pool_create(struct cnxk_tim_ring *tim_ring,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#112: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:14:
+	unsigned int cache_sz = (tim_ring->nb_chunks / 1.5);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#121: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:23:
+		plt_tim_dbg("Using single producer mode");

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#122: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:24:
+		tim_ring->prod_type_sp = true;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#125: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:27:
+	snprintf(pool_name, sizeof(pool_name), "cnxk_tim_chunk_pool%d",

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#126: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:28:
+		 tim_ring->ring_id);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#131: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:33:
+	tim_ring->nb_chunks += (cache_sz * rte_lcore_count());

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#132: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:34:
+	tim_ring->chunk_pool = rte_mempool_create_empty(

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#133: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:35:
+		pool_name, tim_ring->nb_chunks, tim_ring->chunk_sz, cache_sz, 0,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#133: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:35:
+		pool_name, tim_ring->nb_chunks, tim_ring->chunk_sz, cache_sz, 0,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#136: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:38:
+	if (tim_ring->chunk_pool == NULL) {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#141: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:43:
+	rc = rte_mempool_set_ops_byname(tim_ring->chunk_pool,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#148: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:50:
+	rc = rte_mempool_populate_default(tim_ring->chunk_pool);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#153: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:55:
+	tim_ring->aura =

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#154: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:56:
+		roc_npa_aura_handle_to_aura(tim_ring->chunk_pool->pool_id);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#155: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:57:
+	tim_ring->ena_dfb = 0;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#160: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:62:
+	rte_mempool_free(tim_ring->chunk_pool);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#165: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:67:
+cnxk_tim_ring_create(struct rte_event_timer_adapter *adptr)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#168: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:70:
+	struct cnxk_tim_evdev *dev = cnxk_tim_priv_get();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#168: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:70:
+	struct cnxk_tim_evdev *dev = cnxk_tim_priv_get();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#169: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:71:
+	struct cnxk_tim_ring *tim_ring;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#169: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:71:
+	struct cnxk_tim_ring *tim_ring;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#178: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:80:
+	tim_ring = rte_zmalloc("cnxk_tim_prv", sizeof(struct cnxk_tim_ring), 0);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#178: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:80:
+	tim_ring = rte_zmalloc("cnxk_tim_prv", sizeof(struct cnxk_tim_ring), 0);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#178: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:80:
+	tim_ring = rte_zmalloc("cnxk_tim_prv", sizeof(struct cnxk_tim_ring), 0);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#179: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:81:
+	if (tim_ring == NULL)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#182: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:84:
+	rc = roc_tim_lf_alloc(&dev->tim, adptr->data->id, NULL);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#182: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:84:
+	rc = roc_tim_lf_alloc(&dev->tim, adptr->data->id, NULL);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#185: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:87:
+		goto tim_ring_free;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#190: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:92:
+			      cnxk_tim_min_resolution_ns(cnxk_tim_cntfrq())),

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#190: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:92:
+			      cnxk_tim_min_resolution_ns(cnxk_tim_cntfrq())),

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#191: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:93:
+		      cnxk_tim_cntfrq()) <

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#192: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:94:
+	    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:94:
+	    cnxk_tim_min_tmo_ticks(cnxk_tim_cntfrq())) {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#195: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:97:
+				cnxk_tim_min_tmo_ticks(cnxk_tim_cntfrq()),

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#195: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:97:
+				cnxk_tim_min_tmo_ticks(cnxk_tim_cntfrq()),

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#196: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:98:
+				cnxk_tim_cntfrq());

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#199: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:101:
+			goto tim_hw_free;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#202: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:104:
+	tim_ring->ring_id = adptr->data->id;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#203: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:105:
+	tim_ring->clk_src = (int)rcfg->clk_src;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#204: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:106:
+	tim_ring->tck_nsec = RTE_ALIGN_MUL_CEIL(

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#206: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:108:
+		cnxk_tim_min_resolution_ns(cnxk_tim_cntfrq()));

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#206: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:108:
+		cnxk_tim_min_resolution_ns(cnxk_tim_cntfrq()));

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#207: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:109:
+	tim_ring->max_tout = rcfg->max_tmo_ns;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#208: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:110:
+	tim_ring->nb_bkts = (tim_ring->max_tout / tim_ring->tck_nsec);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#208: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:110:
+	tim_ring->nb_bkts = (tim_ring->max_tout / tim_ring->tck_nsec);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#208: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:110:
+	tim_ring->nb_bkts = (tim_ring->max_tout / tim_ring->tck_nsec);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#209: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:111:
+	tim_ring->nb_timers = rcfg->nb_timers;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#210: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:112:
+	tim_ring->chunk_sz = dev->chunk_sz;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#212: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:114:
+	tim_ring->nb_chunks = tim_ring->nb_timers;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#212: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:114:
+	tim_ring->nb_chunks = tim_ring->nb_timers;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#213: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:115:
+	tim_ring->nb_chunk_slots = CNXK_TIM_NB_CHUNK_SLOTS(tim_ring->chunk_sz);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#213: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:115:
+	tim_ring->nb_chunk_slots = CNXK_TIM_NB_CHUNK_SLOTS(tim_ring->chunk_sz);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#213: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:115:
+	tim_ring->nb_chunk_slots = CNXK_TIM_NB_CHUNK_SLOTS(tim_ring->chunk_sz);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#215: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:117:
+	tim_ring->bkt =

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#216: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:118:
+		rte_zmalloc("cnxk_tim_bucket",

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#217: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:119:
+			    (tim_ring->nb_bkts) * sizeof(struct cnxk_tim_bkt),

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#217: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:119:
+			    (tim_ring->nb_bkts) * sizeof(struct cnxk_tim_bkt),

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#219: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:121:
+	if (tim_ring->bkt == NULL)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#220: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:122:
+		goto tim_hw_free;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#222: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:124:
+	rc = cnxk_tim_chnk_pool_create(tim_ring, rcfg);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#222: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:124:
+	rc = cnxk_tim_chnk_pool_create(tim_ring, rcfg);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#224: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:126:
+		goto tim_bkt_free;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#226: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:128:
+	rc = roc_tim_lf_config(

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#227: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:129:
+		&dev->tim, tim_ring->ring_id,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#227: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:129:
+		&dev->tim, tim_ring->ring_id,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#228: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:130:
+		cnxk_tim_convert_clk_src(tim_ring->clk_src), 0, 0,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#228: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:130:
+		cnxk_tim_convert_clk_src(tim_ring->clk_src), 0, 0,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#229: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:131:
+		tim_ring->nb_bkts, tim_ring->chunk_sz,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#229: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:131:
+		tim_ring->nb_bkts, tim_ring->chunk_sz,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#230: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:132:
+		NSEC2TICK(tim_ring->tck_nsec, cnxk_tim_cntfrq()));

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#230: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:132:
+		NSEC2TICK(tim_ring->tck_nsec, cnxk_tim_cntfrq()));

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#233: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:135:
+		goto tim_chnk_free;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#236: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:138:
+	tim_ring->base = roc_tim_lf_base_get(&dev->tim, tim_ring->ring_id);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#236: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:138:
+	tim_ring->base = roc_tim_lf_base_get(&dev->tim, tim_ring->ring_id);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#236: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:138:
+	tim_ring->base = roc_tim_lf_base_get(&dev->tim, tim_ring->ring_id);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#236: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:138:
+	tim_ring->base = roc_tim_lf_base_get(&dev->tim, tim_ring->ring_id);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#237: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:139:
+	plt_write64((uint64_t)tim_ring->bkt, tim_ring->base + TIM_LF_RING_BASE);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#237: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:139:
+	plt_write64((uint64_t)tim_ring->bkt, tim_ring->base + TIM_LF_RING_BASE);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#237: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:139:
+	plt_write64((uint64_t)tim_ring->bkt, tim_ring->base + TIM_LF_RING_BASE);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#238: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:140:
+	plt_write64(tim_ring->aura, tim_ring->base + TIM_LF_RING_AURA);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#238: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:140:
+	plt_write64(tim_ring->aura, tim_ring->base + TIM_LF_RING_AURA);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#238: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:140:
+	plt_write64(tim_ring->aura, tim_ring->base + TIM_LF_RING_AURA);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#240: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:142:
+	plt_tim_dbg(

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#242: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:144:
+		(uint64_t)(((tim_ring->nb_chunks * tim_ring->chunk_sz) +

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#242: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:144:
+		(uint64_t)(((tim_ring->nb_chunks * tim_ring->chunk_sz) +

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#243: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:145:
+			    (tim_ring->nb_bkts * sizeof(struct cnxk_tim_bkt))) /

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#243: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:145:
+			    (tim_ring->nb_bkts * sizeof(struct cnxk_tim_bkt))) /

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#246: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:148:
+	adptr->data->adapter_priv = tim_ring;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#249: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:151:
+tim_chnk_free:

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#250: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:152:
+	rte_mempool_free(tim_ring->chunk_pool);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#251: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:153:
+tim_bkt_free:

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#252: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:154:
+	rte_free(tim_ring->bkt);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#253: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:155:
+tim_hw_free:

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#254: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:156:
+	roc_tim_lf_free(&dev->tim, tim_ring->ring_id);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#254: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:156:
+	roc_tim_lf_free(&dev->tim, tim_ring->ring_id);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#254: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:156:
+	roc_tim_lf_free(&dev->tim, tim_ring->ring_id);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#255: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:157:
+tim_ring_free:

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#256: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:158:
+	rte_free(tim_ring);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#261: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:163:
+cnxk_tim_ring_free(struct rte_event_timer_adapter *adptr)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#263: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:165:
+	struct cnxk_tim_ring *tim_ring = adptr->data->adapter_priv;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#263: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:165:
+	struct cnxk_tim_ring *tim_ring = adptr->data->adapter_priv;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#264: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:166:
+	struct cnxk_tim_evdev *dev = cnxk_tim_priv_get();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#264: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:166:
+	struct cnxk_tim_evdev *dev = cnxk_tim_priv_get();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#269: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:171:
+	roc_tim_lf_free(&dev->tim, tim_ring->ring_id);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#269: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:171:
+	roc_tim_lf_free(&dev->tim, tim_ring->ring_id);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#269: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:171:
+	roc_tim_lf_free(&dev->tim, tim_ring->ring_id);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#270: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:172:
+	rte_free(tim_ring->bkt);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#271: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:173:
+	rte_mempool_free(tim_ring->chunk_pool);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#272: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:174:
+	rte_free(tim_ring);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#284: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:192:
+	cnxk_tim_ops.init = cnxk_tim_ring_create;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#284: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:192:
+	cnxk_tim_ops.init = cnxk_tim_ring_create;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#285: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:193:
+	cnxk_tim_ops.uninit = cnxk_tim_ring_free;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#285: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:193:
+	cnxk_tim_ops.uninit = cnxk_tim_ring_free;

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#309: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:24:
+#define CNXK_TIM_EVDEV_NAME	    cnxk_tim_eventdev

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#309: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:24:
+#define CNXK_TIM_EVDEV_NAME	    cnxk_tim_eventdev

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#310: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:25:
+#define CNXK_TIM_MAX_BUCKETS	    (0xFFFFF)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#311: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:26:
+#define CNXK_TIM_RING_DEF_CHUNK_SZ  (4096)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#312: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:27:
+#define CNXK_TIM_CHUNK_ALIGNMENT    (16)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#313: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:28:
+#define CNXK_TIM_MAX_BURST	    \

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#314: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:29:
+			(RTE_CACHE_LINE_SIZE / CNXK_TIM_CHUNK_ALIGNMENT)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#315: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:30:
+#define CNXK_TIM_NB_CHUNK_SLOTS(sz) (((sz) / CNXK_TIM_CHUNK_ALIGNMENT) - 1)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#315: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:30:
+#define CNXK_TIM_NB_CHUNK_SLOTS(sz) (((sz) / CNXK_TIM_CHUNK_ALIGNMENT) - 1)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#316: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:31:
+#define CNXK_TIM_MIN_CHUNK_SLOTS    (0x1)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#317: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:32:
+#define CNXK_TIM_MAX_CHUNK_SLOTS    (0x1FFE)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#319: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:34:
+#define CN9K_TIM_MIN_TMO_TKS (256)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#327: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:43:
+enum cnxk_tim_clk_src {

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#328: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:44:
+	CNXK_TIM_CLK_SRC_10NS = RTE_EVENT_TIMER_ADAPTER_CPU_CLK,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#329: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:45:
+	CNXK_TIM_CLK_SRC_GPIO = RTE_EVENT_TIMER_ADAPTER_EXT_CLK0,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#330: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:46:
+	CNXK_TIM_CLK_SRC_GTI = RTE_EVENT_TIMER_ADAPTER_EXT_CLK1,

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#331: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:47:
+	CNXK_TIM_CLK_SRC_PTP = RTE_EVENT_TIMER_ADAPTER_EXT_CLK2,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#334: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:50:
+struct cnxk_tim_bkt {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#352: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:68:
+struct cnxk_tim_ring {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#358: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:74:
+	struct cnxk_tim_bkt *bkt;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#370: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:86:
+	enum cnxk_tim_clk_src clk_src;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#373: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:89:
+struct cnxk_tim_ent {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#386: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:107:
+cnxk_tim_min_tmo_ticks(uint64_t freq)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#389: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:110:
+		return CN9K_TIM_MIN_TMO_TKS;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#395: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:116:
+cnxk_tim_min_resolution_ns(uint64_t freq)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#400: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:121:
+static inline enum roc_tim_clk_src

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#401: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:122:
+cnxk_tim_convert_clk_src(enum cnxk_tim_clk_src clk_src)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#401: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:122:
+cnxk_tim_convert_clk_src(enum cnxk_tim_clk_src clk_src)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#405: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:126:
+		return roc_model_runtime_is_cn9k() ? ROC_TIM_CLK_SRC_10NS :

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#406: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:127:
+							   ROC_TIM_CLK_SRC_GTI;

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#408: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:129:
+		return ROC_TIM_CLK_SRC_INVALID;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#414: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:135:
+cnxk_tim_cntvct(void)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#423: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:144:
+cnxk_tim_cntfrq(void)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#432: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:153:
+cnxk_tim_cntvct(void)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#438: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:159:
+cnxk_tim_cntfrq(void)

total: 0 errors, 154 warnings, 336 lines checked


More information about the test-report mailing list