20#ifdef SEASTAR_HAVE_DPDK
23#include <rte_config.h>
24#include <rte_ethdev.h>
25#include <rte_version.h>
29#if (RTE_VERSION < RTE_VERSION_NUM(2,0,0,0))
30#error "DPDK version above 2.0.0 is required"
33#if defined(RTE_MBUF_REFCNT_ATOMIC)
34#warning "CONFIG_RTE_MBUF_REFCNT_ATOMIC should be disabled in DPDK's " \
35 "config/common_linuxapp"
46 using cpuset = std::bitset<RTE_MAX_LCORE>;
48 static void init(cpuset cpus,
const std::string& argv0,
const std::optional<std::string>& hugepages_path,
bool dpdk_pmd);
55 static size_t mem_size(
int num_cpus,
bool hugetlbfs_membackend =
true);
56 static bool initialized;
Seastar API namespace.
Definition: abort_on_ebadf.hh:26