On Wed, 27 Apr 2016, Matan Barak wrote: > --- a/include/rdma/ib_verbs.h > +++ b/include/rdma/ib_verbs.h > @@ -271,6 +271,11 @@ struct ib_cq_init_attr { > u32 flags; > }; > > +struct ib_lso_caps { > + u32 max_lso; > + u32 supported_qpts; /* Use enum ib_qp_type */ So this is a bitmap of the qps supported? And thus we have a limit now of 32 QP types. That needs to be documented and you need a BUILD_BUG_ON somewhere in case IB_QPT_MAX becomes larger than 32. Also needs to be better commented so we know this is a bitmap. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html