uvp/av: change create/modify calls to take SGID index
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 23 Jul 2008 21:41:18 +0000 (21:41 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 23 Jul 2008 21:41:18 +0000 (21:41 +0000)
commit0b3926eb528b4f83dc7cd061bbec6b9ec715fb64
tree0f3625c9cad8f79be740ac13e09c2ee414f0f5be
parent2eaaef90be98c850c28b8c2aae112196affbae59
uvp/av: change create/modify calls to take SGID index

The uvp requires the SGID index to create/modify address handles.
Modify the API and UVPs to take the SGID index as input.  This avoids
the UVP needing to cache the CA attributes, which can lead to accessing
a stale GID table.  The SGID index is passed into the UVP through the
resv1 field of the GRH.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1444 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
core/al/user/ual_av.c
hw/mlx4/user/hca/mlx4.c
hw/mlx4/user/hca/verbs.c
hw/mlx4/user/hca/verbs.h
hw/mthca/user/mlnx_ual_av.c
hw/mthca/user/mlnx_ual_ca.c
hw/mthca/user/mlnx_ual_data.h
inc/iba/ib_types.h
inc/user/iba/ib_uvp.h