[dpdk-test-report] |WARNING| pw92671 [PATCH v4 33/34] event/cnxk: add timer adapter start and stop

checkpatch at dpdk.org checkpatch at dpdk.org
Mon May 3 17:27:47 CEST 2021


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

_coding style issues_


WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#97: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:250:
+cnxk_tim_calibrate_start_tsc(struct cnxk_tim_ring *tim_ring)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#97: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:250:
+cnxk_tim_calibrate_start_tsc(struct cnxk_tim_ring *tim_ring)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#97: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:250:
+cnxk_tim_calibrate_start_tsc(struct cnxk_tim_ring *tim_ring)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#99: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:252:
+#define CNXK_TIM_CALIB_ITER 1E6

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#104: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:257:
+	for (icount = 0; icount < CNXK_TIM_CALIB_ITER; icount++) {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#105: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:258:
+		real_bkt = plt_read64(tim_ring->base + TIM_LF_RING_REL) >> 44;

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#105: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:258:
+		real_bkt = plt_read64(tim_ring->base + TIM_LF_RING_REL) >> 44;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#106: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:259:
+		bkt_cyc = cnxk_tim_cntvct();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#107: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:260:
+		bucket = (bkt_cyc - tim_ring->ring_start_cyc) /

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#108: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:261:
+			 tim_ring->tck_int;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#109: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:262:
+		bucket = bucket % (tim_ring->nb_bkts);

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

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#111: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:264:
+			bkt_cyc - (real_bkt * tim_ring->tck_int);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#115: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:268:
+	tim_ring->last_updt_cyc = bkt_cyc;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#116: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:269:
+	plt_tim_dbg("Bucket mispredict %3.2f distance %d
",

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

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

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

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

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

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#131: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:284:
+	rc = roc_tim_lf_enable(&dev->tim, tim_ring->ring_id,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#131: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:284:
+	rc = roc_tim_lf_enable(&dev->tim, tim_ring->ring_id,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#131: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:284:
+	rc = roc_tim_lf_enable(&dev->tim, tim_ring->ring_id,

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#132: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:285:
+			       &tim_ring->ring_start_cyc, NULL);

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

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

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

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#137: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:290:
+	tim_ring->tot_int = tim_ring->tck_int * tim_ring->nb_bkts;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#137: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:290:
+	tim_ring->tot_int = tim_ring->tck_int * tim_ring->nb_bkts;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#137: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:290:
+	tim_ring->tot_int = tim_ring->tck_int * tim_ring->nb_bkts;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#138: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:291:
+	tim_ring->fast_div = rte_reciprocal_value_u64(tim_ring->tck_int);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#138: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:291:
+	tim_ring->fast_div = rte_reciprocal_value_u64(tim_ring->tck_int);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#139: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:292:
+	tim_ring->fast_bkt = rte_reciprocal_value_u64(tim_ring->nb_bkts);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#139: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:292:
+	tim_ring->fast_bkt = rte_reciprocal_value_u64(tim_ring->nb_bkts);

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

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

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

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

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

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

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

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

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

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

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#177: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:354:
+	cnxk_tim_ops.start = cnxk_tim_ring_start;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#177: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:354:
+	cnxk_tim_ops.start = cnxk_tim_ring_start;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#178: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:355:
+	cnxk_tim_ops.stop = cnxk_tim_ring_stop;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#178: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:355:
+	cnxk_tim_ops.stop = cnxk_tim_ring_stop;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#186: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:366:
+	*ops = &cnxk_tim_ops;

total: 0 errors, 49 warnings, 95 lines checked


More information about the test-report mailing list