Skip to content

Commit

Permalink
chore(bors): merge pull request #871
Browse files Browse the repository at this point in the history
871: feat: add rdma capability in NodeFeatures for registration r=dsharma-dc a=dsharma-dc



Co-authored-by: Diwakar Sharma <[email protected]>
  • Loading branch information
mayastor-bors and dsharma-dc committed Oct 4, 2024
2 parents f88eef4 + 84489ba commit c154706
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions control-plane/grpc/src/operations/registration/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ impl RegisterInfo for RegisterRequest {
asymmetric_namespace_access: Some(features.asymmetric_namespace_access),
logical_volume_manager: features.logical_volume_manager,
snapshot_rebuild: features.snapshot_rebuild,
rdma_capable_io_engine: features.rdma_capable_io_engine,
})
}

Expand Down
2 changes: 2 additions & 0 deletions control-plane/stor-port/src/types/v0/transport/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ pub struct NodeFeatures {
pub logical_volume_manager: Option<bool>,
/// SnapshotRebuild is enabled.
pub snapshot_rebuild: Option<bool>,
/// Mayastor nvmf target supports RDMA.
pub rdma_capable_io_engine: Option<bool>,
}

/// Bug fixe in enum format
Expand Down
2 changes: 1 addition & 1 deletion utils/dependencies

0 comments on commit c154706

Please sign in to comment.