Skip to content

Commit b5ca96b

Browse files
authored
Fix missed RDMA dummy impl for non supported platforms. (#29457)
1 parent dedf25c commit b5ca96b

File tree

1 file changed

+10
-0
lines changed
  • ydb/library/actors/interconnect/rdma

1 file changed

+10
-0
lines changed

ydb/library/actors/interconnect/rdma/dummy.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ ui32 TQueuePair::GetQpNum() const noexcept { return 0; }
3131

3232
int TQueuePair::ToRtsState(const THandshakeData&) noexcept { return 0; }
3333

34+
bool TQueuePair::IsRtsState(TQueuePair::TQpS) { return false; }
35+
36+
TQueuePair::TQpState TQueuePair::GetState(bool /*forseUpdate*/) const noexcept {
37+
return TQpErr { .Err = 22 };
38+
}
39+
40+
int TQueuePair::ToErrorState() noexcept {
41+
return -1;
42+
}
43+
3444
THandshakeData TQueuePair::GetHandshakeData() const noexcept {
3545
return THandshakeData {0, 0, 0, 0};
3646
}

0 commit comments

Comments
 (0)