event/cnxk: update minimum interval calculation
[dpdk.git] / drivers / event / cnxk / cn9k_worker_deq.c
index 51ccaf4..ba6fd05 100644 (file)
@@ -6,7 +6,7 @@
 #include "cnxk_eventdev.h"
 #include "cnxk_worker.h"
 
-#define R(name, f5, f4, f3, f2, f1, f0, flags)                                 \
+#define R(name, f6, f5, f4, f3, f2, f1, f0, flags)                             \
        uint16_t __rte_hot cn9k_sso_hws_deq_##name(                            \
                void *port, struct rte_event *ev, uint64_t timeout_ticks)      \
        {                                                                      \
@@ -16,7 +16,7 @@
                                                                               \
                if (ws->swtag_req) {                                           \
                        ws->swtag_req = 0;                                     \
-                       cnxk_sso_hws_swtag_wait(ws->tag_op);                   \
+                       cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_TAG);   \
                        return 1;                                              \
                }                                                              \
                                                                               \
@@ -32,7 +32,7 @@
                                                                               \
                if (ws->swtag_req) {                                           \
                        ws->swtag_req = 0;                                     \
-                       cnxk_sso_hws_swtag_wait(ws->tag_op);                   \
+                       cnxk_sso_hws_swtag_wait(ws->base + SSOW_LF_GWS_TAG);   \
                        return 1;                                              \
                }                                                              \
                                                                               \