|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <rte_mempool.h>#include <map>#include <memory>Go to the source code of this file.
Classes | |
| struct | dunedaq::dpdklibs::MempoolDeleter |
| class | dunedaq::dpdklibs::BorrowedPoolMap |
Namespaces | |
| namespace | dunedaq |
| The DUNE-DAQ namespace. | |
| namespace | dunedaq::dpdklibs |
Typedefs | |
| using | dunedaq::dpdklibs::unique_mempool = std::unique_ptr<rte_mempool, MempoolDeleter> |
Functions | |
| unique_mempool | dunedaq::dpdklibs::take_mempool_ownership (std::unique_ptr< rte_mempool > &&legacy) |
Ownership handles for rte_mempool.
rte_mempool objects are created by rte_pktmbuf_pool_create and must be released with rte_mempool_free before rte_eal_cleanup. They must not be passed to operator delete, so std::unique_ptr<rte_mempool> with its default deleter encodes the wrong contract. This header provides:
This is part of the DUNE DAQ , copyright 2020. Licensing/copyright details are in the COPYING file that you should have received with this code.
Definition in file DpdkMempool.hpp.