Hal Rosenstock wrote:
        path_rec.sgid = port->gid;
-       path_rec.pkey = port->pkey;
-       path_rec.numb_path = 1;
+       path_rec.numb_path = IB_MAX_PATHS_PER_QUERY;
        ib_sa_pack_attr(mad->data, &path_rec, IB_SA_ATTR_PATH_REC);
}

How does this work in a large subnet ?

It would retrieve a large number of paths, and the resulting cache would be huge. Thinking about this more, I will change IB_MAX_PATHS_PER_QUERY to be a module parameter.

- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to