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