Skip to content

Commit

Permalink
feat(qp): implement qp_attr_mask with bitmask_enum
Browse files Browse the repository at this point in the history
Signed-off-by: Luke Yue <lukedyue@gmail.com>
  • Loading branch information
dragonJACson committed Sep 16, 2024
1 parent 6732501 commit 36fcd1f
Show file tree
Hide file tree
Showing 3 changed files with 238 additions and 25 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sideway"
version = "0.1.0"
version = "0.1.1"
description = "A better wrapper for using RDMA programming APIs in Rust flavor"
license= "MPL-2.0"
authors = [
Expand All @@ -16,3 +16,5 @@ rdma-mummy-sys = "0.1"
tabled = "0.16"
libc = "0.2"
os_socketaddr = "0.2"
bitmask-enum = "2.2"
lazy_static = "1.5.0"
4 changes: 2 additions & 2 deletions examples/test_qp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let ctx = device.open().unwrap();

let pd = ctx.alloc_pd().unwrap();
let mr = pd.reg_managed_mr(64).unwrap();
let _mr = pd.reg_managed_mr(64).unwrap();

let comp_channel = ctx.create_comp_channel().unwrap();
let _comp_channel = ctx.create_comp_channel().unwrap();
let mut cq_builder = ctx.create_cq_builder();
let sq = cq_builder.setup_cqe(128).build().unwrap();
let rq = cq_builder.setup_cqe(128).build().unwrap();
Expand Down
Loading

0 comments on commit 36fcd1f

Please sign in to comment.