On Tue, 2005-09-20 at 18:42, Sean Hefty wrote: > Ah - got it now. Thanks. What about using a different calculation to > determine > the pad rather than subtracting the hdr_size (which includes the class > specific > header) and then adding the size of the class specific header back in?
Right, a little convulted... > Can we just do something like sizeof MAD - payload? Close but that wouldn't work. You're right that the payload length could be used to simplify this. I think the correct calculation is: IB_MGMT_RMPP_DATA - payload length If you like this better, I'll rework the patch. -- Hal _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
