Skip to content
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libfabric.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,7 @@
<ClCompile Include="prov\efa\src\efa_av.c" />
<ClCompile Include="prov\efa\src\efa_ah.c" />
<ClCompile Include="prov\efa\src\efa_conn.c" />
<ClCompile Include="prov\efa\src\rdm\efa_proto_av.c" />
<ClCompile Include="prov\efa\src\efa_hmem.c" />
<ClCompile Include="prov\efa\src\efa_device.c" />
<ClCompile Include="prov\efa\src\efa_domain.c" />
Expand Down Expand Up @@ -1019,6 +1020,7 @@
<ClInclude Include="prov\efa\src\efa_av.h" />
<ClInclude Include="prov\efa\src\efa_ah.h" />
<ClInclude Include="prov\efa\src\efa_conn.h" />
<ClInclude Include="prov\efa\src\rdm\efa_proto_av.h" />
<ClInclude Include="prov\efa\src\efa_base_ep.h" />
<ClInclude Include="prov\efa\src\efa_cntr.h" />
<ClInclude Include="prov\efa\src\rdm\efa_rdm_ep.h" />
Expand Down
2 changes: 2 additions & 0 deletions prov/efa/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ _efa_files = \
prov/efa/src/efa_av.c \
prov/efa/src/efa_ah.c \
prov/efa/src/efa_conn.c \
prov/efa/src/rdm/efa_proto_av.c \
prov/efa/src/efa_domain.c \
prov/efa/src/efa_fabric.c \
prov/efa/src/efa_mr.c \
Expand Down Expand Up @@ -117,6 +118,7 @@ _efa_headers = \
prov/efa/src/efa_data_path_direct_internal.h \
prov/efa/src/efa_mmio.h \
prov/efa/src/rdm/efa_rdm_peer.h \
prov/efa/src/rdm/efa_proto_av.h \
prov/efa/src/rdm/efa_rdm_cq.h \
prov/efa/src/rdm/efa_rdm_cntr.h \
prov/efa/src/rdm/efa_rdm_ep.h \
Expand Down
1 change: 1 addition & 0 deletions prov/efa/src/efa.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
#include "rdm/efa_rdm_ope.h"
#include "rdm/efa_rdm_pke.h"
#include "rdm/efa_rdm_peer.h"
#include "rdm/efa_proto_av.h"
#include "rdm/efa_rdm_util.h"
#include "fi_ext_efa.h"

Expand Down
10 changes: 5 additions & 5 deletions prov/efa/src/efa_ah.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void efa_ah_implicit_av_lru_ah_move(struct efa_domain *domain,
}

static inline int efa_ah_implicit_av_evict_ah(struct efa_domain *domain) {
struct efa_conn *conn_to_release;
struct efa_proto_av_entry *entry_to_release;
struct efa_ah *ah_tmp, *ah_to_release = NULL;
struct dlist_entry *tmp;

Expand All @@ -57,13 +57,13 @@ static inline int efa_ah_implicit_av_evict_ah(struct efa_domain *domain) {
assert(ah_to_release->implicit_refcnt > 0);

dlist_foreach_container_safe(&ah_to_release->implicit_conn_list,
struct efa_conn, conn_to_release,
struct efa_proto_av_entry, entry_to_release,
ah_implicit_conn_list_entry, tmp) {

assert(conn_to_release->implicit_fi_addr != FI_ADDR_NOTAVAIL &&
conn_to_release->fi_addr == FI_ADDR_NOTAVAIL);
assert(entry_to_release->implicit_fi_addr != FI_ADDR_NOTAVAIL &&
entry_to_release->fi_addr == FI_ADDR_NOTAVAIL);

efa_conn_release_ah_unsafe(conn_to_release->av, conn_to_release, true);
efa_proto_av_entry_release_ah_unsafe(entry_to_release->av, entry_to_release, true);
}

if (ah_to_release->implicit_refcnt == 0 &&
Expand Down
Loading