[ofw] patch: [IBAL] added ca_guid field to the upper IBAL interface, which is returned in QUERY_INTERFACE request
Tzachi Dar
tzachid at mellanox.co.il
Thu Sep 2 01:05:35 PDT 2010
Signed off by: Leonid
Mlnx 5571
Index: B:/users/tzachid/projinf9/trunk/core/bus/kernel/bus_pnp.c
===================================================================
--- B:/users/tzachid/projinf9/trunk/core/bus/kernel/bus_pnp.c (revision 5570)
+++ B:/users/tzachid/projinf9/trunk/core/bus/kernel/bus_pnp.c (revision 5571)
@@ -923,6 +923,7 @@
IN IO_STACK_LOCATION* const p_io_stack )
{
ib_al_ifc_t *p_ifc;
+ bus_fdo_ext_t *p_ext= p_dev_obj->DeviceExtension;
BUS_ENTER( BUS_DBG_PNP );
@@ -952,6 +953,7 @@
p_ifc->wdm.InterfaceDereference = al_deref_ifc;
__set_ifc( p_ifc );
+ p_ifc->ca_guid = p_ext->hca_ifc.Verbs.guid;
// take the reference before returning.
al_ref_ifc( p_dev_obj );
Index: B:/users/tzachid/projinf9/trunk/inc/kernel/iba/ib_al_ifc.h
===================================================================
--- B:/users/tzachid/projinf9/trunk/inc/kernel/iba/ib_al_ifc.h (revision 5570)
+++ B:/users/tzachid/projinf9/trunk/inc/kernel/iba/ib_al_ifc.h (revision 5571)
@@ -48,7 +48,7 @@
* IB resources provided by HCAs.
*********/
-#define AL_INTERFACE_VERSION (12)
+#define AL_INTERFACE_VERSION (13)
@@ -759,6 +759,7 @@
ib_pfn_modify_srq_t modify_srq;
ib_pfn_destroy_srq_t destroy_srq;
ib_pfn_post_srq_recv_t post_srq_recv;
+ ib_net64_t ca_guid;
} ib_al_ifc_t;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20100902/45f451fb/attachment.html>
More information about the ofw
mailing list