Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* RDME/rxe: Fast reg with local access rights and invalidation for that MR
@ 2022-05-30 11:05 Haris Iqbal
  2022-05-31 17:12 ` Bob Pearson
  0 siblings, 1 reply; 5+ messages in thread
From: Haris Iqbal @ 2022-05-30 11:05 UTC (permalink / raw)
  To: Bob Pearson; +Cc: Zhu Yanjun, RDMA mailing list, Aleksei Marov, Jinpu Wang

Hi Bob,

I have a query. After the following patch,

https://marc.info/?l=linux-rdma&m=163163776430842&w=2

If I send a IB_WR_REG_MR wr with flag set to IB_ACCESS_LOCAL_WRITE,
rxe will set the mr->rkey to 0 (mr->lkey will be set to the key I send
in wr).

Afterwards, If I have to invalidate that mr with IB_WR_LOCAL_INV,
setting the .ex.invalidate_rkey to the key I sent previously in the
IB_WR_REG_MR wr, the invalidate would fail with the following error.

rkey (%#x) doesn't match mr->rkey
(function rxe_invalidate_mr)

Is this desired behaviour? If so, how would I go about invalidating
the above MR?

Regards
-Haris

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-02 11:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-30 11:05 RDME/rxe: Fast reg with local access rights and invalidation for that MR Haris Iqbal
2022-05-31 17:12 ` Bob Pearson
2022-06-01 16:15   ` Haris Iqbal
2022-06-01 17:37     ` Bob Pearson
2022-06-02 11:04       ` Haris Iqbal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox