[ofw] [Patch 60/62] Reference implementation of NDv2

Fab Tillier ftillier at microsoft.com
Wed Feb 20 21:13:53 PST 2013


IBBUS: Export IBAT query/cancel query calls in IBAL interface, so that IPoIB can use IBAT when it needs real paths.

Signed-off-by: Fab Tillier <ftillier at microsoft.com>

diff -dwup3 -X excl.txt -I ^ \*$ -I ^ \* \$ -r \dev\openib\Mellanox\11011\core\bus\kernel\bus_pnp.c .\core\bus\kernel\bus_pnp.c
--- \dev\openib\Mellanox\11011\core\bus\kernel\bus_pnp.c	Thu Sep 20 17:51:02 2012
+++ .\core\bus\kernel\bus_pnp.c	Tue Oct 16 14:54:59 2012
@@ -1393,6 +1393,8 @@ __set_ifc(
     p_ifc->ibat_update_reg = IbatUpdateRegistration;
     p_ifc->ibat_update_route = IbatUpdateRoute;
     p_ifc->ibat_clear_all_routes = IbatClearAllRoutes;
+    p_ifc->ibat_query_path = IbatQueryPath;
+    p_ifc->ibat_cancel_query = IbatCancelQuery;
 
 	BUS_EXIT( BUS_DBG_PNP );
 }
diff -dwup3 -X excl.txt -I ^ \*$ -I ^ \* \$ -r \dev\openib\Mellanox\11011\inc\kernel\iba\ib_al_ifc.h .\inc\kernel\iba\ib_al_ifc.h
--- \dev\openib\Mellanox\11011\inc\kernel\iba\ib_al_ifc.h	Thu Sep 20 17:51:06 2012
+++ .\inc\kernel\iba\ib_al_ifc.h	Tue Oct 16 14:53:20 2012
@@ -47,7 +47,7 @@
 *	IB resources provided by HCAs.
 *********/
 
-#define AL_INTERFACE_VERSION		(18)
+#define AL_INTERFACE_VERSION		(19)
 
 
 
@@ -823,6 +823,8 @@ typedef struct _ib_al_ifc
     FN_IBAT_UPDATE_REGISTRATION* ibat_update_reg;
     FN_IBAT_UPDATE_ROUTE*       ibat_update_route;
     FN_IBAT_CLEAR_ALL_ROUTES*   ibat_clear_all_routes;
+    FN_IBAT_QUERY_PATH*         ibat_query_path;
+    FN_IBAT_CANCEL_QUERY*       ibat_cancel_query;
 
 	ib_ref_al_obj_t				ib_ref_al_obj;
 	ib_deref_al_obj_t			ib_deref_al_obj;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndv2.60.patch
Type: application/octet-stream
Size: 1417 bytes
Desc: ndv2.60.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20130221/edf71adc/attachment.obj>


More information about the ofw mailing list