Skip to content

feat(examples): display more fields in ibv_devinfo

c41a8e8
Select commit
Loading
Failed to load commit list.
Open

feat: expose more fields in device_attr, expose raw handles for device_attr and port_attr #97

feat(examples): display more fields in ibv_devinfo
c41a8e8
Select commit
Loading
Failed to load commit list.
Cirrus CI / main failed Mar 11, 2026 in 4m 53s

Task Summary

Instruction test failed in 00:36

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:00 clone
✅ 01:06 prepare
✅ 01:45 rust
✅ 00:01 codecov
✅ 01:21 rdma_core
❌ 00:36 test

   Compiling anyhow v1.0.102
   Compiling relative-path v1.9.3
    Checking slab v0.4.12
    Checking futures-util v0.3.32
    Checking clap_builder v4.5.60
    Checking bit-set v0.8.0
    Checking rusty-fork v0.3.1
    Checking toml v1.0.6+spec-1.1.0
    Checking tabled v0.18.0
    Checking rand v0.9.2
    Checking cobs v0.3.0
    Checking rand_xorshift v0.4.0
   Compiling clap_derive v4.5.55
    Checking raw-cpuid v11.6.0
   Compiling bitmask-enum v2.2.5
    Checking os_socketaddr v0.2.5
    Checking termcolor v1.4.1
    Checking utf8-width v0.1.8
    Checking unarray v0.1.4
    Checking futures-timer v3.0.3
    Checking rstest v0.24.0
    Checking byte-unit v5.2.0
    Checking trybuild v1.0.116
    Checking clap v4.5.60
    Checking quanta v0.12.6
    Checking postcard v1.1.3
    Checking proptest v1.10.0
    Checking polling v3.11.0
    Checking termtree v0.5.1
    Checking sideway v0.4.1 (/tmp/cirrus-ci-build)
error[E0615]: attempted to take value of method `gid_tbl_len` on type `ibverbs::device_context::PortAttr`
    --> src/ibverbs/device_context.rs:1308:34
     |
1308 |             assert_eq!(port_attr.gid_tbl_len, 128);
     |                                  ^^^^^^^^^^^ method, not a field
     |
help: use parentheses to call the method
     |
1308 |             assert_eq!(port_attr.gid_tbl_len(), 128);
     |                                             ++

error: unnecessary `unsafe` block
    --> src/ibverbs/device_context.rs:1294:9
     |
1294 |         unsafe {
     |         ^^^^^^ unnecessary `unsafe` block
     |
     = note: `-D unused-unsafe` implied by `-D warnings`
     = help: to override `-D warnings` add `#[allow(unused_unsafe)]`

For more information about this error, try `rustc --explain E0615`.
error: could not compile `sideway` (lib test) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: Recipe `test-basic-with-cov` failed on line 13 with exit code 101

Exit status: 101