The lkey isn't guaranteed to be unique. To ensure that we track
memory registrations properly, associate MRs with their own data
structure. Deregistration will reference the data structure, rather
than just the lkey from the registration.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
\r
LIST_ENTRY QpList;\r
LIST_ENTRY SrqList;\r
+ LIST_ENTRY MrList;\r
LIST_ENTRY MwList;\r
LIST_ENTRY AhList;\r
KGUARDED_MUTEX Lock;\r
- cl_qmap_t MrMap;\r
\r
KEVENT Event;\r
LONG Ref;\r
\r
typedef struct _WV_MEMORY_REGION\r
{\r
+ WV_PROTECTION_DOMAIN *pPd;\r
ib_mr_handle_t hVerbsMr;\r
- cl_map_item_t Item;\r
+ LIST_ENTRY Entry;\r
\r
} WV_MEMORY_REGION;\r
\r