Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat rxd av #2

Closed
wants to merge 1 commit into from
Closed

Feat rxd av #2

wants to merge 1 commit into from

Commits on May 12, 2020

  1. prov/rxd: Changing from a static to a dynamic av Implementation

    The current implementation of rxd av is dependent on FI_OFI_RXD_MAX_PEERS
    environment variable which must be specified to determine the maximum
    number of peers that it can support.This also restricts the possibility of
    any new peers more than the intially specified count to join the communication
    at run time.
    This patch removes the dependence of the number of peers which can communicate
    via rxd on the environment variables by allowing expansion of the address vector
    and the peers stored per endpoint dynamically.
    
    As the peer list can grow dynamically upon an RTS event or an address insertion
    the endpoint needs to maintain its unique peer list indexed by a rxd_addr.
    Each endpoint also maintains a mapping between the fi_addr and the rxd_addr
    in order to access a peer during a send/inject operation. This is needed
    since the dg_addr/fi_addr in the AV may be shared across endpoints but
    each endpoint will have its own unique rxd_addr for a peer.
    
    data structures added:
    
    - rxd_ep->fi_rxdaddr_hash: Used to map fi_addr to a unique rxd_addr per endpoint.
    - rxd_ep->ep_rxdaddr_hash: To ensure that a peer endpoint is created only once
      for a peer_list.
    - rxd_ep->peer_pool	 : The peer list is implemented using bufpool.
    - rxd_av->ep_dgaddr_hash : A hash table to ensure unique entries into the dg_av.
    - rxd_av->util_av	 : To store the fi_addr-->dg_addr mapping
    
    Signed-off-by: Nikhil Nanal <[email protected]>
    nikhilnanal committed May 12, 2020
    Configuration menu
    Copy the full SHA
    64902db View commit details
    Browse the repository at this point in the history