]> git.openfabrics.org - ~shefty/rdma-win.git/commit
uvp: obtain desired interface by GUID
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 23 Jul 2008 20:24:16 +0000 (20:24 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 23 Jul 2008 20:24:16 +0000 (20:24 +0000)
commit9faeb75635347dd54727f798d976c6b931a32066
treebcff226545163ae5f9c69377934a42a5fc33b714
parent775b20dc49d2a60fae37b62314ddfec20ee78117
uvp: obtain desired interface by GUID

The current uvp_get_interface() routine takes a structure as input.
Included in the structure is a version number.

A better solution to supporting multiple interfaces is to define
interfaces using GUIDs.  This not only allows different versions of
the same interface (for example the UVP interface), but also provides
a mechanism that can be used to add new interfaces without affecting
existing ABIs or APIs.

This will make it easier to extend the existing interfaces in the future.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1438 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/core/al/user/ual_ca.c
trunk/core/al/user/ual_support.h
trunk/hw/mlx4/user/hca/mlx4.c
trunk/hw/mthca/user/mlnx_ual_main.c
trunk/inc/user/iba/ib_uvp.h