2018-07-04 17:27:15 +02:00
|
|
|
/** Memory allocators.
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @author Dennis Potter <dennis@dennispotter.eu>
|
2022-03-15 09:28:57 -04:00
|
|
|
* @copyright 2014-2022, Institute for Automation of Complex Power Systems, EONERC
|
2022-07-04 18:20:03 +02:00
|
|
|
* @license Apache 2.0
|
2018-07-04 17:27:15 +02:00
|
|
|
*********************************************************************************/
|
|
|
|
|
2019-04-07 15:13:40 +02:00
|
|
|
#pragma once
|
|
|
|
|
2021-08-10 10:12:48 -04:00
|
|
|
#include <villas/node.hpp>
|
2018-07-04 17:27:15 +02:00
|
|
|
|
2021-08-10 10:12:48 -04:00
|
|
|
namespace villas {
|
|
|
|
namespace node {
|
|
|
|
namespace memory {
|
|
|
|
|
|
|
|
struct IB {
|
2019-10-26 13:36:10 +02:00
|
|
|
struct ibv_pd *pd;
|
2021-08-10 10:12:48 -04:00
|
|
|
struct Type *parent;
|
2018-07-04 17:27:15 +02:00
|
|
|
};
|
|
|
|
|
2021-08-10 10:12:48 -04:00
|
|
|
struct ibv_mr * ib_get_mr(void *ptr);
|
|
|
|
|
2023-08-28 09:34:02 +02:00
|
|
|
} // namespace memory
|
|
|
|
} // namespace node
|
|
|
|
} // namespace villas
|