Messages in this thread | | | From | Long Li <> | Subject | RE: [Patch v8 12/12] RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter | Date | Fri, 21 Oct 2022 22:55:53 +0000 |
| |
> > The upper 8 bits of an ib_mr remote token are reserved for use as a > > rotating key, this allows a consumer to more safely reuse an ib_mr > > without having to overallocate large region pools. > > > > Tom. > > Right, my point was that one cannot encode INT_MAX different MR > identifiers into 32 - 8 = 24 bits. > > Best, > Bernard.
The hardware exposes the number of MRs that exceeds UINT32_MAX. There is no software stack limit from hardware perspective.
In this case, maybe it's a good idea to set it to 0xFFFFFF. I'm making the change.
Thanks, Long
| |