Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
accel/ | H | - | - | 735 | 577 | |
hello_world/ | H | - | - | 411 | 285 | |
nvme/ | H | - | - | 885 | 645 | |
passthru/ | H | - | - | 907 | 606 | |
Makefile | H A D | 18-Jan-2024 | 2.3 KiB | 103 | 70 | |
README.md | H A D | 24-Aug-2021 | 918 | 18 | 14 | |
test_make.sh | H A D | 25-Jan-2024 | 5.1 KiB | 128 | 79 |
README.md
1This directory is meant to demonstrate how to link an external application and bdev 2module to the SPDK libraries. The makefiles contain six examples of linking against spdk 3libraries. They cover linking an application both with and without a custom bdev. For each of 4these categories, they also demonstrate linking against the spdk combined shared library, 5individual shared libraries, and static libraries. 6 7This directory also contains a convenient test script, test_make.sh, which automates making SPDK 8and testing all six of these linker options. It takes a single argument, the path to an SPDK 9repository and should be run as follows: 10 11~~~bash 12sudo ./test_make.sh /path/to/spdk 13~~~ 14 15The application `hello_bdev` is a symlink and bdev module `passthru_external` have been copied from their namesakes 16in the top level [SPDK github repository](https://github.com/spdk/spdk) and don't have any special 17functionality. 18