All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@ziepe.ca>
To: Bob Pearson <rpearsonhpe@gmail.com>
Cc: Shoaib Rao <rao.shoaib@oracle.com>,
	linux-rdma@vger.kernel.org, Zhu Yanjun <zyjzyj2000@gmail.com>
Subject: Re: [PATCH v1 3/3] RDMA/rxe: Increase value of RXE_MAX_AH
Date: Fri, 25 Jun 2021 09:49:53 -0300	[thread overview]
Message-ID: <20210625124953.GC1096940@ziepe.ca> (raw)
In-Reply-To: <5979c6c7-7ffe-d08c-f970-f97a1727988a@gmail.com>

On Fri, Jun 25, 2021 at 12:13:57AM -0500, Bob Pearson wrote:
> On 6/24/21 4:21 PM, Shoaib Rao wrote:
> > 
> > On 6/18/21 4:25 PM, Jason Gunthorpe wrote:
> >> On Fri, Jun 18, 2021 at 01:58:48PM -0500, Bob Pearson wrote:
> >>> On 6/18/21 11:33 AM, Jason Gunthorpe wrote:
> >>>> On Thu, Jun 17, 2021 at 10:56:58PM -0500, Bob Pearson wrote:
> >>>>  
> >>>>> It isn't my call. But I am in favor of tunable parameters. -- Bob Pearson
> >>>> Can we just delete the concept completely?
> >>>>
> >>>> Jason
> >>>>
> >>> Not sure where you are headed here. Do you mean just lift the limits
> >>> all together?
> >> Yes.. The spec doesn't have like a UCONTEXT limit for instance, and
> >> real HW like mlx5 has huge reported limits anyhow.
> > 
> > These limits are reported via uverbs, so what do we report without current applications. Creating pool also requires limits but I guess we can use something like -1 to indicate there is no limit. I would have to look at all the values to see if we can implement this.
> > 
> > Shoaib
> > 
> > 
> >>
> >> Jason
>
> The object create in pools (rxe_alloc_locked) just calls kzalloc for
> objects allocated by rxe and checks the limits. For objects
> allocated by rdma-core (__rxe_add_to_pool) it just checks the
> limits. The only place where the limit really matters is when a pool
> is indexed (RXE_POOL_INDEXED). Then there is a bitmask used to
> allocate the indices for the objects which consumes one byte for
> each 8 objects.

Use an ida or xarray instead?

Jason

  reply	other threads:[~2021-06-25 12:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-17 18:25 [PATCH v1 1/3] RDMA/rxe: Increase value of RXE_MAX_UCONTEXT Rao Shoaib
2021-06-17 18:25 ` [PATCH v1 2/3] RDMA/rxe: Increase value of RXE_MAX_SRQ Rao Shoaib
2021-06-22 18:35   ` Jason Gunthorpe
2021-06-24 21:18     ` Shoaib Rao
2021-06-17 18:25 ` [PATCH v1 3/3] RDMA/rxe: Increase value of RXE_MAX_AH Rao Shoaib
2021-06-17 20:45   ` Bob Pearson
2021-06-17 22:57     ` Shoaib Rao
2021-06-18  3:56       ` Bob Pearson
2021-06-18 16:33         ` Jason Gunthorpe
2021-06-18 18:58           ` Bob Pearson
2021-06-18 23:25             ` Jason Gunthorpe
2021-06-21 16:42               ` Shoaib Rao
2021-06-24 21:21               ` Shoaib Rao
2021-06-25  5:13                 ` Bob Pearson
2021-06-25 12:49                   ` Jason Gunthorpe [this message]
2021-06-25 19:10                     ` Shoaib Rao

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=20210625124953.GC1096940@ziepe.ca \
    --to=jgg@ziepe.ca \
    --cc=linux-rdma@vger.kernel.org \
    --cc=rao.shoaib@oracle.com \
    --cc=rpearsonhpe@gmail.com \
    --cc=zyjzyj2000@gmail.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.