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

btl/openib: fix XRC WQE calculation #1721

Merged
merged 1 commit into from
May 26, 2016
Merged

btl/openib: fix XRC WQE calculation #1721

merged 1 commit into from
May 26, 2016

Commits on May 26, 2016

  1. btl/openib: fix XRC WQE calculation

    Before dynamic add_procs support was committed to master we called
    add_procs with every proc in the job. The XRC code in the openib btl
    was taking advantage of this and setting the number of work queue
    entries (WQE) based on all the procs on a remote node. Since that is
    no longer the case we can not simply increment the sd_wqe field on the
    queue pair. To fix the issue a new field has been added to the xrc
    queue pair structure to keep track of how many wqes there are total on
    the queue pair. If a new endpoint is added that increases the number
    of wqes and the xrc queue pair is already connected the code will
    attempt to modify the number of wqes on the queue pair. A failure is
    ignored because all that will happen is the number of active send work
    requests on an XRC queue pair will be more limited.
    
    Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
    hjelmn committed May 26, 2016
    Configuration menu
    Copy the full SHA
    56bdcd0 View commit details
    Browse the repository at this point in the history