[HCA] Copy CA attributes into internal cache to allow GID to GID index
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 10 Oct 2005 20:03:26 +0000 (20:03 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 10 Oct 2005 20:03:26 +0000 (20:03 +0000)
lookup when creating AVs.

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@107 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mt23108/user/mlnx_ual_ca.c

index 2fa97d7..072e72f 100644 (file)
@@ -201,6 +201,7 @@ mlnx_post_query_ca (
                byte_count && !h_uvp_ca->p_hca_attr )\r
        {\r
                h_uvp_ca->p_hca_attr = p_umv_buf->p_inout_buf;\r
+               cl_memcpy(h_uvp_ca->p_hca_attr, p_ca_attr, byte_count);\r
        }\r
        else if (p_umv_buf->p_inout_buf) \r
        {\r