From a83fc0f4e118019b2e4fc8f033d59aedce17d7cb Mon Sep 17 00:00:00 2001 From: Pavan Nikhilesh Date: Mon, 21 Oct 2024 11:06:51 +0200 Subject: [PATCH] event/cnxk: remove single event enqueue and dequeue Provide only burst enqueue and dequeue. Signed-off-by: Pavan Nikhilesh --- drivers/event/cnxk/cn10k_eventdev.c | 79 +------ drivers/event/cnxk/cn10k_worker.c | 49 ++--- drivers/event/cnxk/cn10k_worker.h | 108 ++++------ drivers/event/cnxk/cn9k_eventdev.c | 83 +------ drivers/event/cnxk/cn9k_worker.c | 26 +-- drivers/event/cnxk/cn9k_worker.h | 202 ++++++++---------- drivers/event/cnxk/deq/cn10k/deq_0_15.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_0_15_seg.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_0_15_tmo.c | 20 -- .../event/cnxk/deq/cn10k/deq_0_15_tmo_seg.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_112_127.c | 20 -- .../event/cnxk/deq/cn10k/deq_112_127_seg.c | 20 -- .../event/cnxk/deq/cn10k/deq_112_127_tmo.c | 20 -- .../cnxk/deq/cn10k/deq_112_127_tmo_seg.c | 17 -- drivers/event/cnxk/deq/cn10k/deq_16_31.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_16_31_seg.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_16_31_tmo.c | 20 -- .../event/cnxk/deq/cn10k/deq_16_31_tmo_seg.c | 21 -- drivers/event/cnxk/deq/cn10k/deq_32_47.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_32_47_seg.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_32_47_tmo.c | 20 -- .../event/cnxk/deq/cn10k/deq_32_47_tmo_seg.c | 21 -- drivers/event/cnxk/deq/cn10k/deq_48_63.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_48_63_seg.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_48_63_tmo.c | 20 -- .../event/cnxk/deq/cn10k/deq_48_63_tmo_seg.c | 21 -- drivers/event/cnxk/deq/cn10k/deq_64_79.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_64_79_seg.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_64_79_tmo.c | 20 -- .../event/cnxk/deq/cn10k/deq_64_79_tmo_seg.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_80_95.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_80_95_seg.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_80_95_tmo.c | 20 -- .../event/cnxk/deq/cn10k/deq_80_95_tmo_seg.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_96_111.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_96_111_seg.c | 20 -- drivers/event/cnxk/deq/cn10k/deq_96_111_tmo.c | 20 -- .../event/cnxk/deq/cn10k/deq_96_111_tmo_seg.c | 20 -- .../event/cnxk/deq/cn10k/deq_all_offload.c | 24 +-- drivers/event/cnxk/deq/cn9k/deq_0_15.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_0_15_dual.c | 16 -- .../event/cnxk/deq/cn9k/deq_0_15_dual_seg.c | 16 -- .../event/cnxk/deq/cn9k/deq_0_15_dual_tmo.c | 16 -- .../cnxk/deq/cn9k/deq_0_15_dual_tmo_seg.c | 17 -- drivers/event/cnxk/deq/cn9k/deq_0_15_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_0_15_tmo.c | 16 -- .../event/cnxk/deq/cn9k/deq_0_15_tmo_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_112_127.c | 16 -- .../event/cnxk/deq/cn9k/deq_112_127_dual.c | 16 -- .../cnxk/deq/cn9k/deq_112_127_dual_seg.c | 16 -- .../cnxk/deq/cn9k/deq_112_127_dual_tmo.c | 16 -- .../cnxk/deq/cn9k/deq_112_127_dual_tmo_seg.c | 17 -- drivers/event/cnxk/deq/cn9k/deq_112_127_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_112_127_tmo.c | 16 -- .../event/cnxk/deq/cn9k/deq_112_127_tmo_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_16_31.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_16_31_dual.c | 16 -- .../event/cnxk/deq/cn9k/deq_16_31_dual_seg.c | 16 -- .../event/cnxk/deq/cn9k/deq_16_31_dual_tmo.c | 16 -- .../cnxk/deq/cn9k/deq_16_31_dual_tmo_seg.c | 17 -- drivers/event/cnxk/deq/cn9k/deq_16_31_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_16_31_tmo.c | 16 -- .../event/cnxk/deq/cn9k/deq_16_31_tmo_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_32_47.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_32_47_dual.c | 16 -- .../event/cnxk/deq/cn9k/deq_32_47_dual_seg.c | 16 -- .../event/cnxk/deq/cn9k/deq_32_47_dual_tmo.c | 16 -- .../cnxk/deq/cn9k/deq_32_47_dual_tmo_seg.c | 17 -- drivers/event/cnxk/deq/cn9k/deq_32_47_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_32_47_tmo.c | 16 -- .../event/cnxk/deq/cn9k/deq_32_47_tmo_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_48_63.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_48_63_dual.c | 16 -- .../event/cnxk/deq/cn9k/deq_48_63_dual_seg.c | 16 -- .../event/cnxk/deq/cn9k/deq_48_63_dual_tmo.c | 16 -- .../cnxk/deq/cn9k/deq_48_63_dual_tmo_seg.c | 17 -- drivers/event/cnxk/deq/cn9k/deq_48_63_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_48_63_tmo.c | 16 -- .../event/cnxk/deq/cn9k/deq_48_63_tmo_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_64_79.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_64_79_dual.c | 16 -- .../event/cnxk/deq/cn9k/deq_64_79_dual_seg.c | 16 -- .../event/cnxk/deq/cn9k/deq_64_79_dual_tmo.c | 16 -- .../cnxk/deq/cn9k/deq_64_79_dual_tmo_seg.c | 17 -- drivers/event/cnxk/deq/cn9k/deq_64_79_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_64_79_tmo.c | 16 -- .../event/cnxk/deq/cn9k/deq_64_79_tmo_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_80_95.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_80_95_dual.c | 16 -- .../event/cnxk/deq/cn9k/deq_80_95_dual_seg.c | 16 -- .../event/cnxk/deq/cn9k/deq_80_95_dual_tmo.c | 16 -- .../cnxk/deq/cn9k/deq_80_95_dual_tmo_seg.c | 17 -- drivers/event/cnxk/deq/cn9k/deq_80_95_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_80_95_tmo.c | 16 -- .../event/cnxk/deq/cn9k/deq_80_95_tmo_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_96_111.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_96_111_dual.c | 16 -- .../event/cnxk/deq/cn9k/deq_96_111_dual_seg.c | 16 -- .../event/cnxk/deq/cn9k/deq_96_111_dual_tmo.c | 16 -- .../cnxk/deq/cn9k/deq_96_111_dual_tmo_seg.c | 17 -- drivers/event/cnxk/deq/cn9k/deq_96_111_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_96_111_tmo.c | 16 -- .../event/cnxk/deq/cn9k/deq_96_111_tmo_seg.c | 16 -- drivers/event/cnxk/deq/cn9k/deq_all_offload.c | 51 ++--- drivers/event/cnxk/meson.build | 96 --------- 105 files changed, 187 insertions(+), 2203 deletions(-) delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_0_15.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_0_15_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_0_15_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_0_15_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_112_127.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_112_127_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_112_127_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_112_127_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_16_31.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_16_31_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_16_31_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_16_31_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_32_47.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_32_47_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_32_47_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_32_47_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_48_63.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_48_63_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_48_63_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_48_63_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_64_79.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_64_79_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_64_79_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_64_79_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_80_95.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_80_95_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_80_95_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_80_95_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_96_111.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_96_111_seg.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_96_111_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn10k/deq_96_111_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_0_15.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_0_15_dual.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_0_15_dual_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_0_15_dual_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_0_15_dual_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_0_15_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_0_15_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_0_15_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_112_127.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_112_127_dual.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_112_127_dual_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_112_127_dual_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_112_127_dual_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_112_127_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_112_127_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_112_127_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_16_31.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_16_31_dual.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_16_31_dual_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_16_31_dual_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_16_31_dual_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_16_31_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_16_31_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_16_31_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_32_47.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_32_47_dual.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_32_47_dual_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_32_47_dual_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_32_47_dual_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_32_47_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_32_47_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_32_47_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_48_63.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_48_63_dual.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_48_63_dual_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_48_63_dual_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_48_63_dual_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_48_63_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_48_63_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_48_63_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_64_79.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_64_79_dual.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_64_79_dual_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_64_79_dual_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_64_79_dual_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_64_79_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_64_79_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_64_79_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_80_95.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_80_95_dual.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_80_95_dual_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_80_95_dual_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_80_95_dual_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_80_95_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_80_95_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_80_95_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_96_111.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_96_111_dual.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_96_111_dual_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_96_111_dual_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_96_111_dual_tmo_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_96_111_seg.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_96_111_tmo.c delete mode 100644 drivers/event/cnxk/deq/cn9k/deq_96_111_tmo_seg.c diff --git a/drivers/event/cnxk/cn10k_eventdev.c b/drivers/event/cnxk/cn10k_eventdev.c index 531c489172c..8c8fb579cc1 100644 --- a/drivers/event/cnxk/cn10k_eventdev.c +++ b/drivers/event/cnxk/cn10k_eventdev.c @@ -311,11 +311,6 @@ cn10k_sso_fp_tmplt_fns_set(struct rte_eventdev *event_dev) { #if !defined(CNXK_DIS_TMPLT_FUNC) struct cnxk_sso_evdev *dev = cnxk_sso_pmd_priv(event_dev); - const event_dequeue_t sso_hws_deq[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn10k_sso_hws_deq_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; const event_dequeue_burst_t sso_hws_deq_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn10k_sso_hws_deq_burst_##name, @@ -323,86 +318,42 @@ cn10k_sso_fp_tmplt_fns_set(struct rte_eventdev *event_dev) #undef R }; - const event_dequeue_t sso_hws_deq_tmo[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn10k_sso_hws_deq_tmo_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_deq_tmo_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn10k_sso_hws_deq_tmo_burst_##name, NIX_RX_FASTPATH_MODES #undef R }; - const event_dequeue_t sso_hws_deq_seg[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn10k_sso_hws_deq_seg_##name, - - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_deq_seg_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn10k_sso_hws_deq_seg_burst_##name, NIX_RX_FASTPATH_MODES #undef R }; - const event_dequeue_t sso_hws_deq_tmo_seg[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn10k_sso_hws_deq_tmo_seg_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_deq_tmo_seg_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn10k_sso_hws_deq_tmo_seg_burst_##name, NIX_RX_FASTPATH_MODES #undef R }; - const event_dequeue_t sso_hws_reas_deq[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn10k_sso_hws_reas_deq_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_reas_deq_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn10k_sso_hws_reas_deq_burst_##name, NIX_RX_FASTPATH_MODES #undef R }; - const event_dequeue_t sso_hws_reas_deq_tmo[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn10k_sso_hws_reas_deq_tmo_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_reas_deq_tmo_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn10k_sso_hws_reas_deq_tmo_burst_##name, NIX_RX_FASTPATH_MODES #undef R }; - const event_dequeue_t sso_hws_reas_deq_seg[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn10k_sso_hws_reas_deq_seg_##name, - - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_reas_deq_seg_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn10k_sso_hws_reas_deq_seg_burst_##name, NIX_RX_FASTPATH_MODES #undef R }; - const event_dequeue_t sso_hws_reas_deq_tmo_seg[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn10k_sso_hws_reas_deq_tmo_seg_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_reas_deq_tmo_seg_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn10k_sso_hws_reas_deq_tmo_seg_burst_##name, NIX_RX_FASTPATH_MODES @@ -424,48 +375,33 @@ cn10k_sso_fp_tmplt_fns_set(struct rte_eventdev *event_dev) if (dev->rx_offloads & NIX_RX_MULTI_SEG_F) { if (dev->rx_offloads & NIX_RX_REAS_F) { - CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, sso_hws_reas_deq_seg); CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_reas_deq_seg_burst); - if (dev->is_timeout_deq) { - CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, - sso_hws_reas_deq_tmo_seg); + if (dev->is_timeout_deq) CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_reas_deq_tmo_seg_burst); - } } else { - CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, sso_hws_deq_seg); CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_deq_seg_burst); - if (dev->is_timeout_deq) { - CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, - sso_hws_deq_tmo_seg); + if (dev->is_timeout_deq) CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_deq_tmo_seg_burst); - } } } else { if (dev->rx_offloads & NIX_RX_REAS_F) { - CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, sso_hws_reas_deq); CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_reas_deq_burst); - if (dev->is_timeout_deq) { - CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, - sso_hws_reas_deq_tmo); + if (dev->is_timeout_deq) CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_reas_deq_tmo_burst); - } } else { - CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, sso_hws_deq); CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_deq_burst); - if (dev->is_timeout_deq) { - CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, sso_hws_deq_tmo); + if (dev->is_timeout_deq) CN10K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_deq_tmo_burst); - } } } @@ -486,12 +422,9 @@ cn10k_sso_fp_blk_fns_set(struct rte_eventdev *event_dev) #if defined(CNXK_DIS_TMPLT_FUNC) struct cnxk_sso_evdev *dev = cnxk_sso_pmd_priv(event_dev); - event_dev->dequeue = cn10k_sso_hws_deq_all_offload; event_dev->dequeue_burst = cn10k_sso_hws_deq_burst_all_offload; - if (dev->rx_offloads & NIX_RX_OFFLOAD_TSTAMP_F) { - event_dev->dequeue = cn10k_sso_hws_deq_all_offload_tst; + if (dev->rx_offloads & NIX_RX_OFFLOAD_TSTAMP_F) event_dev->dequeue_burst = cn10k_sso_hws_deq_burst_all_offload_tst; - } event_dev->txa_enqueue = cn10k_sso_hws_tx_adptr_enq_seg_all_offload; event_dev->txa_enqueue_same_dest = cn10k_sso_hws_tx_adptr_enq_seg_all_offload; if (dev->tx_offloads & (NIX_TX_OFFLOAD_OL3_OL4_CSUM_F | NIX_TX_OFFLOAD_VLAN_QINQ_F | @@ -514,7 +447,6 @@ cn10k_sso_fp_fns_set(struct rte_eventdev *event_dev) cn10k_sso_fp_blk_fns_set(event_dev); cn10k_sso_fp_tmplt_fns_set(event_dev); - event_dev->enqueue = cn10k_sso_hws_enq; event_dev->enqueue_burst = cn10k_sso_hws_enq_burst; event_dev->enqueue_new_burst = cn10k_sso_hws_enq_new_burst; event_dev->enqueue_forward_burst = cn10k_sso_hws_enq_fwd_burst; @@ -848,7 +780,6 @@ eventdev_fops_update(struct rte_eventdev *event_dev) struct rte_event_fp_ops *fp_op = rte_event_fp_ops + event_dev->data->dev_id; - fp_op->dequeue = event_dev->dequeue; fp_op->dequeue_burst = event_dev->dequeue_burst; } diff --git a/drivers/event/cnxk/cn10k_worker.c b/drivers/event/cnxk/cn10k_worker.c index a0e85face1c..c49138316c2 100644 --- a/drivers/event/cnxk/cn10k_worker.c +++ b/drivers/event/cnxk/cn10k_worker.c @@ -107,32 +107,6 @@ sso_lmt_aw_wait_fc(struct cn10k_sso_hws *ws, int64_t req) } } -uint16_t __rte_hot -cn10k_sso_hws_enq(void *port, const struct rte_event *ev) -{ - struct cn10k_sso_hws *ws = port; - - switch (ev->op) { - case RTE_EVENT_OP_NEW: - return cn10k_sso_hws_new_event(ws, ev); - case RTE_EVENT_OP_FORWARD: - cn10k_sso_hws_forward_event(ws, ev); - break; - case RTE_EVENT_OP_RELEASE: - if (ws->swtag_req) { - cnxk_sso_hws_desched(ev->u64, ws->base); - ws->swtag_req = 0; - break; - } - cnxk_sso_hws_swtag_flush(ws->base); - break; - default: - return 0; - } - - return 1; -} - #define VECTOR_SIZE_BITS 0xFFFFFFFFFFF80000ULL #define VECTOR_GET_LINE_OFFSET(line) (19 + (3 * line)) @@ -384,8 +358,29 @@ uint16_t __rte_hot cn10k_sso_hws_enq_burst(void *port, const struct rte_event ev[], uint16_t nb_events) { + struct cn10k_sso_hws *ws = port; + RTE_SET_USED(nb_events); - return cn10k_sso_hws_enq(port, ev); + + switch (ev->op) { + case RTE_EVENT_OP_NEW: + return cn10k_sso_hws_new_event(ws, ev); + case RTE_EVENT_OP_FORWARD: + cn10k_sso_hws_forward_event(ws, ev); + break; + case RTE_EVENT_OP_RELEASE: + if (ws->swtag_req) { + cnxk_sso_hws_desched(ev->u64, ws->base); + ws->swtag_req = 0; + break; + } + cnxk_sso_hws_swtag_flush(ws->base); + break; + default: + return 0; + } + + return 1; } uint16_t __rte_hot diff --git a/drivers/event/cnxk/cn10k_worker.h b/drivers/event/cnxk/cn10k_worker.h index 4785cc6575b..5d3394508e4 100644 --- a/drivers/event/cnxk/cn10k_worker.h +++ b/drivers/event/cnxk/cn10k_worker.h @@ -366,7 +366,6 @@ cn10k_sso_hws_get_work_empty(struct cn10k_sso_hws *ws, struct rte_event *ev, } /* CN10K Fastpath functions. */ -uint16_t __rte_hot cn10k_sso_hws_enq(void *port, const struct rte_event *ev); uint16_t __rte_hot cn10k_sso_hws_enq_burst(void *port, const struct rte_event ev[], uint16_t nb_events); @@ -381,83 +380,51 @@ int __rte_hot cn10k_sso_hws_preschedule_modify(void *port, enum rte_event_dev_preschedule_type type); #define R(name, flags) \ - uint16_t __rte_hot cn10k_sso_hws_deq_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_deq_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_deq_tmo_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_deq_tmo_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_deq_ca_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_deq_ca_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_deq_tmo_ca_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_deq_tmo_ca_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_deq_seg_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_deq_seg_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_deq_tmo_seg_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_deq_tmo_seg_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_deq_ca_seg_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_deq_ca_seg_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_deq_tmo_ca_seg_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_deq_tmo_ca_seg_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_reas_deq_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_reas_deq_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_reas_deq_tmo_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_reas_deq_tmo_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_reas_deq_ca_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_reas_deq_ca_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_reas_deq_tmo_ca_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_reas_deq_tmo_ca_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_reas_deq_seg_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_reas_deq_seg_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_reas_deq_tmo_seg_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_reas_deq_tmo_seg_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_reas_deq_ca_seg_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_reas_deq_ca_seg_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn10k_sso_hws_reas_deq_tmo_ca_seg_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn10k_sso_hws_reas_deq_tmo_ca_seg_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); @@ -465,44 +432,55 @@ int __rte_hot cn10k_sso_hws_preschedule_modify(void *port, NIX_RX_FASTPATH_MODES #undef R -#define SSO_DEQ(fn, flags) \ - uint16_t __rte_hot fn(void *port, struct rte_event *ev, \ - uint64_t timeout_ticks) \ - { \ - struct cn10k_sso_hws *ws = port; \ - RTE_SET_USED(timeout_ticks); \ - if (ws->swtag_req) { \ - ws->swtag_req = 0; \ - ws->gw_rdata = cnxk_sso_hws_swtag_wait( \ - ws->base + SSOW_LF_GWS_WQE0); \ - return 1; \ - } \ - return cn10k_sso_hws_get_work(ws, ev, flags); \ +#define SSO_DEQ(fn, flags) \ + static __rte_always_inline uint16_t fn(void *port, struct rte_event *ev, \ + uint64_t timeout_ticks) \ + { \ + struct cn10k_sso_hws *ws = port; \ + RTE_SET_USED(timeout_ticks); \ + if (ws->swtag_req) { \ + ws->swtag_req = 0; \ + ws->gw_rdata = cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_WQE0); \ + return 1; \ + } \ + return cn10k_sso_hws_get_work(ws, ev, flags); \ } #define SSO_DEQ_SEG(fn, flags) SSO_DEQ(fn, flags | NIX_RX_MULTI_SEG_F) -#define SSO_DEQ_TMO(fn, flags) \ - uint16_t __rte_hot fn(void *port, struct rte_event *ev, \ - uint64_t timeout_ticks) \ - { \ - struct cn10k_sso_hws *ws = port; \ - uint16_t ret = 1; \ - uint64_t iter; \ - if (ws->swtag_req) { \ - ws->swtag_req = 0; \ - ws->gw_rdata = cnxk_sso_hws_swtag_wait( \ - ws->base + SSOW_LF_GWS_WQE0); \ - return ret; \ - } \ - ret = cn10k_sso_hws_get_work(ws, ev, flags); \ - for (iter = 1; iter < timeout_ticks && (ret == 0); iter++) \ - ret = cn10k_sso_hws_get_work(ws, ev, flags); \ - return ret; \ +#define SSO_DEQ_TMO(fn, flags) \ + static __rte_always_inline uint16_t fn(void *port, struct rte_event *ev, \ + uint64_t timeout_ticks) \ + { \ + struct cn10k_sso_hws *ws = port; \ + uint16_t ret = 1; \ + uint64_t iter; \ + if (ws->swtag_req) { \ + ws->swtag_req = 0; \ + ws->gw_rdata = cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_WQE0); \ + return ret; \ + } \ + ret = cn10k_sso_hws_get_work(ws, ev, flags); \ + for (iter = 1; iter < timeout_ticks && (ret == 0); iter++) \ + ret = cn10k_sso_hws_get_work(ws, ev, flags); \ + return ret; \ } #define SSO_DEQ_TMO_SEG(fn, flags) SSO_DEQ_TMO(fn, flags | NIX_RX_MULTI_SEG_F) +#define R(name, flags) \ + SSO_DEQ(cn10k_sso_hws_deq_##name, flags) \ + SSO_DEQ(cn10k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) \ + SSO_DEQ_SEG(cn10k_sso_hws_deq_seg_##name, flags) \ + SSO_DEQ_SEG(cn10k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) \ + SSO_DEQ_TMO(cn10k_sso_hws_deq_tmo_##name, flags) \ + SSO_DEQ_TMO(cn10k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) \ + SSO_DEQ_TMO_SEG(cn10k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_DEQ_TMO_SEG(cn10k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) + +NIX_RX_FASTPATH_MODES +#undef R + #define SSO_CMN_DEQ_BURST(fnb, fn, flags) \ uint16_t __rte_hot fnb(void *port, struct rte_event ev[], \ uint16_t nb_events, uint64_t timeout_ticks) \ @@ -519,12 +497,8 @@ NIX_RX_FASTPATH_MODES return fn(port, ev, timeout_ticks); \ } -uint16_t __rte_hot cn10k_sso_hws_deq_all_offload(void *port, struct rte_event *ev, - uint64_t timeout_ticks); uint16_t __rte_hot cn10k_sso_hws_deq_burst_all_offload(void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); -uint16_t __rte_hot cn10k_sso_hws_deq_all_offload_tst(void *port, struct rte_event *ev, - uint64_t timeout_ticks); uint16_t __rte_hot cn10k_sso_hws_deq_burst_all_offload_tst(void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); diff --git a/drivers/event/cnxk/cn9k_eventdev.c b/drivers/event/cnxk/cn9k_eventdev.c index 377e910837c..b176044aa58 100644 --- a/drivers/event/cnxk/cn9k_eventdev.c +++ b/drivers/event/cnxk/cn9k_eventdev.c @@ -314,48 +314,24 @@ cn9k_sso_fp_tmplt_fns_set(struct rte_eventdev *event_dev) #if !defined(CNXK_DIS_TMPLT_FUNC) struct cnxk_sso_evdev *dev = cnxk_sso_pmd_priv(event_dev); /* Single WS modes */ - const event_dequeue_t sso_hws_deq[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn9k_sso_hws_deq_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_deq_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn9k_sso_hws_deq_burst_##name, NIX_RX_FASTPATH_MODES #undef R }; - const event_dequeue_t sso_hws_deq_tmo[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn9k_sso_hws_deq_tmo_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_deq_tmo_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn9k_sso_hws_deq_tmo_burst_##name, NIX_RX_FASTPATH_MODES #undef R }; - const event_dequeue_t sso_hws_deq_seg[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn9k_sso_hws_deq_seg_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_deq_seg_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn9k_sso_hws_deq_seg_burst_##name, NIX_RX_FASTPATH_MODES #undef R }; - const event_dequeue_t sso_hws_deq_tmo_seg[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn9k_sso_hws_deq_tmo_seg_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_deq_tmo_seg_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn9k_sso_hws_deq_tmo_seg_burst_##name, NIX_RX_FASTPATH_MODES @@ -363,48 +339,24 @@ cn9k_sso_fp_tmplt_fns_set(struct rte_eventdev *event_dev) }; /* Dual WS modes */ - const event_dequeue_t sso_hws_dual_deq[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn9k_sso_hws_dual_deq_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_dual_deq_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn9k_sso_hws_dual_deq_burst_##name, NIX_RX_FASTPATH_MODES #undef R }; - const event_dequeue_t sso_hws_dual_deq_tmo[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn9k_sso_hws_dual_deq_tmo_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_dual_deq_tmo_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn9k_sso_hws_dual_deq_tmo_burst_##name, NIX_RX_FASTPATH_MODES #undef R }; - const event_dequeue_t sso_hws_dual_deq_seg[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn9k_sso_hws_dual_deq_seg_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_dual_deq_seg_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn9k_sso_hws_dual_deq_seg_burst_##name, NIX_RX_FASTPATH_MODES #undef R }; - const event_dequeue_t sso_hws_dual_deq_tmo_seg[NIX_RX_OFFLOAD_MAX] = { -#define R(name, flags)[flags] = cn9k_sso_hws_dual_deq_tmo_seg_##name, - NIX_RX_FASTPATH_MODES -#undef R - }; - const event_dequeue_burst_t sso_hws_dual_deq_tmo_seg_burst[NIX_RX_OFFLOAD_MAX] = { #define R(name, flags)[flags] = cn9k_sso_hws_dual_deq_tmo_seg_burst_##name, NIX_RX_FASTPATH_MODES @@ -436,31 +388,22 @@ cn9k_sso_fp_tmplt_fns_set(struct rte_eventdev *event_dev) #undef T }; - event_dev->enqueue = cn9k_sso_hws_enq; event_dev->enqueue_burst = cn9k_sso_hws_enq_burst; event_dev->enqueue_new_burst = cn9k_sso_hws_enq_new_burst; event_dev->enqueue_forward_burst = cn9k_sso_hws_enq_fwd_burst; event_dev->profile_switch = cn9k_sso_hws_profile_switch; if (dev->rx_offloads & NIX_RX_MULTI_SEG_F) { - CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, sso_hws_deq_seg); CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_deq_seg_burst); - if (dev->is_timeout_deq) { - CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, - sso_hws_deq_tmo_seg); + if (dev->is_timeout_deq) CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_deq_tmo_seg_burst); - } } else { - CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, sso_hws_deq); CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_deq_burst); - if (dev->is_timeout_deq) { - CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, - sso_hws_deq_tmo); + if (dev->is_timeout_deq) CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_deq_tmo_burst); - } } event_dev->ca_enqueue = cn9k_sso_hws_ca_enq; event_dev->dma_enqueue = cn9k_dma_adapter_enqueue; @@ -473,7 +416,6 @@ cn9k_sso_fp_tmplt_fns_set(struct rte_eventdev *event_dev) sso_hws_tx_adptr_enq); if (dev->dual_ws) { - event_dev->enqueue = cn9k_sso_hws_dual_enq; event_dev->enqueue_burst = cn9k_sso_hws_dual_enq_burst; event_dev->enqueue_new_burst = cn9k_sso_hws_dual_enq_new_burst; event_dev->enqueue_forward_burst = @@ -483,25 +425,17 @@ cn9k_sso_fp_tmplt_fns_set(struct rte_eventdev *event_dev) event_dev->profile_switch = cn9k_sso_hws_dual_profile_switch; if (dev->rx_offloads & NIX_RX_MULTI_SEG_F) { - CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, - sso_hws_dual_deq_seg); CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_dual_deq_seg_burst); if (dev->is_timeout_deq) { - CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, - sso_hws_dual_deq_tmo_seg); CN9K_SET_EVDEV_DEQ_OP( dev, event_dev->dequeue_burst, sso_hws_dual_deq_tmo_seg_burst); } } else { - CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, - sso_hws_dual_deq); CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue_burst, sso_hws_dual_deq_burst); if (dev->is_timeout_deq) { - CN9K_SET_EVDEV_DEQ_OP(dev, event_dev->dequeue, - sso_hws_dual_deq_tmo); CN9K_SET_EVDEV_DEQ_OP( dev, event_dev->dequeue_burst, sso_hws_dual_deq_tmo_burst); @@ -531,12 +465,9 @@ cn9k_sso_fp_blk_fns_set(struct rte_eventdev *event_dev) #if defined(CNXK_DIS_TMPLT_FUNC) struct cnxk_sso_evdev *dev = cnxk_sso_pmd_priv(event_dev); - event_dev->dequeue = cn9k_sso_hws_deq_all_offload; event_dev->dequeue_burst = cn9k_sso_hws_deq_burst_all_offload; - if (dev->rx_offloads & NIX_RX_OFFLOAD_TSTAMP_F) { - event_dev->dequeue = cn9k_sso_hws_deq_all_offload_tst; + if (dev->rx_offloads & NIX_RX_OFFLOAD_TSTAMP_F) event_dev->dequeue_burst = cn9k_sso_hws_deq_burst_all_offload_tst; - } event_dev->txa_enqueue = cn9k_sso_hws_tx_adptr_enq_seg_all_offload; event_dev->txa_enqueue_same_dest = cn9k_sso_hws_tx_adptr_enq_seg_all_offload; if (dev->tx_offloads & NIX_TX_OFFLOAD_TSTAMP_F) { @@ -544,12 +475,9 @@ cn9k_sso_fp_blk_fns_set(struct rte_eventdev *event_dev) event_dev->txa_enqueue_same_dest = cn9k_sso_hws_tx_adptr_enq_seg_all_offload_tst; } if (dev->dual_ws) { - event_dev->dequeue = cn9k_sso_hws_deq_dual_all_offload; event_dev->dequeue_burst = cn9k_sso_hws_deq_dual_burst_all_offload; - if (dev->rx_offloads & NIX_RX_OFFLOAD_TSTAMP_F) { - event_dev->dequeue = cn9k_sso_hws_deq_dual_all_offload_tst; + if (dev->rx_offloads & NIX_RX_OFFLOAD_TSTAMP_F) event_dev->dequeue_burst = cn9k_sso_hws_deq_dual_burst_all_offload_tst; - } event_dev->txa_enqueue = cn9k_sso_hws_tx_adptr_enq_dual_seg_all_offload; event_dev->txa_enqueue_same_dest = cn9k_sso_hws_tx_adptr_enq_dual_seg_all_offload; if (dev->tx_offloads & NIX_TX_OFFLOAD_TSTAMP_F) { @@ -573,7 +501,6 @@ cn9k_sso_fp_fns_set(struct rte_eventdev *event_dev) cn9k_sso_fp_blk_fns_set(event_dev); cn9k_sso_fp_tmplt_fns_set(event_dev); - event_dev->enqueue = cn9k_sso_hws_enq; event_dev->enqueue_burst = cn9k_sso_hws_enq_burst; event_dev->enqueue_new_burst = cn9k_sso_hws_enq_new_burst; event_dev->enqueue_forward_burst = cn9k_sso_hws_enq_fwd_burst; @@ -581,7 +508,6 @@ cn9k_sso_fp_fns_set(struct rte_eventdev *event_dev) event_dev->profile_switch = cn9k_sso_hws_profile_switch; if (dev->dual_ws) { - event_dev->enqueue = cn9k_sso_hws_dual_enq; event_dev->enqueue_burst = cn9k_sso_hws_dual_enq_burst; event_dev->enqueue_new_burst = cn9k_sso_hws_dual_enq_new_burst; event_dev->enqueue_forward_burst = cn9k_sso_hws_dual_enq_fwd_burst; @@ -917,7 +843,6 @@ eventdev_fops_tstamp_update(struct rte_eventdev *event_dev) struct rte_event_fp_ops *fp_op = rte_event_fp_ops + event_dev->data->dev_id; - fp_op->dequeue = event_dev->dequeue; fp_op->dequeue_burst = event_dev->dequeue_burst; } diff --git a/drivers/event/cnxk/cn9k_worker.c b/drivers/event/cnxk/cn9k_worker.c index a9ac49a5a7b..86aa3f1c30b 100644 --- a/drivers/event/cnxk/cn9k_worker.c +++ b/drivers/event/cnxk/cn9k_worker.c @@ -8,10 +8,13 @@ #include "cn9k_cryptodev_ops.h" uint16_t __rte_hot -cn9k_sso_hws_enq(void *port, const struct rte_event *ev) +cn9k_sso_hws_enq_burst(void *port, const struct rte_event ev[], + uint16_t nb_events) { struct cn9k_sso_hws *ws = port; + RTE_SET_USED(nb_events); + switch (ev->op) { case RTE_EVENT_OP_NEW: return cn9k_sso_hws_new_event(ws, ev); @@ -33,14 +36,6 @@ cn9k_sso_hws_enq(void *port, const struct rte_event *ev) return 1; } -uint16_t __rte_hot -cn9k_sso_hws_enq_burst(void *port, const struct rte_event ev[], - uint16_t nb_events) -{ - RTE_SET_USED(nb_events); - return cn9k_sso_hws_enq(port, ev); -} - uint16_t __rte_hot cn9k_sso_hws_enq_new_burst(void *port, const struct rte_event ev[], uint16_t nb_events) @@ -80,11 +75,14 @@ cn9k_sso_hws_profile_switch(void *port, uint8_t profile) /* Dual ws ops. */ uint16_t __rte_hot -cn9k_sso_hws_dual_enq(void *port, const struct rte_event *ev) +cn9k_sso_hws_dual_enq_burst(void *port, const struct rte_event ev[], + uint16_t nb_events) { struct cn9k_sso_hws_dual *dws = port; uint64_t base; + RTE_SET_USED(nb_events); + base = dws->base[!dws->vws]; switch (ev->op) { case RTE_EVENT_OP_NEW: @@ -107,14 +105,6 @@ cn9k_sso_hws_dual_enq(void *port, const struct rte_event *ev) return 1; } -uint16_t __rte_hot -cn9k_sso_hws_dual_enq_burst(void *port, const struct rte_event ev[], - uint16_t nb_events) -{ - RTE_SET_USED(nb_events); - return cn9k_sso_hws_dual_enq(port, ev); -} - uint16_t __rte_hot cn9k_sso_hws_dual_enq_new_burst(void *port, const struct rte_event ev[], uint16_t nb_events) diff --git a/drivers/event/cnxk/cn9k_worker.h b/drivers/event/cnxk/cn9k_worker.h index c92fa72f111..064cdfe94a9 100644 --- a/drivers/event/cnxk/cn9k_worker.h +++ b/drivers/event/cnxk/cn9k_worker.h @@ -359,7 +359,6 @@ cn9k_sso_hws_get_work_empty(uint64_t base, struct rte_event *ev, } /* CN9K Fastpath functions. */ -uint16_t __rte_hot cn9k_sso_hws_enq(void *port, const struct rte_event *ev); uint16_t __rte_hot cn9k_sso_hws_enq_burst(void *port, const struct rte_event ev[], uint16_t nb_events); @@ -371,8 +370,6 @@ uint16_t __rte_hot cn9k_sso_hws_enq_fwd_burst(void *port, uint16_t nb_events); int __rte_hot cn9k_sso_hws_profile_switch(void *port, uint8_t profile); -uint16_t __rte_hot cn9k_sso_hws_dual_enq(void *port, - const struct rte_event *ev); uint16_t __rte_hot cn9k_sso_hws_dual_enq_burst(void *port, const struct rte_event ev[], uint16_t nb_events); @@ -389,23 +386,15 @@ uint16_t __rte_hot cn9k_sso_hws_dual_ca_enq(void *port, struct rte_event ev[], int __rte_hot cn9k_sso_hws_dual_profile_switch(void *port, uint8_t profile); #define R(name, flags) \ - uint16_t __rte_hot cn9k_sso_hws_deq_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn9k_sso_hws_deq_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn9k_sso_hws_deq_tmo_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn9k_sso_hws_deq_tmo_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn9k_sso_hws_deq_seg_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn9k_sso_hws_deq_seg_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); \ - uint16_t __rte_hot cn9k_sso_hws_deq_tmo_seg_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ uint16_t __rte_hot cn9k_sso_hws_deq_tmo_seg_burst_##name( \ void *port, struct rte_event ev[], uint16_t nb_events, \ uint64_t timeout_ticks); @@ -413,119 +402,114 @@ int __rte_hot cn9k_sso_hws_dual_profile_switch(void *port, uint8_t profile); NIX_RX_FASTPATH_MODES #undef R -#define SSO_DEQ(fn, flags) \ - uint16_t __rte_hot fn(void *port, struct rte_event *ev, \ - uint64_t timeout_ticks) \ - { \ - struct cn9k_sso_hws *ws = port; \ - RTE_SET_USED(timeout_ticks); \ - if (ws->swtag_req) { \ - ws->swtag_req = 0; \ - cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_TAG); \ - return 1; \ - } \ - return cn9k_sso_hws_get_work(ws, ev, flags, ws->lookup_mem); \ +#define SSO_DEQ(fn, flags) \ + static __rte_always_inline uint16_t fn(void *port, struct rte_event *ev, \ + uint64_t timeout_ticks) \ + { \ + struct cn9k_sso_hws *ws = port; \ + RTE_SET_USED(timeout_ticks); \ + if (ws->swtag_req) { \ + ws->swtag_req = 0; \ + cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_TAG); \ + return 1; \ + } \ + return cn9k_sso_hws_get_work(ws, ev, flags, ws->lookup_mem); \ } #define SSO_DEQ_SEG(fn, flags) SSO_DEQ(fn, flags | NIX_RX_MULTI_SEG_F) -#define SSO_DEQ_TMO(fn, flags) \ - uint16_t __rte_hot fn(void *port, struct rte_event *ev, \ - uint64_t timeout_ticks) \ - { \ - struct cn9k_sso_hws *ws = port; \ - uint16_t ret = 1; \ - uint64_t iter; \ - if (ws->swtag_req) { \ - ws->swtag_req = 0; \ - cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_TAG); \ - return ret; \ - } \ - ret = cn9k_sso_hws_get_work(ws, ev, flags, ws->lookup_mem); \ - for (iter = 1; iter < timeout_ticks && (ret == 0); iter++) \ - ret = cn9k_sso_hws_get_work(ws, ev, flags, \ - ws->lookup_mem); \ - return ret; \ +#define SSO_DEQ_TMO(fn, flags) \ + static __rte_always_inline uint16_t fn(void *port, struct rte_event *ev, \ + uint64_t timeout_ticks) \ + { \ + struct cn9k_sso_hws *ws = port; \ + uint16_t ret = 1; \ + uint64_t iter; \ + if (ws->swtag_req) { \ + ws->swtag_req = 0; \ + cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_TAG); \ + return ret; \ + } \ + ret = cn9k_sso_hws_get_work(ws, ev, flags, ws->lookup_mem); \ + for (iter = 1; iter < timeout_ticks && (ret == 0); iter++) \ + ret = cn9k_sso_hws_get_work(ws, ev, flags, ws->lookup_mem); \ + return ret; \ } #define SSO_DEQ_TMO_SEG(fn, flags) SSO_DEQ_TMO(fn, flags | NIX_RX_MULTI_SEG_F) -#define R(name, flags) \ - uint16_t __rte_hot cn9k_sso_hws_dual_deq_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ - uint16_t __rte_hot cn9k_sso_hws_dual_deq_burst_##name( \ - void *port, struct rte_event ev[], uint16_t nb_events, \ - uint64_t timeout_ticks); \ - uint16_t __rte_hot cn9k_sso_hws_dual_deq_tmo_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ - uint16_t __rte_hot cn9k_sso_hws_dual_deq_tmo_burst_##name( \ - void *port, struct rte_event ev[], uint16_t nb_events, \ - uint64_t timeout_ticks); \ - uint16_t __rte_hot cn9k_sso_hws_dual_deq_seg_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ - uint16_t __rte_hot cn9k_sso_hws_dual_deq_seg_burst_##name( \ - void *port, struct rte_event ev[], uint16_t nb_events, \ - uint64_t timeout_ticks); \ - uint16_t __rte_hot cn9k_sso_hws_dual_deq_tmo_seg_##name( \ - void *port, struct rte_event *ev, uint64_t timeout_ticks); \ - uint16_t __rte_hot cn9k_sso_hws_dual_deq_tmo_seg_burst_##name( \ - void *port, struct rte_event ev[], uint16_t nb_events, \ - uint64_t timeout_ticks); +#define R(name, flags) \ + uint16_t __rte_hot cn9k_sso_hws_dual_deq_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn9k_sso_hws_dual_deq_tmo_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn9k_sso_hws_dual_deq_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); \ + uint16_t __rte_hot cn9k_sso_hws_dual_deq_tmo_seg_burst_##name( \ + void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); NIX_RX_FASTPATH_MODES #undef R -#define SSO_DUAL_DEQ(fn, flags) \ - uint16_t __rte_hot fn(void *port, struct rte_event *ev, \ - uint64_t timeout_ticks) \ - { \ - struct cn9k_sso_hws_dual *dws = port; \ - uint16_t gw; \ - RTE_SET_USED(timeout_ticks); \ - if (dws->swtag_req) { \ - dws->swtag_req = 0; \ - cnxk_sso_hws_swtag_wait(dws->base[!dws->vws] + \ - SSOW_LF_GWS_TAG); \ - return 1; \ - } \ - gw = cn9k_sso_hws_dual_get_work(dws->base[dws->vws], \ - dws->base[!dws->vws], ev, \ - flags, dws); \ - dws->vws = !dws->vws; \ - return gw; \ +#define SSO_DUAL_DEQ(fn, flags) \ + static __rte_always_inline uint16_t fn(void *port, struct rte_event *ev, \ + uint64_t timeout_ticks) \ + { \ + struct cn9k_sso_hws_dual *dws = port; \ + uint16_t gw; \ + RTE_SET_USED(timeout_ticks); \ + if (dws->swtag_req) { \ + dws->swtag_req = 0; \ + cnxk_sso_hws_swtag_wait(dws->base[!dws->vws] + SSOW_LF_GWS_TAG); \ + return 1; \ + } \ + gw = cn9k_sso_hws_dual_get_work(dws->base[dws->vws], dws->base[!dws->vws], ev, \ + flags, dws); \ + dws->vws = !dws->vws; \ + return gw; \ } #define SSO_DUAL_DEQ_SEG(fn, flags) SSO_DUAL_DEQ(fn, flags | NIX_RX_MULTI_SEG_F) -#define SSO_DUAL_DEQ_TMO(fn, flags) \ - uint16_t __rte_hot fn(void *port, struct rte_event *ev, \ - uint64_t timeout_ticks) \ - { \ - struct cn9k_sso_hws_dual *dws = port; \ - uint16_t ret = 1; \ - uint64_t iter; \ - if (dws->swtag_req) { \ - dws->swtag_req = 0; \ - cnxk_sso_hws_swtag_wait(dws->base[!dws->vws] + \ - SSOW_LF_GWS_TAG); \ - return ret; \ - } \ - ret = cn9k_sso_hws_dual_get_work(dws->base[dws->vws], \ - dws->base[!dws->vws], ev, \ - flags, dws); \ - dws->vws = !dws->vws; \ - for (iter = 1; iter < timeout_ticks && (ret == 0); iter++) { \ - ret = cn9k_sso_hws_dual_get_work(dws->base[dws->vws], \ - dws->base[!dws->vws], \ - ev, flags, dws); \ - dws->vws = !dws->vws; \ - } \ - return ret; \ +#define SSO_DUAL_DEQ_TMO(fn, flags) \ + static __rte_always_inline uint16_t fn(void *port, struct rte_event *ev, \ + uint64_t timeout_ticks) \ + { \ + struct cn9k_sso_hws_dual *dws = port; \ + uint16_t ret = 1; \ + uint64_t iter; \ + if (dws->swtag_req) { \ + dws->swtag_req = 0; \ + cnxk_sso_hws_swtag_wait(dws->base[!dws->vws] + SSOW_LF_GWS_TAG); \ + return ret; \ + } \ + ret = cn9k_sso_hws_dual_get_work(dws->base[dws->vws], dws->base[!dws->vws], ev, \ + flags, dws); \ + dws->vws = !dws->vws; \ + for (iter = 1; iter < timeout_ticks && (ret == 0); iter++) { \ + ret = cn9k_sso_hws_dual_get_work(dws->base[dws->vws], \ + dws->base[!dws->vws], ev, flags, dws); \ + dws->vws = !dws->vws; \ + } \ + return ret; \ } #define SSO_DUAL_DEQ_TMO_SEG(fn, flags) \ SSO_DUAL_DEQ_TMO(fn, flags | NIX_RX_MULTI_SEG_F) +#define R(name, flags) \ + SSO_DEQ(cn9k_sso_hws_deq_##name, flags) \ + SSO_DEQ(cn9k_sso_hws_dual_deq_##name, flags) \ + SSO_DEQ_SEG(cn9k_sso_hws_deq_seg_##name, flags) \ + SSO_DEQ_SEG(cn9k_sso_hws_dual_deq_seg_##name, flags) \ + SSO_DEQ_TMO(cn9k_sso_hws_deq_tmo_##name, flags) \ + SSO_DEQ_TMO(cn9k_sso_hws_dual_deq_tmo_##name, flags) \ + SSO_DEQ_TMO_SEG(cn9k_sso_hws_deq_tmo_seg_##name, flags) \ + SSO_DEQ_TMO_SEG(cn9k_sso_hws_dual_deq_tmo_seg_##name, flags) + +NIX_RX_FASTPATH_MODES +#undef R + #define SSO_CMN_DEQ_BURST(fnb, fn, flags) \ uint16_t __rte_hot fnb(void *port, struct rte_event ev[], \ uint16_t nb_events, uint64_t timeout_ticks) \ @@ -542,12 +526,6 @@ NIX_RX_FASTPATH_MODES return fn(port, ev, timeout_ticks); \ } -uint16_t __rte_hot cn9k_sso_hws_deq_all_offload(void *port, struct rte_event *ev, - uint64_t timeout_ticks); - -uint16_t __rte_hot cn9k_sso_hws_deq_dual_all_offload(void *port, struct rte_event *ev, - uint64_t timeout_ticks); - uint16_t __rte_hot cn9k_sso_hws_deq_burst_all_offload(void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); @@ -555,12 +533,6 @@ uint16_t __rte_hot cn9k_sso_hws_deq_dual_burst_all_offload(void *port, struct rt uint16_t nb_events, uint64_t timeout_ticks); -uint16_t __rte_hot cn9k_sso_hws_deq_all_offload_tst(void *port, struct rte_event *ev, - uint64_t timeout_ticks); - -uint16_t __rte_hot cn9k_sso_hws_deq_dual_all_offload_tst(void *port, struct rte_event *ev, - uint64_t timeout_ticks); - uint16_t __rte_hot cn9k_sso_hws_deq_burst_all_offload_tst(void *port, struct rte_event ev[], uint16_t nb_events, uint64_t timeout_ticks); diff --git a/drivers/event/cnxk/deq/cn10k/deq_0_15.c b/drivers/event/cnxk/deq/cn10k/deq_0_15.c deleted file mode 100644 index e1ea2673949..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_0_15.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ(cn10k_sso_hws_deq_##name, flags) \ - SSO_DEQ(cn10k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_0_15 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_0_15_seg.c b/drivers/event/cnxk/deq/cn10k/deq_0_15_seg.c deleted file mode 100644 index 9e48bd21709..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_0_15_seg.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_deq_seg_##name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_0_15 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_0_15_tmo.c b/drivers/event/cnxk/deq/cn10k/deq_0_15_tmo.c deleted file mode 100644 index 4110b24312c..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_0_15_tmo.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_deq_tmo_##name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_0_15 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_0_15_tmo_seg.c b/drivers/event/cnxk/deq/cn10k/deq_0_15_tmo_seg.c deleted file mode 100644 index 27fba138de3..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_0_15_tmo_seg.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_deq_tmo_seg_##name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_0_15 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_112_127.c b/drivers/event/cnxk/deq/cn10k/deq_112_127.c deleted file mode 100644 index d7c0c217708..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_112_127.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ(cn10k_sso_hws_deq_##name, flags) \ - SSO_DEQ(cn10k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_112_127 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_112_127_seg.c b/drivers/event/cnxk/deq/cn10k/deq_112_127_seg.c deleted file mode 100644 index 47c1ecdf2f1..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_112_127_seg.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_deq_seg_##name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_112_127 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_112_127_tmo.c b/drivers/event/cnxk/deq/cn10k/deq_112_127_tmo.c deleted file mode 100644 index 9b4f0286786..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_112_127_tmo.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_deq_tmo_##name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_112_127 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_112_127_tmo_seg.c b/drivers/event/cnxk/deq/cn10k/deq_112_127_tmo_seg.c deleted file mode 100644 index 7bbe2086ee6..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_112_127_tmo_seg.c +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - - -#define R(name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_deq_tmo_seg_##name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_112_127 -#undef R diff --git a/drivers/event/cnxk/deq/cn10k/deq_16_31.c b/drivers/event/cnxk/deq/cn10k/deq_16_31.c deleted file mode 100644 index e5776a8b64b..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_16_31.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ(cn10k_sso_hws_deq_##name, flags) \ - SSO_DEQ(cn10k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_16_31 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_16_31_seg.c b/drivers/event/cnxk/deq/cn10k/deq_16_31_seg.c deleted file mode 100644 index 83e1ace903f..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_16_31_seg.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_deq_seg_##name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_16_31 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_16_31_tmo.c b/drivers/event/cnxk/deq/cn10k/deq_16_31_tmo.c deleted file mode 100644 index e17e71db2b5..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_16_31_tmo.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_deq_tmo_##name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_16_31 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_16_31_tmo_seg.c b/drivers/event/cnxk/deq/cn10k/deq_16_31_tmo_seg.c deleted file mode 100644 index bf00a04f345..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_16_31_tmo_seg.c +++ /dev/null @@ -1,21 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_deq_tmo_seg_##name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_reas_deq_tmo_seg_##name, \ - flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_16_31 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_32_47.c b/drivers/event/cnxk/deq/cn10k/deq_32_47.c deleted file mode 100644 index 9fc32fc8f15..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_32_47.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ(cn10k_sso_hws_deq_##name, flags) \ - SSO_DEQ(cn10k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_32_47 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_32_47_seg.c b/drivers/event/cnxk/deq/cn10k/deq_32_47_seg.c deleted file mode 100644 index 8ce1875e984..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_32_47_seg.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_deq_seg_##name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_32_47 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_32_47_tmo.c b/drivers/event/cnxk/deq/cn10k/deq_32_47_tmo.c deleted file mode 100644 index d1dabb0bc35..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_32_47_tmo.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_deq_tmo_##name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_32_47 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_32_47_tmo_seg.c b/drivers/event/cnxk/deq/cn10k/deq_32_47_tmo_seg.c deleted file mode 100644 index a8d02408711..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_32_47_tmo_seg.c +++ /dev/null @@ -1,21 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_deq_tmo_seg_##name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_reas_deq_tmo_seg_##name, \ - flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_32_47 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_48_63.c b/drivers/event/cnxk/deq/cn10k/deq_48_63.c deleted file mode 100644 index 7a8c548e60f..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_48_63.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ(cn10k_sso_hws_deq_##name, flags) \ - SSO_DEQ(cn10k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_48_63 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_48_63_seg.c b/drivers/event/cnxk/deq/cn10k/deq_48_63_seg.c deleted file mode 100644 index 7a85c7a7ba5..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_48_63_seg.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_deq_seg_##name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_48_63 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_48_63_tmo.c b/drivers/event/cnxk/deq/cn10k/deq_48_63_tmo.c deleted file mode 100644 index 12d045d429a..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_48_63_tmo.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_deq_tmo_##name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_48_63 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_48_63_tmo_seg.c b/drivers/event/cnxk/deq/cn10k/deq_48_63_tmo_seg.c deleted file mode 100644 index d8e03e2b9c4..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_48_63_tmo_seg.c +++ /dev/null @@ -1,21 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_deq_tmo_seg_##name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_reas_deq_tmo_seg_##name, \ - flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_48_63 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_64_79.c b/drivers/event/cnxk/deq/cn10k/deq_64_79.c deleted file mode 100644 index b429886634e..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_64_79.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ(cn10k_sso_hws_deq_##name, flags) \ - SSO_DEQ(cn10k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_64_79 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_64_79_seg.c b/drivers/event/cnxk/deq/cn10k/deq_64_79_seg.c deleted file mode 100644 index 6c01a9cce1f..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_64_79_seg.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_deq_seg_##name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_64_79 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_64_79_tmo.c b/drivers/event/cnxk/deq/cn10k/deq_64_79_tmo.c deleted file mode 100644 index 3b08f656525..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_64_79_tmo.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_deq_tmo_##name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_64_79 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_64_79_tmo_seg.c b/drivers/event/cnxk/deq/cn10k/deq_64_79_tmo_seg.c deleted file mode 100644 index d3dad211793..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_64_79_tmo_seg.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_deq_tmo_seg_##name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_64_79 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_80_95.c b/drivers/event/cnxk/deq/cn10k/deq_80_95.c deleted file mode 100644 index 22333b5928f..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_80_95.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ(cn10k_sso_hws_deq_##name, flags) \ - SSO_DEQ(cn10k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_80_95 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_80_95_seg.c b/drivers/event/cnxk/deq/cn10k/deq_80_95_seg.c deleted file mode 100644 index 9c0cdce7b80..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_80_95_seg.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_deq_seg_##name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_80_95 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_80_95_tmo.c b/drivers/event/cnxk/deq/cn10k/deq_80_95_tmo.c deleted file mode 100644 index 31c18af76a1..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_80_95_tmo.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_deq_tmo_##name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_80_95 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_80_95_tmo_seg.c b/drivers/event/cnxk/deq/cn10k/deq_80_95_tmo_seg.c deleted file mode 100644 index 3a7e93ff4ce..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_80_95_tmo_seg.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_deq_tmo_seg_##name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_80_95 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_96_111.c b/drivers/event/cnxk/deq/cn10k/deq_96_111.c deleted file mode 100644 index 4478d0475df..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_96_111.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ(cn10k_sso_hws_deq_##name, flags) \ - SSO_DEQ(cn10k_sso_hws_reas_deq_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_96_111 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_96_111_seg.c b/drivers/event/cnxk/deq/cn10k/deq_96_111_seg.c deleted file mode 100644 index be97fbcf609..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_96_111_seg.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_deq_seg_##name, flags) \ - SSO_DEQ_SEG(cn10k_sso_hws_reas_deq_seg_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_96_111 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_96_111_tmo.c b/drivers/event/cnxk/deq/cn10k/deq_96_111_tmo.c deleted file mode 100644 index cb90b5c31a3..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_96_111_tmo.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_deq_tmo_##name, flags) \ - SSO_DEQ_TMO(cn10k_sso_hws_reas_deq_tmo_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_96_111 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_96_111_tmo_seg.c b/drivers/event/cnxk/deq/cn10k/deq_96_111_tmo_seg.c deleted file mode 100644 index 9a3d09fae7e..00000000000 --- a/drivers/event/cnxk/deq/cn10k/deq_96_111_tmo_seg.c +++ /dev/null @@ -1,20 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn10k_worker.h" - -#ifdef _ROC_API_H_ -#error "roc_api.h is included" -#endif - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_deq_tmo_seg_##name, flags) \ - SSO_DEQ_TMO_SEG(cn10k_sso_hws_reas_deq_tmo_seg_##name, flags | NIX_RX_REAS_F) - -NIX_RX_FASTPATH_MODES_96_111 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn10k/deq_all_offload.c b/drivers/event/cnxk/deq/cn10k/deq_all_offload.c index 1d0ad548a60..c556f0358e9 100644 --- a/drivers/event/cnxk/deq/cn10k/deq_all_offload.c +++ b/drivers/event/cnxk/deq/cn10k/deq_all_offload.c @@ -11,7 +11,8 @@ #if defined(CNXK_DIS_TMPLT_FUNC) uint16_t __rte_hot -cn10k_sso_hws_deq_all_offload(void *port, struct rte_event *ev, uint64_t timeout_ticks) +cn10k_sso_hws_deq_burst_all_offload(void *port, struct rte_event ev[], uint16_t nb_events, + uint64_t timeout_ticks) { const uint32_t flags = (NIX_RX_OFFLOAD_RSS_F | NIX_RX_OFFLOAD_PTYPE_F | NIX_RX_OFFLOAD_CHECKSUM_F | NIX_RX_OFFLOAD_MARK_UPDATE_F | @@ -21,6 +22,7 @@ cn10k_sso_hws_deq_all_offload(void *port, struct rte_event *ev, uint64_t timeout uint16_t ret = 1; uint64_t iter; + RTE_SET_USED(nb_events); if (ws->swtag_req) { ws->swtag_req = 0; ws->gw_rdata = cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_WQE0); @@ -35,7 +37,8 @@ cn10k_sso_hws_deq_all_offload(void *port, struct rte_event *ev, uint64_t timeout } uint16_t __rte_hot -cn10k_sso_hws_deq_all_offload_tst(void *port, struct rte_event *ev, uint64_t timeout_ticks) +cn10k_sso_hws_deq_burst_all_offload_tst(void *port, struct rte_event ev[], uint16_t nb_events, + uint64_t timeout_ticks) { const uint32_t flags = (NIX_RX_OFFLOAD_RSS_F | NIX_RX_OFFLOAD_PTYPE_F | NIX_RX_OFFLOAD_CHECKSUM_F | NIX_RX_OFFLOAD_MARK_UPDATE_F | @@ -45,6 +48,7 @@ cn10k_sso_hws_deq_all_offload_tst(void *port, struct rte_event *ev, uint64_t tim uint16_t ret = 1; uint64_t iter; + RTE_SET_USED(nb_events); if (ws->swtag_req) { ws->swtag_req = 0; ws->gw_rdata = cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_WQE0); @@ -58,20 +62,4 @@ cn10k_sso_hws_deq_all_offload_tst(void *port, struct rte_event *ev, uint64_t tim return ret; } -uint16_t __rte_hot -cn10k_sso_hws_deq_burst_all_offload(void *port, struct rte_event ev[], uint16_t nb_events, - uint64_t timeout_ticks) -{ - RTE_SET_USED(nb_events); - return cn10k_sso_hws_deq_all_offload(port, ev, timeout_ticks); -} - -uint16_t __rte_hot -cn10k_sso_hws_deq_burst_all_offload_tst(void *port, struct rte_event ev[], uint16_t nb_events, - uint64_t timeout_ticks) -{ - RTE_SET_USED(nb_events); - return cn10k_sso_hws_deq_all_offload_tst(port, ev, timeout_ticks); -} - #endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_0_15.c b/drivers/event/cnxk/deq/cn9k/deq_0_15.c deleted file mode 100644 index 8254fad3a2b..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_0_15.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ(cn9k_sso_hws_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_0_15 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_0_15_dual.c b/drivers/event/cnxk/deq/cn9k/deq_0_15_dual.c deleted file mode 100644 index 91a69ea0d74..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_0_15_dual.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ(cn9k_sso_hws_dual_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_0_15 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_0_15_dual_seg.c b/drivers/event/cnxk/deq/cn9k/deq_0_15_dual_seg.c deleted file mode 100644 index 8a1dfceb14b..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_0_15_dual_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_SEG(cn9k_sso_hws_dual_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_0_15 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_0_15_dual_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_0_15_dual_tmo.c deleted file mode 100644 index 6028dd679a1..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_0_15_dual_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_TMO(cn9k_sso_hws_dual_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_0_15 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_0_15_dual_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_0_15_dual_tmo_seg.c deleted file mode 100644 index 55405b0f7ba..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_0_15_dual_tmo_seg.c +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DUAL_DEQ_TMO_SEG(cn9k_sso_hws_dual_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_0_15 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_0_15_seg.c b/drivers/event/cnxk/deq/cn9k/deq_0_15_seg.c deleted file mode 100644 index 5d01377d770..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_0_15_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_SEG(cn9k_sso_hws_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_0_15 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_0_15_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_0_15_tmo.c deleted file mode 100644 index b7d566f2f18..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_0_15_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO(cn9k_sso_hws_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_0_15 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_0_15_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_0_15_tmo_seg.c deleted file mode 100644 index ea83fe83d4c..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_0_15_tmo_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO_SEG(cn9k_sso_hws_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_0_15 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_112_127.c b/drivers/event/cnxk/deq/cn9k/deq_112_127.c deleted file mode 100644 index 63d06f41cb0..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_112_127.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ(cn9k_sso_hws_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_112_127 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_112_127_dual.c b/drivers/event/cnxk/deq/cn9k/deq_112_127_dual.c deleted file mode 100644 index 766c02df2aa..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_112_127_dual.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ(cn9k_sso_hws_dual_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_112_127 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_112_127_dual_seg.c b/drivers/event/cnxk/deq/cn9k/deq_112_127_dual_seg.c deleted file mode 100644 index f452db50c1a..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_112_127_dual_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_SEG(cn9k_sso_hws_dual_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_112_127 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_112_127_dual_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_112_127_dual_tmo.c deleted file mode 100644 index 0b549f5214f..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_112_127_dual_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_TMO(cn9k_sso_hws_dual_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_112_127 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_112_127_dual_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_112_127_dual_tmo_seg.c deleted file mode 100644 index 9dd678843fd..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_112_127_dual_tmo_seg.c +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DUAL_DEQ_TMO_SEG(cn9k_sso_hws_dual_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_112_127 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_112_127_seg.c b/drivers/event/cnxk/deq/cn9k/deq_112_127_seg.c deleted file mode 100644 index 090730be2e0..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_112_127_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_SEG(cn9k_sso_hws_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_112_127 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_112_127_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_112_127_tmo.c deleted file mode 100644 index 7796446dc5c..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_112_127_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO(cn9k_sso_hws_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_112_127 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_112_127_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_112_127_tmo_seg.c deleted file mode 100644 index 125d27f0983..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_112_127_tmo_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO_SEG(cn9k_sso_hws_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_112_127 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_16_31.c b/drivers/event/cnxk/deq/cn9k/deq_16_31.c deleted file mode 100644 index be209d9e09c..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_16_31.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ(cn9k_sso_hws_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_16_31 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_16_31_dual.c b/drivers/event/cnxk/deq/cn9k/deq_16_31_dual.c deleted file mode 100644 index c214893f2db..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_16_31_dual.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ(cn9k_sso_hws_dual_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_16_31 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_16_31_dual_seg.c b/drivers/event/cnxk/deq/cn9k/deq_16_31_dual_seg.c deleted file mode 100644 index bd1ce1a7faa..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_16_31_dual_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_SEG(cn9k_sso_hws_dual_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_16_31 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_16_31_dual_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_16_31_dual_tmo.c deleted file mode 100644 index 0c163186dac..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_16_31_dual_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_TMO(cn9k_sso_hws_dual_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_16_31 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_16_31_dual_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_16_31_dual_tmo_seg.c deleted file mode 100644 index 542dc51e11d..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_16_31_dual_tmo_seg.c +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DUAL_DEQ_TMO_SEG(cn9k_sso_hws_dual_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_16_31 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_16_31_seg.c b/drivers/event/cnxk/deq/cn9k/deq_16_31_seg.c deleted file mode 100644 index 86302a6a126..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_16_31_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_SEG(cn9k_sso_hws_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_16_31 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_16_31_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_16_31_tmo.c deleted file mode 100644 index c3018902fd4..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_16_31_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO(cn9k_sso_hws_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_16_31 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_16_31_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_16_31_tmo_seg.c deleted file mode 100644 index 2518dffe508..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_16_31_tmo_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO_SEG(cn9k_sso_hws_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_16_31 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_32_47.c b/drivers/event/cnxk/deq/cn9k/deq_32_47.c deleted file mode 100644 index 1167097c6c8..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_32_47.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ(cn9k_sso_hws_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_32_47 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_32_47_dual.c b/drivers/event/cnxk/deq/cn9k/deq_32_47_dual.c deleted file mode 100644 index d51fdd88b51..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_32_47_dual.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ(cn9k_sso_hws_dual_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_32_47 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_32_47_dual_seg.c b/drivers/event/cnxk/deq/cn9k/deq_32_47_dual_seg.c deleted file mode 100644 index f4655825406..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_32_47_dual_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_SEG(cn9k_sso_hws_dual_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_32_47 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_32_47_dual_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_32_47_dual_tmo.c deleted file mode 100644 index 6afdcc26a02..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_32_47_dual_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_TMO(cn9k_sso_hws_dual_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_32_47 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_32_47_dual_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_32_47_dual_tmo_seg.c deleted file mode 100644 index 016f410e488..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_32_47_dual_tmo_seg.c +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DUAL_DEQ_TMO_SEG(cn9k_sso_hws_dual_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_32_47 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_32_47_seg.c b/drivers/event/cnxk/deq/cn9k/deq_32_47_seg.c deleted file mode 100644 index c00a5749cc3..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_32_47_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_SEG(cn9k_sso_hws_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_32_47 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_32_47_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_32_47_tmo.c deleted file mode 100644 index 5345264883b..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_32_47_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO(cn9k_sso_hws_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_32_47 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_32_47_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_32_47_tmo_seg.c deleted file mode 100644 index 94c7b08638f..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_32_47_tmo_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO_SEG(cn9k_sso_hws_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_32_47 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_48_63.c b/drivers/event/cnxk/deq/cn9k/deq_48_63.c deleted file mode 100644 index 6e2e6e49ccc..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_48_63.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ(cn9k_sso_hws_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_48_63 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_48_63_dual.c b/drivers/event/cnxk/deq/cn9k/deq_48_63_dual.c deleted file mode 100644 index cdc1defebfa..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_48_63_dual.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ(cn9k_sso_hws_dual_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_48_63 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_48_63_dual_seg.c b/drivers/event/cnxk/deq/cn9k/deq_48_63_dual_seg.c deleted file mode 100644 index 49efa68b165..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_48_63_dual_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_SEG(cn9k_sso_hws_dual_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_48_63 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_48_63_dual_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_48_63_dual_tmo.c deleted file mode 100644 index bd31462d96e..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_48_63_dual_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_TMO(cn9k_sso_hws_dual_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_48_63 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_48_63_dual_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_48_63_dual_tmo_seg.c deleted file mode 100644 index cd047f48e5c..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_48_63_dual_tmo_seg.c +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DUAL_DEQ_TMO_SEG(cn9k_sso_hws_dual_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_48_63 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_48_63_seg.c b/drivers/event/cnxk/deq/cn9k/deq_48_63_seg.c deleted file mode 100644 index b485d2163e0..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_48_63_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_SEG(cn9k_sso_hws_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_48_63 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_48_63_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_48_63_tmo.c deleted file mode 100644 index 10de29e85d6..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_48_63_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO(cn9k_sso_hws_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_48_63 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_48_63_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_48_63_tmo_seg.c deleted file mode 100644 index b553d2dc53f..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_48_63_tmo_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO_SEG(cn9k_sso_hws_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_48_63 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_64_79.c b/drivers/event/cnxk/deq/cn9k/deq_64_79.c deleted file mode 100644 index 169c4244d94..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_64_79.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ(cn9k_sso_hws_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_64_79 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_64_79_dual.c b/drivers/event/cnxk/deq/cn9k/deq_64_79_dual.c deleted file mode 100644 index 4f1c6624edd..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_64_79_dual.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ(cn9k_sso_hws_dual_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_64_79 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_64_79_dual_seg.c b/drivers/event/cnxk/deq/cn9k/deq_64_79_dual_seg.c deleted file mode 100644 index b5382fc9080..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_64_79_dual_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_SEG(cn9k_sso_hws_dual_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_64_79 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_64_79_dual_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_64_79_dual_tmo.c deleted file mode 100644 index 68aeb1b0d57..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_64_79_dual_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_TMO(cn9k_sso_hws_dual_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_64_79 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_64_79_dual_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_64_79_dual_tmo_seg.c deleted file mode 100644 index 763568e25ab..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_64_79_dual_tmo_seg.c +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DUAL_DEQ_TMO_SEG(cn9k_sso_hws_dual_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_64_79 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_64_79_seg.c b/drivers/event/cnxk/deq/cn9k/deq_64_79_seg.c deleted file mode 100644 index 98d7a31a4ae..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_64_79_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_SEG(cn9k_sso_hws_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_64_79 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_64_79_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_64_79_tmo.c deleted file mode 100644 index b79dc6a7c1c..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_64_79_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO(cn9k_sso_hws_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_64_79 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_64_79_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_64_79_tmo_seg.c deleted file mode 100644 index 92c9400d91c..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_64_79_tmo_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO_SEG(cn9k_sso_hws_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_64_79 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_80_95.c b/drivers/event/cnxk/deq/cn9k/deq_80_95.c deleted file mode 100644 index 64000836c26..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_80_95.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ(cn9k_sso_hws_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_80_95 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_80_95_dual.c b/drivers/event/cnxk/deq/cn9k/deq_80_95_dual.c deleted file mode 100644 index c69d2f41004..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_80_95_dual.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ(cn9k_sso_hws_dual_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_80_95 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_80_95_dual_seg.c b/drivers/event/cnxk/deq/cn9k/deq_80_95_dual_seg.c deleted file mode 100644 index f232d367788..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_80_95_dual_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_SEG(cn9k_sso_hws_dual_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_80_95 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_80_95_dual_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_80_95_dual_tmo.c deleted file mode 100644 index 948695fcf80..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_80_95_dual_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_TMO(cn9k_sso_hws_dual_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_80_95 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_80_95_dual_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_80_95_dual_tmo_seg.c deleted file mode 100644 index d3055e348b3..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_80_95_dual_tmo_seg.c +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DUAL_DEQ_TMO_SEG(cn9k_sso_hws_dual_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_80_95 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_80_95_seg.c b/drivers/event/cnxk/deq/cn9k/deq_80_95_seg.c deleted file mode 100644 index 76bef5e3a89..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_80_95_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_SEG(cn9k_sso_hws_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_80_95 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_80_95_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_80_95_tmo.c deleted file mode 100644 index 0c1bc7bf42b..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_80_95_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO(cn9k_sso_hws_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_80_95 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_80_95_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_80_95_tmo_seg.c deleted file mode 100644 index 2a8f42af797..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_80_95_tmo_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO_SEG(cn9k_sso_hws_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_80_95 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_96_111.c b/drivers/event/cnxk/deq/cn9k/deq_96_111.c deleted file mode 100644 index a2eed2643b4..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_96_111.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ(cn9k_sso_hws_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_96_111 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_96_111_dual.c b/drivers/event/cnxk/deq/cn9k/deq_96_111_dual.c deleted file mode 100644 index 706ecee7e8e..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_96_111_dual.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ(cn9k_sso_hws_dual_deq_##name, flags) - -NIX_RX_FASTPATH_MODES_96_111 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_96_111_dual_seg.c b/drivers/event/cnxk/deq/cn9k/deq_96_111_dual_seg.c deleted file mode 100644 index f9c71d52b0c..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_96_111_dual_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_SEG(cn9k_sso_hws_dual_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_96_111 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_96_111_dual_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_96_111_dual_tmo.c deleted file mode 100644 index 0b5eb0fbf8f..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_96_111_dual_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DUAL_DEQ_TMO(cn9k_sso_hws_dual_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_96_111 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_96_111_dual_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_96_111_dual_tmo_seg.c deleted file mode 100644 index 8bb6ff5e937..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_96_111_dual_tmo_seg.c +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) \ - SSO_DUAL_DEQ_TMO_SEG(cn9k_sso_hws_dual_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_96_111 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_96_111_seg.c b/drivers/event/cnxk/deq/cn9k/deq_96_111_seg.c deleted file mode 100644 index ac293a5f5d9..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_96_111_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_SEG(cn9k_sso_hws_deq_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_96_111 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_96_111_tmo.c b/drivers/event/cnxk/deq/cn9k/deq_96_111_tmo.c deleted file mode 100644 index 20965f3d3f3..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_96_111_tmo.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO(cn9k_sso_hws_deq_tmo_##name, flags) - -NIX_RX_FASTPATH_MODES_96_111 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_96_111_tmo_seg.c b/drivers/event/cnxk/deq/cn9k/deq_96_111_tmo_seg.c deleted file mode 100644 index 4fe1e582ffd..00000000000 --- a/drivers/event/cnxk/deq/cn9k/deq_96_111_tmo_seg.c +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(C) 2022 Marvell. - */ - -#include "cn9k_worker.h" -#include "cnxk_eventdev.h" -#include "cnxk_worker.h" - -#if !defined(CNXK_DIS_TMPLT_FUNC) - -#define R(name, flags) SSO_DEQ_TMO_SEG(cn9k_sso_hws_deq_tmo_seg_##name, flags) - -NIX_RX_FASTPATH_MODES_96_111 -#undef R - -#endif diff --git a/drivers/event/cnxk/deq/cn9k/deq_all_offload.c b/drivers/event/cnxk/deq/cn9k/deq_all_offload.c index f8288fbb4e1..f163a05fce8 100644 --- a/drivers/event/cnxk/deq/cn9k/deq_all_offload.c +++ b/drivers/event/cnxk/deq/cn9k/deq_all_offload.c @@ -9,16 +9,18 @@ #if defined(CNXK_DIS_TMPLT_FUNC) uint16_t __rte_hot -cn9k_sso_hws_deq_all_offload(void *port, struct rte_event *ev, uint64_t timeout_ticks) +cn9k_sso_hws_deq_burst_all_offload(void *port, struct rte_event ev[], uint16_t nb_events, + uint64_t timeout_ticks) { const uint32_t flags = (NIX_RX_OFFLOAD_RSS_F | NIX_RX_OFFLOAD_PTYPE_F | NIX_RX_OFFLOAD_CHECKSUM_F | NIX_RX_OFFLOAD_MARK_UPDATE_F | NIX_RX_OFFLOAD_VLAN_STRIP_F | NIX_RX_OFFLOAD_SECURITY_F | NIX_RX_MULTI_SEG_F); - struct cn9k_sso_hws *ws = port; uint16_t ret = 1; uint64_t iter; + + RTE_SET_USED(nb_events); if (ws->swtag_req) { ws->swtag_req = 0; cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_TAG); @@ -31,7 +33,8 @@ cn9k_sso_hws_deq_all_offload(void *port, struct rte_event *ev, uint64_t timeout_ } uint16_t __rte_hot -cn9k_sso_hws_deq_dual_all_offload(void *port, struct rte_event *ev, uint64_t timeout_ticks) +cn9k_sso_hws_deq_dual_burst_all_offload(void *port, struct rte_event ev[], uint16_t nb_events, + uint64_t timeout_ticks) { const uint32_t flags = (NIX_RX_OFFLOAD_RSS_F | NIX_RX_OFFLOAD_PTYPE_F | NIX_RX_OFFLOAD_CHECKSUM_F | @@ -41,6 +44,7 @@ cn9k_sso_hws_deq_dual_all_offload(void *port, struct rte_event *ev, uint64_t tim uint16_t ret = 1; uint64_t iter; + RTE_SET_USED(nb_events); if (dws->swtag_req) { dws->swtag_req = 0; cnxk_sso_hws_swtag_wait(dws->base[!dws->vws] + SSOW_LF_GWS_TAG); @@ -57,7 +61,8 @@ cn9k_sso_hws_deq_dual_all_offload(void *port, struct rte_event *ev, uint64_t tim } uint16_t __rte_hot -cn9k_sso_hws_deq_all_offload_tst(void *port, struct rte_event *ev, uint64_t timeout_ticks) +cn9k_sso_hws_deq_burst_all_offload_tst(void *port, struct rte_event ev[], uint16_t nb_events, + uint64_t timeout_ticks) { const uint32_t flags = (NIX_RX_OFFLOAD_RSS_F | NIX_RX_OFFLOAD_PTYPE_F | NIX_RX_OFFLOAD_CHECKSUM_F | @@ -67,6 +72,8 @@ cn9k_sso_hws_deq_all_offload_tst(void *port, struct rte_event *ev, uint64_t time struct cn9k_sso_hws *ws = port; uint16_t ret = 1; uint64_t iter; + + RTE_SET_USED(nb_events); if (ws->swtag_req) { ws->swtag_req = 0; cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_TAG); @@ -79,7 +86,8 @@ cn9k_sso_hws_deq_all_offload_tst(void *port, struct rte_event *ev, uint64_t time } uint16_t __rte_hot -cn9k_sso_hws_deq_dual_all_offload_tst(void *port, struct rte_event *ev, uint64_t timeout_ticks) +cn9k_sso_hws_deq_dual_burst_all_offload_tst(void *port, struct rte_event ev[], uint16_t nb_events, + uint64_t timeout_ticks) { const uint32_t flags = (NIX_RX_OFFLOAD_RSS_F | NIX_RX_OFFLOAD_PTYPE_F | NIX_RX_OFFLOAD_CHECKSUM_F | @@ -89,6 +97,7 @@ cn9k_sso_hws_deq_dual_all_offload_tst(void *port, struct rte_event *ev, uint64_t uint16_t ret = 1; uint64_t iter; + RTE_SET_USED(nb_events); if (dws->swtag_req) { dws->swtag_req = 0; cnxk_sso_hws_swtag_wait(dws->base[!dws->vws] + SSOW_LF_GWS_TAG); @@ -104,36 +113,4 @@ cn9k_sso_hws_deq_dual_all_offload_tst(void *port, struct rte_event *ev, uint64_t return ret; } -uint16_t __rte_hot -cn9k_sso_hws_deq_burst_all_offload(void *port, struct rte_event ev[], uint16_t nb_events, - uint64_t timeout_ticks) -{ - RTE_SET_USED(nb_events); - return cn9k_sso_hws_deq_all_offload(port, ev, timeout_ticks); -} - -uint16_t __rte_hot -cn9k_sso_hws_deq_dual_burst_all_offload(void *port, struct rte_event ev[], uint16_t nb_events, - uint64_t timeout_ticks) -{ - RTE_SET_USED(nb_events); - return cn9k_sso_hws_deq_dual_all_offload(port, ev, timeout_ticks); -} - -uint16_t __rte_hot -cn9k_sso_hws_deq_burst_all_offload_tst(void *port, struct rte_event ev[], uint16_t nb_events, - uint64_t timeout_ticks) -{ - RTE_SET_USED(nb_events); - return cn9k_sso_hws_deq_all_offload_tst(port, ev, timeout_ticks); -} - -uint16_t __rte_hot -cn9k_sso_hws_deq_dual_burst_all_offload_tst(void *port, struct rte_event ev[], uint16_t nb_events, - uint64_t timeout_ticks) -{ - RTE_SET_USED(nb_events); - return cn9k_sso_hws_deq_dual_all_offload_tst(port, ev, timeout_ticks); -} - #endif diff --git a/drivers/event/cnxk/meson.build b/drivers/event/cnxk/meson.build index 2c1060ad875..6757af74bfe 100644 --- a/drivers/event/cnxk/meson.build +++ b/drivers/event/cnxk/meson.build @@ -59,30 +59,6 @@ sources += files( 'deq/cn9k/deq_80_95_seg_burst.c', 'deq/cn9k/deq_96_111_seg_burst.c', 'deq/cn9k/deq_112_127_seg_burst.c', - 'deq/cn9k/deq_0_15.c', - 'deq/cn9k/deq_16_31.c', - 'deq/cn9k/deq_32_47.c', - 'deq/cn9k/deq_48_63.c', - 'deq/cn9k/deq_64_79.c', - 'deq/cn9k/deq_80_95.c', - 'deq/cn9k/deq_96_111.c', - 'deq/cn9k/deq_112_127.c', - 'deq/cn9k/deq_0_15_seg.c', - 'deq/cn9k/deq_16_31_seg.c', - 'deq/cn9k/deq_32_47_seg.c', - 'deq/cn9k/deq_48_63_seg.c', - 'deq/cn9k/deq_64_79_seg.c', - 'deq/cn9k/deq_80_95_seg.c', - 'deq/cn9k/deq_96_111_seg.c', - 'deq/cn9k/deq_112_127_seg.c', - 'deq/cn9k/deq_0_15_tmo.c', - 'deq/cn9k/deq_16_31_tmo.c', - 'deq/cn9k/deq_32_47_tmo.c', - 'deq/cn9k/deq_48_63_tmo.c', - 'deq/cn9k/deq_64_79_tmo.c', - 'deq/cn9k/deq_80_95_tmo.c', - 'deq/cn9k/deq_96_111_tmo.c', - 'deq/cn9k/deq_112_127_tmo.c', 'deq/cn9k/deq_0_15_tmo_burst.c', 'deq/cn9k/deq_16_31_tmo_burst.c', 'deq/cn9k/deq_32_47_tmo_burst.c', @@ -91,14 +67,6 @@ sources += files( 'deq/cn9k/deq_80_95_tmo_burst.c', 'deq/cn9k/deq_96_111_tmo_burst.c', 'deq/cn9k/deq_112_127_tmo_burst.c', - 'deq/cn9k/deq_0_15_tmo_seg.c', - 'deq/cn9k/deq_16_31_tmo_seg.c', - 'deq/cn9k/deq_32_47_tmo_seg.c', - 'deq/cn9k/deq_48_63_tmo_seg.c', - 'deq/cn9k/deq_64_79_tmo_seg.c', - 'deq/cn9k/deq_80_95_tmo_seg.c', - 'deq/cn9k/deq_96_111_tmo_seg.c', - 'deq/cn9k/deq_112_127_tmo_seg.c', 'deq/cn9k/deq_0_15_tmo_seg_burst.c', 'deq/cn9k/deq_16_31_tmo_seg_burst.c', 'deq/cn9k/deq_32_47_tmo_seg_burst.c', @@ -126,30 +94,6 @@ sources += files( 'deq/cn9k/deq_80_95_dual_seg_burst.c', 'deq/cn9k/deq_96_111_dual_seg_burst.c', 'deq/cn9k/deq_112_127_dual_seg_burst.c', - 'deq/cn9k/deq_0_15_dual.c', - 'deq/cn9k/deq_16_31_dual.c', - 'deq/cn9k/deq_32_47_dual.c', - 'deq/cn9k/deq_48_63_dual.c', - 'deq/cn9k/deq_64_79_dual.c', - 'deq/cn9k/deq_80_95_dual.c', - 'deq/cn9k/deq_96_111_dual.c', - 'deq/cn9k/deq_112_127_dual.c', - 'deq/cn9k/deq_0_15_dual_seg.c', - 'deq/cn9k/deq_16_31_dual_seg.c', - 'deq/cn9k/deq_32_47_dual_seg.c', - 'deq/cn9k/deq_48_63_dual_seg.c', - 'deq/cn9k/deq_64_79_dual_seg.c', - 'deq/cn9k/deq_80_95_dual_seg.c', - 'deq/cn9k/deq_96_111_dual_seg.c', - 'deq/cn9k/deq_112_127_dual_seg.c', - 'deq/cn9k/deq_0_15_dual_tmo.c', - 'deq/cn9k/deq_16_31_dual_tmo.c', - 'deq/cn9k/deq_32_47_dual_tmo.c', - 'deq/cn9k/deq_48_63_dual_tmo.c', - 'deq/cn9k/deq_64_79_dual_tmo.c', - 'deq/cn9k/deq_80_95_dual_tmo.c', - 'deq/cn9k/deq_96_111_dual_tmo.c', - 'deq/cn9k/deq_112_127_dual_tmo.c', 'deq/cn9k/deq_0_15_dual_tmo_burst.c', 'deq/cn9k/deq_16_31_dual_tmo_burst.c', 'deq/cn9k/deq_32_47_dual_tmo_burst.c', @@ -158,14 +102,6 @@ sources += files( 'deq/cn9k/deq_80_95_dual_tmo_burst.c', 'deq/cn9k/deq_96_111_dual_tmo_burst.c', 'deq/cn9k/deq_112_127_dual_tmo_burst.c', - 'deq/cn9k/deq_0_15_dual_tmo_seg.c', - 'deq/cn9k/deq_16_31_dual_tmo_seg.c', - 'deq/cn9k/deq_32_47_dual_tmo_seg.c', - 'deq/cn9k/deq_48_63_dual_tmo_seg.c', - 'deq/cn9k/deq_64_79_dual_tmo_seg.c', - 'deq/cn9k/deq_80_95_dual_tmo_seg.c', - 'deq/cn9k/deq_96_111_dual_tmo_seg.c', - 'deq/cn9k/deq_112_127_dual_tmo_seg.c', 'deq/cn9k/deq_0_15_dual_tmo_seg_burst.c', 'deq/cn9k/deq_16_31_dual_tmo_seg_burst.c', 'deq/cn9k/deq_32_47_dual_tmo_seg_burst.c', @@ -247,30 +183,6 @@ sources += files( 'deq/cn10k/deq_80_95_seg_burst.c', 'deq/cn10k/deq_96_111_seg_burst.c', 'deq/cn10k/deq_112_127_seg_burst.c', - 'deq/cn10k/deq_0_15.c', - 'deq/cn10k/deq_16_31.c', - 'deq/cn10k/deq_32_47.c', - 'deq/cn10k/deq_48_63.c', - 'deq/cn10k/deq_64_79.c', - 'deq/cn10k/deq_80_95.c', - 'deq/cn10k/deq_96_111.c', - 'deq/cn10k/deq_112_127.c', - 'deq/cn10k/deq_0_15_seg.c', - 'deq/cn10k/deq_16_31_seg.c', - 'deq/cn10k/deq_32_47_seg.c', - 'deq/cn10k/deq_48_63_seg.c', - 'deq/cn10k/deq_64_79_seg.c', - 'deq/cn10k/deq_80_95_seg.c', - 'deq/cn10k/deq_96_111_seg.c', - 'deq/cn10k/deq_112_127_seg.c', - 'deq/cn10k/deq_0_15_tmo.c', - 'deq/cn10k/deq_16_31_tmo.c', - 'deq/cn10k/deq_32_47_tmo.c', - 'deq/cn10k/deq_48_63_tmo.c', - 'deq/cn10k/deq_64_79_tmo.c', - 'deq/cn10k/deq_80_95_tmo.c', - 'deq/cn10k/deq_96_111_tmo.c', - 'deq/cn10k/deq_112_127_tmo.c', 'deq/cn10k/deq_0_15_tmo_burst.c', 'deq/cn10k/deq_16_31_tmo_burst.c', 'deq/cn10k/deq_32_47_tmo_burst.c', @@ -279,14 +191,6 @@ sources += files( 'deq/cn10k/deq_80_95_tmo_burst.c', 'deq/cn10k/deq_96_111_tmo_burst.c', 'deq/cn10k/deq_112_127_tmo_burst.c', - 'deq/cn10k/deq_0_15_tmo_seg.c', - 'deq/cn10k/deq_16_31_tmo_seg.c', - 'deq/cn10k/deq_32_47_tmo_seg.c', - 'deq/cn10k/deq_48_63_tmo_seg.c', - 'deq/cn10k/deq_64_79_tmo_seg.c', - 'deq/cn10k/deq_80_95_tmo_seg.c', - 'deq/cn10k/deq_96_111_tmo_seg.c', - 'deq/cn10k/deq_112_127_tmo_seg.c', 'deq/cn10k/deq_0_15_tmo_seg_burst.c', 'deq/cn10k/deq_16_31_tmo_seg_burst.c', 'deq/cn10k/deq_32_47_tmo_seg_burst.c',