>I tried to run dapltest utility from OFED. But got the output below. > Any clues why I got this error and how can I resolve that? > >I am having some background of IB uverbs. But I'm new to udapl. So plz >correct me if m wrong. > >As per my knowledge, if there is duplicated lmr context while >registering the memory, >then because of use of hash tables in udapl implementation >(dapl_lmr_create), we can get DAT_INVALID_STATE_LMR_IN_USE. >m I right? >And if yes, then if underlying network (driver+hca) is such that it >can generate the same lmr context for >different memory regions being registered ( and can also represent >that registered memory region uniquely >by the combination of memory region virtual address (VA) and lmr >context. Then in this case how the above mentioned problem >can be resolved? Any suggestions?
What device are you using? I haven't run into a device yet that didn't give unique lkey's. In any case, this looks a little restrictive with just lkey instead of lkey+address. In fact, not sure if this check is needed at all on top of verbs. I will take a closer look and get back to you. -arlin
