as we also reference this macro in DPDK.hh
Signed-off-by: Kefu Chai <kchai@redhat.com>
return &p;
};
-#ifndef MARKER
-typedef void *MARKER[0]; /**< generic marker for a point in a structure */
-#endif
-
/******************* Net device related constatns *****************************/
static constexpr uint16_t default_ring_size = 512;
class DPDKWorker;
+#ifndef MARKER
+typedef void *MARKER[0]; /**< generic marker for a point in a structure */
+#endif
+
class DPDKQueuePair {
using packet_provider_type = std::function<std::optional<Packet> ()>;
public: