From: Leon Romanovsky <leon@kernel.org>
To: "Manikarnike, Vasuki" <vasuki-ramanujapuram.manikarnike@hpe.com>
Cc: "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Subject: Re: librdmacm: cleanup/reinit API?
Date: Sun, 15 Nov 2020 13:24:25 +0200 [thread overview]
Message-ID: <20201115112425.GE47002@unreal> (raw)
In-Reply-To: <CS1PR8401MB0614C667E371DC6F8326CE4BD6070@CS1PR8401MB0614.NAMPRD84.PROD.OUTLOOK.COM>
On Mon, Oct 12, 2020 at 10:38:50PM +0000, Manikarnike, Vasuki wrote:
> Hello,
>
> I notice that librdmacm does not have a reinit/deinit/cleanup API.
> I'm looking for ucma_cleanup(), sort of the opposite of ucma_init().
>
> The first call to rdma_get_devices() from the application calls ucma_init() if required.
> ucma_init() builds the list of devices, and subsequent library calls use this list.
>
> We'd like to issue a full chip reset on a Mellanox CX-5 adapter by using the 'mlxfwreset' tool,
> and we'd like to do this without requiring our application to be restarted.
It is supported with this already merged PR.
https://github.com/linux-rdma/rdma-core/pull/750
Thanks
next prev parent reply other threads:[~2020-11-15 11:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-12 22:38 librdmacm: cleanup/reinit API? Manikarnike, Vasuki
2020-11-15 11:24 ` Leon Romanovsky [this message]
2020-12-18 3:26 ` Manikarnike, Vasuki
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=20201115112425.GE47002@unreal \
--to=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=vasuki-ramanujapuram.manikarnike@hpe.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.