Quoting r. Roland Dreier <[EMAIL PROTECTED]>: > Subject: Re: openIB gen2 user space verbs API > > 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.
An application would need to know what values is it legal to pass to create_qp. Maybe it makes sence to implement something like query_hca, and let it return the maximum legal value? -- MST - Michael S. Tsirkin _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
