[openib-general] [PATCH] user_mad: Add receive side RMPP support

Sean Hefty mshefty at ichips.intel.com
Thu Jun 30 09:34:59 PDT 2005


Hal Rosenstock wrote:
> -	if (count < sizeof (struct ib_user_mad) + 256) /* until RMPP supported */ 
> +	if (count < sizeof (struct ib_user_mad) + 256)
>  		return -EINVAL;

Does it make more sense to use sizeof(struct ib_mad) rather than 256?

- Sean



More information about the general mailing list