]> git.openfabrics.org - ~shefty/rdma-win.git/commit
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)
commitb708f7dea9f43043a7c75a28cffe3dc2753dee9f
tree1a0a79ffb71663f480ac90caad9c1565db95d119
parent541c1fabc6f17d5e7d210c7d411bd9f79878596d
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@1444 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/core/al/user/ual_av.c
trunk/hw/mlx4/user/hca/mlx4.c
trunk/hw/mlx4/user/hca/verbs.c
trunk/hw/mlx4/user/hca/verbs.h
trunk/hw/mthca/user/mlnx_ual_av.c
trunk/hw/mthca/user/mlnx_ual_ca.c
trunk/hw/mthca/user/mlnx_ual_data.h
trunk/inc/iba/ib_types.h
trunk/inc/user/iba/ib_uvp.h