2018-07-04 17:27:15 +02:00
|
|
|
/* Memory allocators.
|
|
|
|
*
|
|
|
|
* Author: Dennis Potter <dennis@dennispotter.eu>
|
2022-03-15 09:28:57 -04:00
|
|
|
* SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
2022-07-04 18:20:03 +02:00
|
|
|
* SPDX-License-Identifier: 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 {
|
2023-09-07 11:46:39 +02:00
|
|
|
struct ibv_pd *pd;
|
|
|
|
struct Type *parent;
|
2018-07-04 17:27:15 +02:00
|
|
|
};
|
|
|
|
|
2023-09-07 11:46:39 +02:00
|
|
|
struct ibv_mr *ib_get_mr(void *ptr);
|
2021-08-10 10:12:48 -04:00
|
|
|
|
2023-08-28 09:34:02 +02:00
|
|
|
} // namespace memory
|
|
|
|
} // namespace node
|
|
|
|
} // namespace villas
|