This repository was archived by the owner on Dec 9, 2025. It is now read-only.
Commit 2fd3635
fix: Properly handle RDMA subsystem's shared and exclusive mode
An RDMA device can only be assigned to a network namespace when the RDMA
subsystem is set to an "exclusive" network namespace mode. When the subsystem is
set to "shared" mode, an attempt to assign an RDMA device to a network namespace
will result in failure. Additionally, "If there are active network namespaces
and if one or more RDMA devices exist, changing mode from shared to exclusive
returns error code EBUSY."
Ref. https://man7.org/linux/man-pages/man8/rdma-system.8.html1 parent 5108266 commit 2fd3635
1 file changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
24 | 40 | | |
25 | 41 | | |
26 | 42 | | |
27 | 43 | | |
28 | 44 | | |
29 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
30 | 57 | | |
31 | 58 | | |
32 | 59 | | |
| |||
0 commit comments