[openib-general] [PATCH] IB/sa: fix ib_sa_selector names

Roland Dreier rdreier at cisco.com
Mon Sep 18 14:26:34 PDT 2006


BTW, I think this means your original IPoIB patch that did:

 > +	path->pathrec.mtu            = priv->broadcast->mcmember.mtu;
 > +	path->pathrec.mtu_selector   = IB_SA_GTE;

now needs to do something like

+	path->pathrec.mtu            = max(IB_MTU_256, priv->broadcast->mcmember.mtu - 1);
+	path->pathrec.mtu_selector   = IB_SA_GT;

right?

The strict inequality semantics defined by the spec are somewhat more
awkward to actually use :(

 - R.




More information about the general mailing list