• Faisal Latif's avatar
    RDMA/nes: CM connection setup/teardown rework · 6492cdf3
    Faisal Latif authored
    Major rework of CM connection setup/teardown.  We had a number of issues
    with MPI applications not starting/terminating properly over time.
    With these changes we were able to run longer on larger clusters.
    
    * Remove memory allocation from nes_connect() and nes_cm_connect().
    * Fix mini_cm_dec_refcnt_listen() when destroying listener.
    * Remove unnecessary code from schedule_nes_timer() and nes_cm_timer_tick().
    * Functionalize mini_cm_recv_pkt() and process_packet().
    * Clean up cm_node->ref_count usage.
    * Reuse skbs if available.
    Signed-off-by: default avatarFaisal Latif <flatif@neteffect.com>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    6492cdf3
nes_hw.c 110 KB