Jack,
I am trying to figure out what would be the least painful way to allow
for specifi
Looking on the libibverbs - XRC instance
(git://git.openfabrics.org/ofed_1_3/libibverbs.git) and re-reading your
email, my understanding is that the way you went was
1. add a new field at the end of struct ibv_qp_init_attr
2. add bunch of new XRC verbs packed in struct ibv_xrc_ops
3. both create_qp & create_xrc_rcv_qp get ibv_qp_init_attr, the latter
looks on the xrc field
4. add ibv_xrc_ops at the end of the ibv_context
I have pasted below the relevant code from verbs.h, as I can't point on
one patch that does this all, since there were some fixes/changes since
the initial commit.
So if we want to have qp creation verb that gets creation flags, we can can
A. add create_flags field to the end of ibv_qp_init_attr
B. introduce struct ibv_qp * (*create_qp_ext)(struct ibv_pd *pd, struct
ibv_qp_init_attr *attr)
C. enhance struct ibv_context similarily to what was done for xrc
This seems to bring to minimum the breakage from the perspective of
libibverbs consumers.
As for taking this down to uverbs, I am fine with anything you suggest.
Or.
_______________________________________________
general mailing list
general@lists.openfabrics.orghttp://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general