1
linux/drivers/infiniband/sw/siw
Mark Zhang af48f95492 RDMA/core: Introduce "name_assign_type" for an IB device
The name_assign_type indicates how the name is provided. Currently
these types are supported:
- RDMA_NAME_ASSIGN_TYPE_UNKNOWN: Unknown or not set;
- RDMA_NAME_ASSIGN_TYPE_USER: Name is provided by the user; The
  user-created sub device, rxe and siw device has this type.

When filling nl device info, it is set in the new attribute
RDMA_NLDEV_ATTR_NAME_ASSIGN_TYPE. User-space tools like udev
"rdma_rename" could check this attribute to determine if this
device needs to be renamed or not.

Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Link: https://lore.kernel.org/r/522591bef9a369cc8e5dcb77787e017bffee37fe.1719837610.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2024-07-04 07:59:53 +03:00
..
iwarp.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
Kconfig
Makefile
siw_cm.c RDMA/siw: Introduce siw_destroy_cep_sock 2023-11-15 15:58:14 +02:00
siw_cm.h IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
siw_cq.c IB: Use capital "OR" for multiple licenses in SPDX 2023-09-11 14:14:00 +03:00
siw_main.c RDMA/core: Introduce "name_assign_type" for an IB device 2024-07-04 07:59:53 +03:00
siw_mem.c RDMA/siw: Introduce SIW_STAG_MAX_INDEX 2023-11-15 15:58:13 +02:00
siw_mem.h RDMA/siw: Use ib_umem_get() to pin user pages 2023-11-13 10:14:00 +02:00
siw_qp_rx.c RDMA/siw: Factor out siw_rx_data helper 2023-11-15 15:58:13 +02:00
siw_qp_tx.c RDMA/siw: Update comments for siw_qp_sq_process 2023-11-15 15:58:14 +02:00
siw_qp.c RDMA/siw: Fix typo 2023-11-15 15:58:14 +02:00
siw_verbs.c RDMA: Pass entire uverbs attr bundle to create cq function 2024-06-27 16:28:21 -03:00
siw_verbs.h RDMA: Pass entire uverbs attr bundle to create cq function 2024-06-27 16:28:21 -03:00
siw.h RDMA/siw: Call orq_get_current if possible 2023-12-04 20:13:30 -04:00