From: Leon Romanovsky <leonro@mellanox.com>
To: Andrew Boyer <aboyer@pensando.io>
Cc: linux-rdma@vger.kernel.org
Subject: Re: Lockless behavior for CQs in userspace
Date: Tue, 17 Mar 2020 17:00:57 +0200 [thread overview]
Message-ID: <20200317150057.GJ3351@unreal> (raw)
In-Reply-To: <6C1A3349-65B0-4F22-8E82-1BBC22BF8CA2@pensando.io>
On Tue, Mar 17, 2020 at 10:45:08AM -0400, Andrew Boyer wrote:
> Hello Leon,
> I understand that we are not to create new providers that use environment variables to control locking behavior. The ‘new’ way to do it is to use thread domains and parent domains.
>
> However, even mlx5 still uses the env var exclusively to control lockless behavior for CQs. Do you have anything in mind for how to extend thread_domains or some other part of the API to cover the CQ case?
Which parameter did you have in mind?
I would say that all those parameters are coming from pre-rdma-core era.
Doesn't this commit do what you are asking?
https://github.com/linux-rdma/rdma-core/commit/0dbde57c59d2983e848c3dbd9ae93eaf8e7b9405
Thanks
>
> Thank you,
> Andrew
>
next prev parent reply other threads:[~2020-03-17 15:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-17 14:45 Lockless behavior for CQs in userspace Andrew Boyer
2020-03-17 15:00 ` Leon Romanovsky [this message]
2020-03-17 15:10 ` Andrew Boyer
2020-03-17 19:51 ` Jason Gunthorpe
2020-03-18 7:52 ` Yishai Hadas
2020-03-18 8:03 ` Leon Romanovsky
2020-03-18 8:15 ` Yishai Hadas
2020-03-18 11:43 ` Jason Gunthorpe
2020-03-18 12:36 ` Yishai Hadas
2020-03-18 12:45 ` Jason Gunthorpe
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=20200317150057.GJ3351@unreal \
--to=leonro@mellanox.com \
--cc=aboyer@pensando.io \
--cc=linux-rdma@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).