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

prov/efa: fix the gdrcopy_handle procedure #8902

Merged
merged 2 commits into from
May 9, 2023

Commits on May 9, 2023

  1. prov/efa: Use shm with 1.19 API

    The hmem_data field in ofi_mr will be ignored for api
    version < 1.19. In order to make shm use the gdrcopy
    handle stored in the hmem_data field, we need to call
    shm's fi_getinfo with 1.19 version.
    
    Signed-off-by: Shi Jin <sjina@amazon.com>
    shijin-aws committed May 9, 2023
    Configuration menu
    Copy the full SHA
    ab65061 View commit details
    Browse the repository at this point in the history
  2. prov/efa: Remove the version check in efa_mr.c

    Efa is using the hmem_data internally to pass
    gdrcopy handle to shm, so it should not care
    what api version the application was using.
    Since this code is already part of libfabric
    1.19, there is no need to add a version check.
    
    Signed-off-by: Shi Jin <sjina@amazon.com>
    shijin-aws committed May 9, 2023
    Configuration menu
    Copy the full SHA
    7669b7f View commit details
    Browse the repository at this point in the history