Skip to contentSkip to conversation

iser-target: Port to new memory registration API

PATCH Christoph Hellwig 1 participant 1 message Jul 23, 2015 InfiniBand

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines

If you want to micro optimize then just zero the few items that are defined to be accessed for fastreg, no need to zero the whole structure. Infact, you may have already done that, so just drop the memset entirely.

Oh, indeed.

Quoted 6 lines

If you want to optimize this path, then Sean is right, move the post into the driver and stop pretending that ib_post_send is a performance API.

ib_post_fastreg_wr would be a function that needs 3 register passed arguments and does a simple copy to the driver's actual sendq

Now that sounds even better.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html