[ofa-general] [PATCH RFC v3 1/2] RDMA/Core: MEM_MGT_EXTENSIONS support

Roland Dreier rdreier at cisco.com
Fri May 23 13:05:35 PDT 2008


 > And then the provider updates the mr->rkey field as part of WR processing?

Yeah, I guess so.

Actually thinking about it, another possibility would be to wrap up the

 > newrkey = (mr->rkey & 0xffffff00) | newkey;

operation in a little inline helper function so people don't screw it
up.  Maybe that's the cleanest way to do it.

(We would probably want the helper for low-level driver use anyway)

 - R.



More information about the general mailing list