[PATCH v3 iproute2-next 0/3] Add support to set privileged qkey parameter

From: Patrisious Haddad
Date: Wed Oct 25 2023 - 08:31:36 EST


This patchset adds support to enable or disable privileged QKEY.
When enabled, non-privileged users will be allowed to specify a controlled QKEY.
The corresponding kernel commit is 36ce80759f8c
("RDMA/core: Add support to set privileged qkey parameter")

All the information regarding the added parameter and its usage are included
in the commits below and the edited man page.

---
v1->v2:
- Uses print_color_on_off instead of print_color_string for printing.
- Uses parse_on_off instead of manual parsing.
v2->v3:
- Uses shorter argument name at second patch to fit in one line.
- Updates man page for better clarity.

Patrisious Haddad (3):
rdma: update uapi headers
rdma: Add an option to set privileged QKEY parameter
rdma: Adjust man page for rdma system set privileged_qkey command

man/man8/rdma-system.8 | 32 +++++++++++++++++--
rdma/include/uapi/rdma/rdma_netlink.h | 6 ++++
rdma/sys.c | 45 +++++++++++++++++++++++++--
rdma/utils.c | 1 +
4 files changed, 79 insertions(+), 5 deletions(-)

--
2.18.1