]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[IBAL, MTHCA] fix the work with av with valid grh. [mlnx: 3077]
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 10 Sep 2008 12:44:47 +0000 (12:44 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 10 Sep 2008 12:44:47 +0000 (12:44 +0000)
commit9c5f172c667fd24e17139f38427edcf3d1c109de
treeb5cf718887680e955187250b4a7243d62cb7c6a4
parent80624fcd670c1d0b1ef83ff967ef9624f656fa29
[IBAL, MTHCA] fix the work with av with valid grh. [mlnx: 3077]

The patch fix the behavior of av verbs in case that sgid isn't found at the gid_table.
Instead of exit with IB_INVALID_GID it sets the index to 0. Please note IB spec 11.2.2.2 regarding av verbs definition.

The patch also used grh.resv2 (rather than resv1) to avoid C4328 warning (improper member alignment).

Signed-off-by: Reuven Amitai reuven@mellanox.co.il
git-svn-id: svn://openib.tc.cornell.edu/gen1@1581 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/core/al/user/ual_av.c
trunk/hw/mlx4/user/hca/verbs.c
trunk/hw/mthca/user/mlnx_ual_av.c