[openib-general] [PATCH] OSM vendor layer: In umad_receiver, handle allocating RMPP large MADs from OSM MAD pool

Grant Grundler iod00d at hp.com
Fri Aug 26 10:23:02 PDT 2005


On Fri, Aug 26, 2005 at 12:34:58PM -0400, Hal Rosenstock wrote:
> -                                         MAD_BLOCK_SIZE, &osm_addr))) {
> +                                               length > MAD_BLOCK_SIZE ? 
> +                                                       length : MAD_BLOCK_SIZE,
> +                                               &osm_addr))) {

Can "max(length, MAD_BLOCK_SIZE)" be used instead?

thanks,
grant



More information about the general mailing list