[ofa-general] [PATCH 5/8] Convert ibportstate to "new" ibmad interface

Sean Hefty sean.hefty at intel.com
Wed Feb 18 08:57:09 PST 2009


>-	if (ib_resolve_portid_str(&portid, argv[0], ibd_dest_type, ibd_sm_id) <
>0)
>+	if (ib_resolve_portid_str_via(&portid, argv[0], ibd_dest_type,
>+				ibd_sm_id, srcport) < 0)

needs MAD_EXPORT

>-					if (ib_resolve_self(&selfportid,
&selfport, 0) <
>0)
>+					if (ib_resolve_self_via(&selfportid,
>+							&selfport, 0, srcport) <
0)

ditto





More information about the general mailing list