How about keeping the cache, but keeping it always up-to-date by
registering it to process incomind mads instead of events?
___
general mailing list
general@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To
Quoting Yosef Etigin [EMAIL PROTECTED]:
Subject: [PATCH 2/3] remove ib pkey gid and lmc cache
Remove IB cache from core
* Remove pkey, gid, and lmc caches
* Rewrite ib_find_gid and ib_find_pkey over blocking device queries
* Modify users of the cache to use these methods
That's what
@@ -279,7 +278,7 @@ int mthca_read_ah(struct mthca_dev *dev,
(be32_to_cpu(ah-av-sl_tclass_flowlabel) 20) 0xff;
header-grh.flow_label=
ah-av-sl_tclass_flowlabel cpu_to_be32(0xf);
-ib_get_cached_gid(dev-ib_dev,
Quoting Yosef Etigin [EMAIL PROTECTED]:
Subject: [PATCH 2/3] remove ib pkey gid and lmc cache
Remove IB cache from core
* Remove pkey, gid, and lmc caches
* Rewrite ib_find_gid and ib_find_pkey over blocking device queries
* Modify users of the cache to use these methods