* |WARNING| pw144982 [PATCH 20/20] event/cnxk: add CN20K timer adapter
[not found] <20241003132237.20193-20-pbhagavatula@marvell.com>
@ 2024-10-03 13:28 ` checkpatch
2024-10-03 13:54 ` |WARNING| pw144963-144982 [PATCH] [20/20] " dpdklab
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2024-10-03 13:28 UTC (permalink / raw)
To: test-report; +Cc: pbhagavatula
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/144982
_coding style issues_
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#107: FILE: drivers/common/cnxk/roc_tim.c:412:
+ plt_err("Failed to get TIM HW info
");
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#116: FILE: drivers/common/cnxk/roc_tim.c:447:
+ plt_tim_dbg("Failed to get TIM HW info");
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#116: FILE: drivers/common/cnxk/roc_tim.c:447:
+ plt_tim_dbg("Failed to get TIM HW info");
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#131: FILE: drivers/event/cnxk/cn20k_eventdev.c:1024:
+cn20k_tim_caps_get(const struct rte_eventdev *evdev, uint64_t flags, uint32_t *caps,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#134: FILE: drivers/event/cnxk/cn20k_eventdev.c:1027:
+ return cnxk_tim_caps_get(evdev, flags, caps, ops, cn20k_sso_set_priv_mem);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#144: FILE: drivers/event/cnxk/cn20k_eventdev.c:1064:
+ .timer_adapter_caps_get = cn20k_tim_caps_get,
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#155: FILE: drivers/event/cnxk/cn20k_eventdev.c:1146:
+ CNXK_TIM_DISABLE_NPA "=1"
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#156: FILE: drivers/event/cnxk/cn20k_eventdev.c:1147:
+ CNXK_TIM_CHNK_SLOTS "=<int>"
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#157: FILE: drivers/event/cnxk/cn20k_eventdev.c:1148:
+ CNXK_TIM_RINGS_LMT "=<int>"
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#158: FILE: drivers/event/cnxk/cn20k_eventdev.c:1149:
+ CNXK_TIM_STATS_ENA "=1"
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#159: FILE: drivers/event/cnxk/cn20k_eventdev.c:1150:
+ CNXK_TIM_EXT_CLK "=<string>");
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#193: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:82:
+cnxk_tim_enable_hwwqe(struct cnxk_tim_evdev *dev, struct cnxk_tim_ring *tim_ring)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#193: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:82:
+cnxk_tim_enable_hwwqe(struct cnxk_tim_evdev *dev, struct cnxk_tim_ring *tim_ring)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#193: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:82:
+cnxk_tim_enable_hwwqe(struct cnxk_tim_evdev *dev, struct cnxk_tim_ring *tim_ring)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#193: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:82:
+cnxk_tim_enable_hwwqe(struct cnxk_tim_evdev *dev, struct cnxk_tim_ring *tim_ring)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#195: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:84:
+ struct roc_tim_hwwqe_cfg hwwqe_cfg;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#201: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:90:
+ hwwqe_cfg.result_offset = CNXK_TIM_HWWQE_RES_OFFSET_B;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#203: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:92:
+ tim_ring->lmt_base = dev->tim.roc_sso->lmt_base;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#203: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:92:
+ tim_ring->lmt_base = dev->tim.roc_sso->lmt_base;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#204: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:93:
+ return roc_tim_lf_config_hwwqe(&dev->tim, tim_ring->ring_id, &hwwqe_cfg);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#204: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:93:
+ return roc_tim_lf_config_hwwqe(&dev->tim, tim_ring->ring_id, &hwwqe_cfg);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#204: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:93:
+ return roc_tim_lf_config_hwwqe(&dev->tim, tim_ring->ring_id, &hwwqe_cfg);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#210: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:99:
+ struct cnxk_tim_evdev *dev = cnxk_tim_priv_get();
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#210: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:99:
+ struct cnxk_tim_evdev *dev = cnxk_tim_priv_get();
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#221: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:120:
+ if (dev->tim.feat.hwwqe) {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#222: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:121:
+ cnxk_tim_ops.arm_burst = cnxk_tim_arm_burst_hwwqe;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#222: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:121:
+ cnxk_tim_ops.arm_burst = cnxk_tim_arm_burst_hwwqe;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#223: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:122:
+ cnxk_tim_ops.arm_tmo_tick_burst = cnxk_tim_arm_tmo_burst_hwwqe;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#223: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:122:
+ cnxk_tim_ops.arm_tmo_tick_burst = cnxk_tim_arm_tmo_burst_hwwqe;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#224: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:123:
+ cnxk_tim_ops.cancel_burst = cnxk_tim_timer_cancel_burst_hwwqe;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#224: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:123:
+ cnxk_tim_ops.cancel_burst = cnxk_tim_timer_cancel_burst_hwwqe;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#236: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:253:
+ if (!dev->tim.feat.hwwqe && tim_ring->disable_npa) {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#236: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:253:
+ if (!dev->tim.feat.hwwqe && tim_ring->disable_npa) {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#242: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:259:
+ tim_ring->disable_npa = 0;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#250: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:285:
+ if (dev->tim.feat.hwwqe) {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#251: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:286:
+ rc = cnxk_tim_enable_hwwqe(dev, tim_ring);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#251: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:286:
+ rc = cnxk_tim_enable_hwwqe(dev, tim_ring);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#254: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:289:
+ goto tim_chnk_free;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#277: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:33:
+#define CNXK_TIM_HWWQE_RES_OFFSET_B (24)
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#278: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:34:
+#define CNXK_TIM_ENT_PER_LMT (7)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#294: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:317:
+uint16_t cnxk_tim_arm_burst_hwwqe(const struct rte_event_timer_adapter *adptr,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#295: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:318:
+ struct rte_event_timer **tim, const uint16_t nb_timers);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#297: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:320:
+uint16_t cnxk_tim_arm_tmo_burst_hwwqe(const struct rte_event_timer_adapter *adptr,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#298: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:321:
+ struct rte_event_timer **tim, const uint64_t timeout_tick,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#306: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:329:
+uint16_t cnxk_tim_timer_cancel_burst_hwwqe(const struct rte_event_timer_adapter *adptr,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#307: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:330:
+ struct rte_event_timer **tim, const uint16_t nb_timers);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#337: FILE: drivers/event/cnxk/cnxk_tim_worker.c:66:
+ __atomic_fetch_add(&tim_ring->arm_cnt, index, rte_memory_order_relaxed);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#343: FILE: drivers/event/cnxk/cnxk_tim_worker.c:72:
+cnxk_tim_arm_burst_hwwqe(const struct rte_event_timer_adapter *adptr, struct rte_event_timer **tim,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#343: FILE: drivers/event/cnxk/cnxk_tim_worker.c:72:
+cnxk_tim_arm_burst_hwwqe(const struct rte_event_timer_adapter *adptr, struct rte_event_timer **tim,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#346: FILE: drivers/event/cnxk/cnxk_tim_worker.c:75:
+ struct cnxk_tim_ring *tim_ring = adptr->data->adapter_priv;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#346: FILE: drivers/event/cnxk/cnxk_tim_worker.c:75:
+ struct cnxk_tim_ring *tim_ring = adptr->data->adapter_priv;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#350: FILE: drivers/event/cnxk/cnxk_tim_worker.c:79:
+ if (cnxk_tim_arm_checks(tim_ring, tim[index]))
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#350: FILE: drivers/event/cnxk/cnxk_tim_worker.c:79:
+ if (cnxk_tim_arm_checks(tim_ring, tim[index]))
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#350: FILE: drivers/event/cnxk/cnxk_tim_worker.c:79:
+ if (cnxk_tim_arm_checks(tim_ring, tim[index]))
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#353: FILE: drivers/event/cnxk/cnxk_tim_worker.c:82:
+ if (cnxk_tim_add_entry_hwwqe(tim_ring, tim[index]))
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#353: FILE: drivers/event/cnxk/cnxk_tim_worker.c:82:
+ if (cnxk_tim_add_entry_hwwqe(tim_ring, tim[index]))
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#353: FILE: drivers/event/cnxk/cnxk_tim_worker.c:82:
+ if (cnxk_tim_add_entry_hwwqe(tim_ring, tim[index]))
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#365: FILE: drivers/event/cnxk/cnxk_tim_worker.c:138:
+ __atomic_fetch_add(&tim_ring->arm_cnt, set_timers, rte_memory_order_relaxed);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#371: FILE: drivers/event/cnxk/cnxk_tim_worker.c:144:
+cnxk_tim_arm_tmo_burst_hwwqe(const struct rte_event_timer_adapter *adptr,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#372: FILE: drivers/event/cnxk/cnxk_tim_worker.c:145:
+ struct rte_event_timer **tim, const uint64_t timeout_tick,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#375: FILE: drivers/event/cnxk/cnxk_tim_worker.c:148:
+ struct cnxk_tim_ring *tim_ring = adptr->data->adapter_priv;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#375: FILE: drivers/event/cnxk/cnxk_tim_worker.c:148:
+ struct cnxk_tim_ring *tim_ring = adptr->data->adapter_priv;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#378: FILE: drivers/event/cnxk/cnxk_tim_worker.c:151:
+ if (unlikely(!timeout_tick || timeout_tick > tim_ring->nb_bkts)) {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#383: FILE: drivers/event/cnxk/cnxk_tim_worker.c:156:
+ tim[idx]->state = state;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#389: FILE: drivers/event/cnxk/cnxk_tim_worker.c:162:
+ return cnxk_tim_add_entry_tmo_hwwqe(tim_ring, tim, timeout_tick * tim_ring->tck_int,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#389: FILE: drivers/event/cnxk/cnxk_tim_worker.c:162:
+ return cnxk_tim_add_entry_tmo_hwwqe(tim_ring, tim, timeout_tick * tim_ring->tck_int,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#389: FILE: drivers/event/cnxk/cnxk_tim_worker.c:162:
+ return cnxk_tim_add_entry_tmo_hwwqe(tim_ring, tim, timeout_tick * tim_ring->tck_int,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#389: FILE: drivers/event/cnxk/cnxk_tim_worker.c:162:
+ return cnxk_tim_add_entry_tmo_hwwqe(tim_ring, tim, timeout_tick * tim_ring->tck_int,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#410: FILE: drivers/event/cnxk/cnxk_tim_worker.c:209:
+cnxk_tim_timer_cancel_burst_hwwqe(const struct rte_event_timer_adapter *adptr,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#411: FILE: drivers/event/cnxk/cnxk_tim_worker.c:210:
+ struct rte_event_timer **tim, const uint16_t nb_timers)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#418: FILE: drivers/event/cnxk/cnxk_tim_worker.c:217:
+ if (tim[i]->state == RTE_EVENT_TIMER_CANCELED) {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#423: FILE: drivers/event/cnxk/cnxk_tim_worker.c:222:
+ if (tim[i]->state != RTE_EVENT_TIMER_ARMED) {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#428: FILE: drivers/event/cnxk/cnxk_tim_worker.c:227:
+ status = &tim[i]->impl_opaque[1];
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#429: FILE: drivers/event/cnxk/cnxk_tim_worker.c:228:
+ if (!__atomic_compare_exchange_n(status, (uint64_t *)&tim[i], 0, 0,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#435: FILE: drivers/event/cnxk/cnxk_tim_worker.c:234:
+ tim[i]->state = RTE_EVENT_TIMER_CANCELED;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#453: FILE: drivers/event/cnxk/cnxk_tim_worker.h:136:
+cnxk_tim_format_event(const struct rte_event_timer *const tim, struct cnxk_tim_ent *const entry)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#453: FILE: drivers/event/cnxk/cnxk_tim_worker.h:136:
+cnxk_tim_format_event(const struct rte_event_timer *const tim, struct cnxk_tim_ent *const entry)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#453: FILE: drivers/event/cnxk/cnxk_tim_worker.h:136:
+cnxk_tim_format_event(const struct rte_event_timer *const tim, struct cnxk_tim_ent *const entry)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#455: FILE: drivers/event/cnxk/cnxk_tim_worker.h:138:
+ entry->w0 = (tim->ev.event & 0xFFC000000000) >> 6 | (tim->ev.event & 0xFFFFFFFFF);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#455: FILE: drivers/event/cnxk/cnxk_tim_worker.h:138:
+ entry->w0 = (tim->ev.event & 0xFFC000000000) >> 6 | (tim->ev.event & 0xFFFFFFFFF);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#456: FILE: drivers/event/cnxk/cnxk_tim_worker.h:139:
+ entry->wqe = tim->ev.u64;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#467: FILE: drivers/event/cnxk/cnxk_tim_worker.h:585:
+cnxk_tim_add_entry_hwwqe(struct cnxk_tim_ring *const tim_ring, struct rte_event_timer *const tim)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#467: FILE: drivers/event/cnxk/cnxk_tim_worker.h:585:
+cnxk_tim_add_entry_hwwqe(struct cnxk_tim_ring *const tim_ring, struct rte_event_timer *const tim)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#467: FILE: drivers/event/cnxk/cnxk_tim_worker.h:585:
+cnxk_tim_add_entry_hwwqe(struct cnxk_tim_ring *const tim_ring, struct rte_event_timer *const tim)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#467: FILE: drivers/event/cnxk/cnxk_tim_worker.h:585:
+cnxk_tim_add_entry_hwwqe(struct cnxk_tim_ring *const tim_ring, struct rte_event_timer *const tim)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#477: FILE: drivers/event/cnxk/cnxk_tim_worker.h:595:
+ status = &tim->impl_opaque[0];
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#481: FILE: drivers/event/cnxk/cnxk_tim_worker.h:599:
+ lmt_addr = tim_ring->lmt_base;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#485: FILE: drivers/event/cnxk/cnxk_tim_worker.h:603:
+ lmt[0] = tim->timeout_ticks * tim_ring->tck_int;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#485: FILE: drivers/event/cnxk/cnxk_tim_worker.h:603:
+ lmt[0] = tim->timeout_ticks * tim_ring->tck_int;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#487: FILE: drivers/event/cnxk/cnxk_tim_worker.h:605:
+ lmt[2] = (tim->ev.event & 0xFFC000000000) >> 6 | (tim->ev.event & 0xFFFFFFFFF);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#487: FILE: drivers/event/cnxk/cnxk_tim_worker.h:605:
+ lmt[2] = (tim->ev.event & 0xFFC000000000) >> 6 | (tim->ev.event & 0xFFFFFFFFF);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#488: FILE: drivers/event/cnxk/cnxk_tim_worker.h:606:
+ lmt[3] = (uint64_t)tim;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#493: FILE: drivers/event/cnxk/cnxk_tim_worker.h:611:
+ pa = (tim_ring->tbase & ~0xFF) + TIM_LF_SCHED_TIMER0;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#493: FILE: drivers/event/cnxk/cnxk_tim_worker.h:611:
+ pa = (tim_ring->tbase & ~0xFF) + TIM_LF_SCHED_TIMER0;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#505: FILE: drivers/event/cnxk/cnxk_tim_worker.h:623:
+ tim->state = RTE_EVENT_TIMER_ERROR_TOOEARLY;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#509: FILE: drivers/event/cnxk/cnxk_tim_worker.h:627:
+ tim->state = RTE_EVENT_TIMER_ERROR_TOOLATE;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#513: FILE: drivers/event/cnxk/cnxk_tim_worker.h:631:
+ tim->state = RTE_EVENT_TIMER_ARMED;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#516: FILE: drivers/event/cnxk/cnxk_tim_worker.h:634:
+ tim->state = RTE_EVENT_TIMER_ERROR;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#525: FILE: drivers/event/cnxk/cnxk_tim_worker.h:643:
+cnxk_tim_add_entry_tmo_hwwqe(struct cnxk_tim_ring *const tim_ring,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#525: FILE: drivers/event/cnxk/cnxk_tim_worker.h:643:
+cnxk_tim_add_entry_tmo_hwwqe(struct cnxk_tim_ring *const tim_ring,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#525: FILE: drivers/event/cnxk/cnxk_tim_worker.h:643:
+cnxk_tim_add_entry_tmo_hwwqe(struct cnxk_tim_ring *const tim_ring,
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#526: FILE: drivers/event/cnxk/cnxk_tim_worker.h:644:
+ struct rte_event_timer **const tim, uint64_t intvl, uint16_t nb_timers)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#537: FILE: drivers/event/cnxk/cnxk_tim_worker.h:655:
+ lmt_addr = tim_ring->lmt_base;
WARNING:TYPO_SPELLING: 'upto' may be misspelled - perhaps 'up to'?
#542: FILE: drivers/event/cnxk/cnxk_tim_worker.h:660:
+ /* We can do upto 7 timers per LMTLINE */
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#543: FILE: drivers/event/cnxk/cnxk_tim_worker.h:661:
+ cnt = nb_timers / CNXK_TIM_ENT_PER_LMT;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#550: FILE: drivers/event/cnxk/cnxk_tim_worker.h:668:
+ pa = (tim_ring->tbase & ~0xFF) + TIM_LF_SCHED_TIMER0;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#550: FILE: drivers/event/cnxk/cnxk_tim_worker.h:668:
+ pa = (tim_ring->tbase & ~0xFF) + TIM_LF_SCHED_TIMER0;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#551: FILE: drivers/event/cnxk/cnxk_tim_worker.h:669:
+ pa |= (uint64_t)(CNXK_TIM_ENT_PER_LMT << 4);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#553: FILE: drivers/event/cnxk/cnxk_tim_worker.h:671:
+ status = &tim[i * CNXK_TIM_ENT_PER_LMT]->impl_opaque[0];
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#553: FILE: drivers/event/cnxk/cnxk_tim_worker.h:671:
+ status = &tim[i * CNXK_TIM_ENT_PER_LMT]->impl_opaque[0];
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#555: FILE: drivers/event/cnxk/cnxk_tim_worker.h:673:
+ for (j = 0; j < CNXK_TIM_ENT_PER_LMT; j++) {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#556: FILE: drivers/event/cnxk/cnxk_tim_worker.h:674:
+ cnxk_tim_format_event(tim[(i * CNXK_TIM_ENT_PER_LMT) + j],
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#556: FILE: drivers/event/cnxk/cnxk_tim_worker.h:674:
+ cnxk_tim_format_event(tim[(i * CNXK_TIM_ENT_PER_LMT) + j],
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#556: FILE: drivers/event/cnxk/cnxk_tim_worker.h:674:
+ cnxk_tim_format_event(tim[(i * CNXK_TIM_ENT_PER_LMT) + j],
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#557: FILE: drivers/event/cnxk/cnxk_tim_worker.h:675:
+ (struct cnxk_tim_ent *)&lmt[(j << 1) + 2]);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#558: FILE: drivers/event/cnxk/cnxk_tim_worker.h:676:
+ tim[(i * CNXK_TIM_ENT_PER_LMT) + j]->impl_opaque[0] = 0;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#558: FILE: drivers/event/cnxk/cnxk_tim_worker.h:676:
+ tim[(i * CNXK_TIM_ENT_PER_LMT) + j]->impl_opaque[0] = 0;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#559: FILE: drivers/event/cnxk/cnxk_tim_worker.h:677:
+ tim[(i * CNXK_TIM_ENT_PER_LMT) + j]->impl_opaque[1] = 0;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#559: FILE: drivers/event/cnxk/cnxk_tim_worker.h:677:
+ tim[(i * CNXK_TIM_ENT_PER_LMT) + j]->impl_opaque[1] = 0;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#560: FILE: drivers/event/cnxk/cnxk_tim_worker.h:678:
+ tim[(i * CNXK_TIM_ENT_PER_LMT) + j]->state = RTE_EVENT_TIMER_ARMED;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#560: FILE: drivers/event/cnxk/cnxk_tim_worker.h:678:
+ tim[(i * CNXK_TIM_ENT_PER_LMT) + j]->state = RTE_EVENT_TIMER_ARMED;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#569: FILE: drivers/event/cnxk/cnxk_tim_worker.h:687:
+ done += CNXK_TIM_ENT_PER_LMT;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#574: FILE: drivers/event/cnxk/cnxk_tim_worker.h:692:
+ for (j = 0; j < CNXK_TIM_ENT_PER_LMT; j++)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#575: FILE: drivers/event/cnxk/cnxk_tim_worker.h:693:
+ tim[(i * CNXK_TIM_ENT_PER_LMT) + j]->state =
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#575: FILE: drivers/event/cnxk/cnxk_tim_worker.h:693:
+ tim[(i * CNXK_TIM_ENT_PER_LMT) + j]->state =
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#577: FILE: drivers/event/cnxk/cnxk_tim_worker.h:695:
+ done -= CNXK_TIM_ENT_PER_LMT;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#580: FILE: drivers/event/cnxk/cnxk_tim_worker.h:698:
+ for (j = 0; j < CNXK_TIM_ENT_PER_LMT; j++)
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#581: FILE: drivers/event/cnxk/cnxk_tim_worker.h:699:
+ tim[(i * CNXK_TIM_ENT_PER_LMT) + j]->state =
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#581: FILE: drivers/event/cnxk/cnxk_tim_worker.h:699:
+ tim[(i * CNXK_TIM_ENT_PER_LMT) + j]->state =
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#583: FILE: drivers/event/cnxk/cnxk_tim_worker.h:701:
+ done -= CNXK_TIM_ENT_PER_LMT;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#587: FILE: drivers/event/cnxk/cnxk_tim_worker.h:705:
+ for (j = 0; j < CNXK_TIM_ENT_PER_LMT; j++) {
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#588: FILE: drivers/event/cnxk/cnxk_tim_worker.h:706:
+ if ((__atomic_load_n(&tim[(i * CNXK_TIM_ENT_PER_LMT) + j]
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#588: FILE: drivers/event/cnxk/cnxk_tim_worker.h:706:
+ if ((__atomic_load_n(&tim[(i * CNXK_TIM_ENT_PER_LMT) + j]
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#592: FILE: drivers/event/cnxk/cnxk_tim_worker.h:710:
+ tim[(i * CNXK_TIM_ENT_PER_LMT) + j]->state =
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#592: FILE: drivers/event/cnxk/cnxk_tim_worker.h:710:
+ tim[(i * CNXK_TIM_ENT_PER_LMT) + j]->state =
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#604: FILE: drivers/event/cnxk/cnxk_tim_worker.h:722:
+ pa = (tim_ring->tbase & ~0xFF) + TIM_LF_SCHED_TIMER0;
WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#604: FILE: drivers/event/cnxk/cnxk_tim_worker.h:722:
+ pa = (tim_ring->tbase & ~0xFF) + TIM_LF_SCHED_TIMER0;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#607: FILE: drivers/event/cnxk/cnxk_tim_worker.h:725:
+ status = &tim[cnt]->impl_opaque[0];
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#610: FILE: drivers/event/cnxk/cnxk_tim_worker.h:728:
+ cnxk_tim_format_event(tim[cnt + i],
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#610: FILE: drivers/event/cnxk/cnxk_tim_worker.h:728:
+ cnxk_tim_format_event(tim[cnt + i],
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#611: FILE: drivers/event/cnxk/cnxk_tim_worker.h:729:
+ (struct cnxk_tim_ent *)&lmt[(i << 1) + 2]);
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#612: FILE: drivers/event/cnxk/cnxk_tim_worker.h:730:
+ tim[cnt + i]->impl_opaque[0] = 0;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#613: FILE: drivers/event/cnxk/cnxk_tim_worker.h:731:
+ tim[cnt + i]->impl_opaque[1] = 0;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#614: FILE: drivers/event/cnxk/cnxk_tim_worker.h:732:
+ tim[cnt + i]->state = RTE_EVENT_TIMER_ARMED;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#629: FILE: drivers/event/cnxk/cnxk_tim_worker.h:747:
+ tim[cnt + j]->state = RTE_EVENT_TIMER_ERROR_TOOEARLY;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#634: FILE: drivers/event/cnxk/cnxk_tim_worker.h:752:
+ tim[cnt + j]->state = RTE_EVENT_TIMER_ERROR_TOOLATE;
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#640: FILE: drivers/event/cnxk/cnxk_tim_worker.h:758:
+ if ((__atomic_load_n(&tim[cnt + j]->impl_opaque[0],
WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#643: FILE: drivers/event/cnxk/cnxk_tim_worker.h:761:
+ tim[cnt + j]->state = RTE_EVENT_TIMER_ERROR;
total: 0 errors, 148 warnings, 511 lines checked
Warning in drivers/event/cnxk/cnxk_tim_worker.h:
Using __atomic_xxx/__ATOMIC_XXX built-ins, prefer rte_atomic_xxx/rte_memory_order_xxx
^ permalink raw reply [flat|nested] 2+ messages in thread