- 06 Jun, 2015 1 commit
-
-
Valentin Petrov authored
The previous version of the protocol assumed that fi_trecv utilizes direct address for matching. This does not hold, for example, for PSM OFI provider (it does not set claim FI_DIRECTED_RECV capability). So, the API1 set should work w/o directed recv assumption. Hence, we have to encapsulate rank info in the tag in the RCD protocol in order to avoid mismatch. Change-Id: I7868f2f033cf3cdec29f7daded8b29c275b2632f Signed-off-by:
Charles J Archer <charles.j.archer@intel.com>
-
- 27 Apr, 2015 1 commit
-
-
Valentin Petrov authored
This patch modifies the OFI netmod to support large tag layouts, while preserving the old tag layout. OFI defines a 64 bit tag, but also provides for a 64 bit tag and immediate data. In some OFI providers, we may want to select different tag layouts. This patch currently does not query for the proper tag layout or attempt to make a choice of the optimal layout, it provides macro/templatized support for different tag formats. Additional selection criteria will be added in subsequent patches. * Tag layout is moved to a separate file. Added init_sendtag_M2, init_recvtag_M2 (M2 stands for MODE #2, i.e. the mode that uses fi_tsenddata and does not pack source into tag). * Created a template file for ofi_tagged.c Moved do_isend into template file which is included twice into ofi_tagged.c thus providing for the two versions of do_isend and do_isend_2 corresponding to the two API sets. * All send functions are available in two versions. Added macro that declares a function for the two API sets. The first set has the namings inherited from the previous netmod version. The functions of the second API set have the "_2" suffix. * Recv_posted, anysource_posted, recv_callback, ofi_probe are templatized. * ofi_tag_to_vc renamed ofi_wc_to_vc Note, for the API_SET_2 the pgid is stored in the imm data while psource and port will be packed the same way as in API_SET_1. * Adds api_set member in gl_data struct. Initialize routines based on api_set * Added RCD (RtsCtsData) protocol identifiers * Added support for OFI MEM_TAG_FORMAT * PGID placement modified Signed-off-by:
Charles J Archer <charles.j.archer@intel.com>
-