All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Mark Zhang <markzhang@nvidia.com>
Cc: dsahern@gmail.com, jgg@nvidia.com, linux-rdma@vger.kernel.org
Subject: Re: [RFC RESEND iproute2-next 2/2] rdma: Supports to add/delete a device with type SMI
Date: Sun, 7 Jul 2024 11:01:38 +0300	[thread overview]
Message-ID: <20240707080138.GB6695@unreal> (raw)
In-Reply-To: <20240704062901.1906597-3-markzhang@nvidia.com>

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@nvidia.com>
> ---
>  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@kernel.org>

  reply	other threads:[~2024-07-07  8:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-04  6:28 [RFC RESEND iproute2-next 0/2] Supports to add/delete IB devices with type SMI Mark Zhang
2024-07-04  6:29 ` [RFC RESEND iproute2-next 1/2] rdma: update uapi header Mark Zhang
2024-07-07  8:02   ` Leon Romanovsky
2024-07-04  6:29 ` [RFC RESEND iproute2-next 2/2] rdma: Supports to add/delete a device with type SMI Mark Zhang
2024-07-07  8:01   ` Leon Romanovsky [this message]
2024-07-04 12:55 ` [RFC RESEND iproute2-next 0/2] Supports to add/delete IB devices " Mark Zhang
2024-07-07 16:38 ` David Ahern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240707080138.GB6695@unreal \
    --to=leon@kernel.org \
    --cc=dsahern@gmail.com \
    --cc=jgg@nvidia.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=markzhang@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.