On Sunday 03 August 2008 13:36, Ron Livne wrote: > If I'll eliminate the expanded parameter, > I'll have to call ibv_create_qp_expanded with create_flags = 0. > This is not a good idea because it will not be compatible with an older > kernel. > Not so.
In rdma_create_qp_common, just change: + qp = expanded ? + ibv_create_qp_expanded(pd, qp_init_attr, create_flags) : + ibv_create_qp(pd, qp_init_attr); to + qp = create_flags ? + ibv_create_qp_expanded(pd, qp_init_attr, create_flags) : + ibv_create_qp(pd, qp_init_attr); (i.e., just use the old ibv_create_qp if there are no create_flags set). - Jack _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
