Skip to content

Commit

Permalink
prov/netdir: Remove provider
Browse files Browse the repository at this point in the history
NetworkDirect is now supported by the verbs provider.

Signed-off-by: Sean Hefty <[email protected]>
Signed-off-by: Jianxin Xiong <[email protected]>
  • Loading branch information
shefty authored and j-xiong committed Dec 17, 2023
1 parent 5c1900d commit 52be148
Show file tree
Hide file tree
Showing 35 changed files with 127 additions and 9,445 deletions.
2 changes: 1 addition & 1 deletion .appveyor.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $wd=$PWD.Path; & { Add-Type -A "System.IO.Compression.FileSystem"; [IO.Compressi
Write-Verbose "done"

Write-Verbose "moving NetworkDirect headers.."
move NetDirect\include\* prov\netdir\NetDirect
move NetDirect\include\* include\windows
Write-Verbose "done"

$efaWinVersion="1.0.0"
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,8 @@ See the `fi_netdir(7)` man page for more details.
- The Network Direct provider requires Network Direct SPI. If you are compiling
libfabric from source and want to enable Network Direct support, you will also
need the matching header files for the Network Direct SPI.
If the libraries and header files are not in default paths (the default path is
root of provier directory, i.e. \prov\netdir\NetDirect, where NetDirect contains
the header files), specify them in the configuration properties of the VS project.
If the libraries and header files are not in default paths, specify them in the
configuration properties of the VS project.

### shm

Expand Down Expand Up @@ -327,8 +326,8 @@ It is possible to compile and link libfabric with windows applications.
on page press Download button and select NetworkDirect_DDK.zip.

Extract header files from downloaded
NetworkDirect_DDK.zip:`\NetDirect\include\` file into `<libfabricroot>\prov\netdir\NetDirect\`,
or add path to NetDirect headers into VS include paths
NetworkDirect_DDK.zip:`\NetDirect\include\` into `include\windows`, or
add the path to NetDirect headers into VS include paths

- 2. compiling:
libfabric has 6 Visual Studio solution configurations:
Expand Down
54 changes: 17 additions & 37 deletions libfabric.vcxproj

Large diffs are not rendered by default.

93 changes: 6 additions & 87 deletions libfabric.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,6 @@
<Filter Include="Source Files\prov\rxd\include">
<UniqueIdentifier>{e89f94da-f0f0-4e62-aad4-d738963d7dd9}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\prov\netdir">
<UniqueIdentifier>{bbe0be7c-1187-45ab-bd2e-5c1f61095a9b}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\prov\netdir\include">
<UniqueIdentifier>{9ba21998-278b-4f63-9ff2-8fb533eeee84}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\prov\netdir\src">
<UniqueIdentifier>{b3471da7-1f83-4d3f-b31c-89b197aa6327}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\prov\tcp">
<UniqueIdentifier>{5547753c-42f5-4cb6-a311-07911724f5cf}</UniqueIdentifier>
</Filter>
Expand Down Expand Up @@ -435,57 +426,6 @@
<ClCompile Include="src\iov.c">
<Filter>Source Files\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_addr.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_cq.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_domain.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_ep.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_fabric.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_fs.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_init.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_pep.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_eq.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_ov.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_mr.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_cntr.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_ep_msg.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_ep_rma.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_ep_srx.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_unexp.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\netdir\src\netdir_ndinit.c">
<Filter>Source Files\prov\netdir\src</Filter>
</ClCompile>
<ClCompile Include="prov\util\src\util_ns.c">
<Filter>Source Files\prov\util</Filter>
</ClCompile>
Expand Down Expand Up @@ -651,6 +591,12 @@
<ClCompile Include="prov\verbs\src\windows\verbs_nd_init.c">
<Filter>Source Files\prov\verbs\src\windows</Filter>
</ClCompile>
<ClCompile Include="prov\verbs\src\windows\verbs_nd_addr.c">
<Filter>Source Files\prov\verbs\src\windows</Filter>
</ClCompile>
<ClCompile Include="prov\verbs\src\windows\verbs_nd_fs.c">
<Filter>Source Files\prov\verbs\src\windows</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="include\fasthash.h">
Expand Down Expand Up @@ -839,33 +785,6 @@
<ClInclude Include="prov\rxm\src\rxm.h">
<Filter>Source Files\prov\rxm\include</Filter>
</ClInclude>
<ClInclude Include="prov\netdir\src\netdir.h">
<Filter>Source Files\prov\netdir\include</Filter>
</ClInclude>
<ClInclude Include="prov\netdir\src\netdir_log.h">
<Filter>Source Files\prov\netdir\include</Filter>
</ClInclude>
<ClInclude Include="prov\netdir\src\netdir_iface.h">
<Filter>Source Files\prov\netdir\include</Filter>
</ClInclude>
<ClInclude Include="prov\netdir\src\netdir_ov.h">
<Filter>Source Files\prov\netdir\include</Filter>
</ClInclude>
<ClInclude Include="prov\netdir\src\netdir_util.h">
<Filter>Source Files\prov\netdir\include</Filter>
</ClInclude>
<ClInclude Include="prov\netdir\src\netdir_queue.h">
<Filter>Source Files\prov\netdir\include</Filter>
</ClInclude>
<ClInclude Include="prov\netdir\src\netdir_cq.h">
<Filter>Source Files\prov\netdir\include</Filter>
</ClInclude>
<ClInclude Include="prov\netdir\src\netdir_unexp.h">
<Filter>Source Files\prov\netdir\include</Filter>
</ClInclude>
<ClInclude Include="prov\netdir\src\netdir_buf.h">
<Filter>Source Files\prov\netdir\include</Filter>
</ClInclude>
<ClInclude Include="include\windows\sys\wait.h">
<Filter>Header Files\windows\sys</Filter>
</ClInclude>
Expand Down
12 changes: 0 additions & 12 deletions prov/netdir/NetDirect/README.NetworkDirect

This file was deleted.

197 changes: 0 additions & 197 deletions prov/netdir/src/netdir.h

This file was deleted.

Loading

0 comments on commit 52be148

Please sign in to comment.