[openib-general] openIB gen2 user space verbs API

Roland Dreier roland at topspin.com
Fri Apr 15 15:07:35 PDT 2005


    Sayantan> In VAPI, the query QP is used to find the inline size.

    Sayantan> Is there another way to find out the inline size in Gen2
    Sayantan> verbs?

It's not implemented yet, but I would have ibv_create_qp():

struct ibv_qp *ibv_create_qp(struct ibv_pd *pd,
			     struct ibv_qp_init_attr *qp_init_attr);

to pass the max inline size back in the qp_init_attr->qp_cap.max_inline_data
member.

I'll code this up on Monday, it's pretty trivial.

 - R.



More information about the general mailing list