Re: [RFC RESEND iproute2-next 2/2] rdma: Supports to add/delete a device with type SMI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 04, 2024 at 09:29:01AM +0300, Mark Zhang wrote:
> This patch adds a new device attribute "type", as well as supports to
> add and delete a rdma device with a specific type. This new device
> provides a subset of functionalists defined in IBTA spec.
> 
> Currently only type "SMI" is supported: A SMI device provides SMI (QP0)
> interface; This device and it's parent associates with the same HCA port
> and shares the physical link, so when the parent doesn't support SMI,
> It allows the subnet manager to configure the link.
> 
> This patch also supports to print device type and parent if any.
> 
> Examples:
> $ rdma dev add smi1 type SMI parent ibp8s0f1
> $ rdma dev show smi1
> 2: smi1: node_type ca fw 20.38.1002 node_guid 9803:9b03:009f:d5ef sys_image_guid 9803:9b03:009f:d5ee type smi parent ibp8s0f1
> $ rdma dev del smi1
> 
> Signed-off-by: Mark Zhang <markzhang@xxxxxxxxxx>
> ---
>  man/man8/rdma-dev.8 |  40 +++++++++++++++
>  rdma/dev.c          | 120 ++++++++++++++++++++++++++++++++++++++++++++
>  rdma/rdma.h         |   2 +
>  rdma/utils.c        |   2 +
>  4 files changed, 164 insertions(+)
> 

Thanks,
Acked-by: Leon Romanovsky <leon@xxxxxxxxxx>




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux