Skip to content

Commit b45ae84

Browse files
authored
Upgrade rdma-core + bindgen (#43)
ibverbs-sys 0.3.0+55.0: 55.0 + bindgen + pub consts + non-in-place build ibverbs 0.9.0: -sys 0.3.0 + configurable work queue limits rdma-core bump is for linux-rdma/rdma-core#1485 bindgen bump is for harryfei/which-rs#104 Includes #38, #39, #41, and #42.
1 parent 4c1cd7e commit b45ae84

File tree

6 files changed

+52
-127
lines changed

6 files changed

+52
-127
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
# https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
106106
strategy:
107107
matrix:
108-
msrv: ["1.70.0"] # bindgen 1.69
108+
msrv: ["1.82.0"] # bindgen 1.71
109109
name: ubuntu / ${{ matrix.msrv }}
110110
steps:
111111
- uses: actions/checkout@v4

Cargo.lock

Lines changed: 40 additions & 117 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Completion Queues, Queue-Pairs, Shared Receive Queues, Address Handles, and Memo
1515
also handles sending and receiving data posted to QPs and SRQs, and getting completions from
1616
CQs using polling and completions events.
1717

18-
A good place to start is to look at the programs in [`examples/`](ibverbs/examples/), and the upstream
19-
[C examples]. You can test RDMA programs on modern Linux kernels even without specialized RDMA
20-
hardware by using [SoftRoCE][soft].
18+
A good place to start is to look at the programs in [`examples/`](ibverbs/examples/), and the
19+
upstream [C examples]. You can test RDMA programs on modern Linux kernels even without specialized
20+
RDMA hardware by using [SoftRoCE][soft].
2121

2222
## For the detail-oriented
2323

ibverbs-sys/Cargo.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "ibverbs-sys"
3-
version = "0.2.1+52.0"
3+
version = "0.3.0+55.0"
44
edition = "2021"
5+
rust-version = "1.82" # unsafe extern in generated bindings
56

67
description = "Raw, FFI bindings for RDMA ibverbs through rdma-core"
78
readme = "../README.md"
@@ -23,9 +24,10 @@ license = "MIT OR Apache-2.0"
2324
exclude = ["vendor/rdma-core/build/"]
2425

2526
[build-dependencies]
26-
bindgen = "0.69.2"
27+
bindgen = "0.71.1"
2728
cmake = "0.1.50"
2829

2930
# to make -Zminimal-versions work
3031
[target.'cfg(any())'.dependencies]
31-
regex = "1.6"
32+
# https://github.com/rust-lang/rust-bindgen/pull/3048
33+
proc-macro2 = { version = "1.0.80", optional = true }

ibverbs-sys/vendor/rdma-core

Submodule rdma-core updated 150 files

ibverbs/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ibverbs"
3-
version = "0.8.1"
3+
version = "0.9.0"
44
edition = "2021"
55

66
description = "Bindings for RDMA ibverbs through rdma-core"
@@ -19,7 +19,7 @@ categories = ["network-programming", "api-bindings"]
1919
license = "MIT OR Apache-2.0"
2020

2121
[dependencies]
22-
ffi = { path = "../ibverbs-sys", package = "ibverbs-sys", version = "0.2.0" }
22+
ffi = { path = "../ibverbs-sys", package = "ibverbs-sys", version = "0.3.0" }
2323

2424
[dependencies.serde]
2525
version = "1.0.100"

0 commit comments

Comments
 (0)