On Wed, Dec 10, 2014 at 12:36 AM, Weiny, Ira <ira.we...@intel.com> wrote: >> On Mon, Dec 8, 2014 at 2:23 AM, Weiny, Ira <ira.we...@intel.com> wrote:
>> 1. add a struct ib_device_attr field to struct ib_device >> 2. when the device registers itself with the IB core, go and run the >> query_device verb with the param being pointer to that field > I see where you are going. Then the MAD stack does not have to cache a > "max_mad_size" value but rather looks in the ib_device structure "on the > fly"... > So, something like the diff below? exactly, thanks. > What are the chances we end up with attributes which are not constant? I don't see how this can happen. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html