[MTHCA] 1. bugfix: gid lookup use wrong port number;
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 8 May 2006 17:33:12 +0000 (17:33 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 8 May 2006 17:33:12 +0000 (17:33 +0000)
commit907387d853c13504d0ecdadb148bb6ea68ca4f52
treea94bb21afff734aa4469040fce50231074117fab
parent43c86ab85ca9baba97e96277ac822abfc4b85c33
[MTHCA] 1. bugfix: gid lookup use wrong port number;
2. prints improvement to fit WPP;
3. ib_device_attr dont include specific Mellanox data;
4. added mechanism, providing the work with memfree devices in blocking mode, which requires transition a completion event from KVP to UVP.

The mechanism works as follows:
   upon create_cq:
      UVP allocates a doorbell record in UARC resident area;
      KVP stores the address of this record in the CQ object;
   upon completion:
      KVP posts event to this record (technically, increments sn - completion sequence number);
   upon arming the CQ:
      UVP consumes the event (technically, uses sn for numbering the next doorbell)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@334 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
18 files changed:
hw/mthca/kernel/hca_data.c
hw/mthca/kernel/hca_verbs.c
hw/mthca/kernel/mt_verbs.c
hw/mthca/kernel/mthca_cmd.c
hw/mthca/kernel/mthca_cq.c
hw/mthca/kernel/mthca_eq.c
hw/mthca/kernel/mthca_memfree.c
hw/mthca/kernel/mthca_memfree.h
hw/mthca/kernel/mthca_provider.c
hw/mthca/kernel/mthca_provider.h
hw/mthca/mx_abi.h
hw/mthca/user/mlnx_ual_av.c
hw/mthca/user/mlnx_uvp.c
hw/mthca/user/mlnx_uvp.h
hw/mthca/user/mlnx_uvp_cq.c
hw/mthca/user/mlnx_uvp_doorbell.h
hw/mthca/user/mlnx_uvp_verbs.c
hw/mthca/user/mlnx_uvp_verbs.h