aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/netliba/v6/ib_low.h
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-07-18 14:04:56 +0300
committerthegeorg <thegeorg@yandex-team.com>2023-07-18 14:04:56 +0300
commite6faf2d02c5150afa1653e6232678b23b68fe534 (patch)
tree1c4c68662b38947880e788869399acd1a202d106 /library/cpp/netliba/v6/ib_low.h
parent8c8a4c1d7d49f7f55e2d3b30f638b53b7c890273 (diff)
downloadydb-e6faf2d02c5150afa1653e6232678b23b68fe534.tar.gz
Allow using ibdrv interface in opensource apps
Diffstat (limited to 'library/cpp/netliba/v6/ib_low.h')
-rw-r--r--library/cpp/netliba/v6/ib_low.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/netliba/v6/ib_low.h b/library/cpp/netliba/v6/ib_low.h
index 04f4a08d3c..e3afd9df2e 100644
--- a/library/cpp/netliba/v6/ib_low.h
+++ b/library/cpp/netliba/v6/ib_low.h
@@ -2,7 +2,7 @@
#include "udp_address.h"
-#if defined(_linux_) && !defined(CATBOOST_OPENSOURCE)
+#if defined(_linux_)
#include <contrib/libs/ibdrv/include/infiniband/verbs.h>
#include <contrib/libs/ibdrv/include/rdma/rdma_cma.h>
#endif
@@ -22,7 +22,7 @@ namespace NNetliba {
const size_t MAX_INLINE_DATA_SIZE = 16;
const int MAX_OUTSTANDING_RDMA = 10;
-#if defined(_linux_) && !defined(CATBOOST_OPENSOURCE)
+#if defined(_linux_)
class TIBContext: public TThrRefBase, TNonCopyable {
ibv_context* Context;
ibv_pd* ProtDomain;