| 199fa601 | 06-May-2021 |
Jim Harris <james.r.harris@intel.com> |
util: add zipf random number generator
zipf is a power law probability distribution. When applied to performance testing of block devices, it will select blocks over the full range of LBAs, but will
util: add zipf random number generator
zipf is a power law probability distribution. When applied to performance testing of block devices, it will select blocks over the full range of LBAs, but will more frequently select lower-numbered LBAs. The theta parameter governs the distribution - higher values of theta will concentrate the distribution on a smaller number of LBAs.
Note that fio supports zipf, so adding it to SPDK will enable our perf tools (bdevperf, nvme-perf) to provide similar functionality.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I7df129c9d61996a2070188c6cd9f1fde631ac208 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7779 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
| b549f411 | 10-May-2021 |
Jim Harris <james.r.harris@intel.com> |
build: relink apps when vfio-user library is updated
Look for 'vfio_user' in SPDK_LIB_FILES to determine whether the target application actually needs to be rebuilt.
Fixes issue #1930.
Signed-off-
build: relink apps when vfio-user library is updated
Look for 'vfio_user' in SPDK_LIB_FILES to determine whether the target application actually needs to be rebuilt.
Fixes issue #1930.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: If3f699c91972e20dc4520e25c655ed11f6843be0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7826 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: <dongx.yi@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 1f5bae84 | 10-May-2021 |
Jim Harris <james.r.harris@intel.com> |
build: also look for vfio-user libraries in 'lib'
At least on some Ubuntu distributions, default vfio-user install puts libs in usr/local/lib instead of usr/local/lib64.
Signed-off-by: Jim Harris <
build: also look for vfio-user libraries in 'lib'
At least on some Ubuntu distributions, default vfio-user install puts libs in usr/local/lib instead of usr/local/lib64.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ib312d8ca9b4ce9e858a9a9e76525fc8afd48ced5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7825 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: <dongx.yi@intel.com>
show more ...
|
| 47c4304d | 23-Mar-2021 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
subsystem/nvmf: remove cpu_mask hint when creating poll group
Passing cpu_mask hints that match only single core were usefull to prevent any accidents when doing round-robin in case of 'static' sche
subsystem/nvmf: remove cpu_mask hint when creating poll group
Passing cpu_mask hints that match only single core were usefull to prevent any accidents when doing round-robin in case of 'static' scheduler. In practice this is not required in case of 'static' scheduler, the threads will be spread out over all reactors anyway.
This hinders other schedulers which try to respect the cpu_mask hints, as they would not move the thread to any reactor. Preventing bunching up less used threads on single reactor.
Drawback of this patch is that poll group names will not match the cores they are on.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I5fb308362dd045228ea9fcca24f988388854c054 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7028 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: <dongx.yi@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
show more ...
|
| 7366e569 | 22-Mar-2021 |
Karol Latecki <karol.latecki@intel.com> |
build/fio: disable warning for fio clang-11 builds
Fio 3.19 fails to build with Clang 11 because of implicit-const-int-float-conversion error. Disable -Werror checking for now.
Fixes #1848
Change-
build/fio: disable warning for fio clang-11 builds
Fio 3.19 fails to build with Clang 11 because of implicit-const-int-float-conversion error. Disable -Werror checking for now.
Fixes #1848
Change-Id: I0f3922d7af412de35d9f79f3f5413af146996bf3 Signed-off-by: Karol Latecki <karol.latecki@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6991 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
| de8f3a50 | 19-Mar-2021 |
root <root@wls-x86-hp04.shanghai.arm.com> |
mk: Fix debug build error on ARM ThunderX2 and neoverse N1 platform
When building spdk on ARM platform like thunderx2 with --enable-debug, there are following error:
/tmp/ccOBb4AF.s: Assembler mess
mk: Fix debug build error on ARM ThunderX2 and neoverse N1 platform
When building spdk on ARM platform like thunderx2 with --enable-debug, there are following error:
/tmp/ccOBb4AF.s: Assembler messages: /tmp/ccOBb4AF.s:45: Error: selected processor does not support `casp x0,x1,x2,x3,[x4]' /tmp/ccOBb4AF.s:77: Error: selected processor does not support `caspa x0,x1,x2,x3,[x4]' /tmp/ccOBb4AF.s:109: Error: selected processor does not support `caspl x0,x1,x2,x3,[x4]' /tmp/ccOBb4AF.s:141: Error: selected processor does not support `caspal x0,x1,x2,x3,[x4]'
The reason is that DPDK is built with -march=armv8.1-a or -march=armv8.2-a+lse which have these instructions while SPDK is built with -march=armv8-a+crc which does not support them. Change spdk build machine to native can fix this.
Signed-off-by: Rui Chang <rui.chang@arm.com> Change-Id: I759d4ce2c557ce5ff73a802d7a4b6579c4ba64f7 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7025 Community-CI: Mellanox Build Bot Reviewed-by: Ziye Yang <ziye.yang@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| d515bf73 | 08-Mar-2021 |
Ziye Yang <ziye.yang@intel.com> |
bdev/nvme: Use the accelerated_engine
This patch really uses the accelrated engine. Currently, we only offload the crc32c caculation, but it can be extended.
Change-Id: If0e4c6a44b6e1e10e03f7eca355
bdev/nvme: Use the accelerated_engine
This patch really uses the accelrated engine. Currently, we only offload the crc32c caculation, but it can be extended.
Change-Id: If0e4c6a44b6e1e10e03f7eca355bed418d67326b Signed-off-by: Ziye Yang <ziye.yang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6760 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
show more ...
|
| 9239ed33 | 04-Mar-2021 |
Michal Berger <michalx.berger@intel.com> |
mk: Don't use mime-type to determine type of the lib file
Some versions of the file (e.g. 5.33) confuse the sharedlib files with pie-executable ones when they already have the executable bit set. Si
mk: Don't use mime-type to determine type of the lib file
Some versions of the file (e.g. 5.33) confuse the sharedlib files with pie-executable ones when they already have the executable bit set. Since this particular bit is already set on the .so.* when they are built, file may report the type as "application/x-pie-executable" instead. As a result, lib files won't have proper permissions set when installed.
This is a bit problematic for building the RPMs since when find-provides kicks in to determine the dependencies, said files are not picked up at all - package ends up with empty "provides:" data breaking the dependency lookup during installation of other packages which may depend on the broken one.
To mitigate, don't use mime-type, simply run file against the lib in default mode and look for "shared object" string - this should work for most of the file versions available on the supported distribution.
Spotted on Fedora31.
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: If9974f5acbdad6eb1204b64f0ee1ac9b2e20f85b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6703 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com>
show more ...
|
| f58afe93 | 09-Mar-2021 |
Michal Berger <michalx.berger@intel.com> |
test/common: Don't enable werror on FreeBSD
Facing similar issue as with 9ab2855d - can't build SPDK against fio 3.19.
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: I4ea22e4f06
test/common: Don't enable werror on FreeBSD
Facing similar issue as with 9ab2855d - can't build SPDK against fio 3.19.
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: I4ea22e4f068a19d8d87be836454ec8deeeb2d48a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6805 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
| 6e2c2306 | 10-Feb-2021 |
Jacek Kalwas <jacek.kalwas@intel.com> |
build: install generated pkg-config files
Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com> Change-Id: I191ad5e3b153fb563256eba1aa695716f66db788 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/
build: install generated pkg-config files
Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com> Change-Id: I191ad5e3b153fb563256eba1aa695716f66db788 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6377 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
| a4e1d715 | 23-Feb-2021 |
Nick Connolly <nick.connolly@mayadata.io> |
mk: support file extension for executables
Some platforms require that a specific file extension is used for executables. Append $(EXEEXT) to $(APP) definitions to accommodate this. The name EXEEXT
mk: support file extension for executables
Some platforms require that a specific file extension is used for executables. Append $(EXEEXT) to $(APP) definitions to accommodate this. The name EXEEXT has been chosen for consistency with automake which uses the same variable for the same purpose.
Add extensions for generated files used by Windows to the 'clean' target (.obj, .lib, .pdb) and add output files to .gitignore.
Tested using a cross compiler that forces a .exe suffix and verifying that all LINK messages include the correct suffix and that a second call to make does nothing (showing that the targets match the generated executables).
Signed-off-by: Nick Connolly <nick.connolly@mayadata.io> Change-Id: Ief012f6294d2f94b23c8b4f9747e21a0dfb91e96 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6494 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
| 9854c138 | 03-Mar-2021 |
Nick Connolly <nick.connolly@mayadata.io> |
mk: add support for mingw builds
MinGW builds require a thin layer above the standard libraries to provide POSIX functionality that is missing on Windows. Add support for building this.
MinGW cross
mk: add support for mingw builds
MinGW builds require a thin layer above the standard libraries to provide POSIX functionality that is missing on Windows. Add support for building this.
MinGW cross builds are experimental and work is ongoing to integrate them into the CI and test environment. Including the changes at this stage is being done to facilitate that process.
The layer has been arranged in the same way as DPDK and is accessed as an external build using ./configure --with-wpdk=<dir>. Support has also been added for using a default ./wpdk in preparation for reaching the required level of stability.
The help text for ./configure indicates that support for --with-wpdk is experimental.
Further details and instructions can be found at https://wpdk.github.io.
Signed-off-by: Nick Connolly <nick.connolly@mayadata.io> Change-Id: Iff0f705789f19fb193dcb3c9090c3e90613a8d9a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6589 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
| 2a8065b5 | 26-Feb-2021 |
Nick Connolly <nick.connolly@mayadata.io> |
mk: add mocking for mingw cross builds
On Windows there has to be a thin layer above the system calls to provide POSIX functionality. When wrapping system calls, the name needs to be prefixed with w
mk: add mocking for mingw cross builds
On Windows there has to be a thin layer above the system calls to provide POSIX functionality. When wrapping system calls, the name needs to be prefixed with wpdk_ to ensure that the layer is called.
Re-arrange the definitions to facilitate wrapping and prefix with wpdk_ for mingw. For other compilers targeting Windows, the --wrap flag is not supported and the layer above the system calls implements an alternative mechanism to enable the mocking.
Tested with $(info LDFLAGS) added to spdk.mock.unittest.mk combined with visual inspection and running the unit tests.
Signed-off-by: Nick Connolly <nick.connolly@mayadata.io> Change-Id: If00504740229362c40bee4ae171d35489afb2e77 Signed-off-by: Nick Connolly <nick.connolly@mayadata.io> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6577 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| 33991713 | 25-Feb-2021 |
Nick Connolly <nick.connolly@mayadata.io> |
mk: workaround for mingw stack-protector bug
Add -mstack-protector-guard=global to work around GCC bug 86832, where -fstack-protector will attempt to use native TLS, but mingw only supports emulated
mk: workaround for mingw stack-protector bug
Add -mstack-protector-guard=global to work around GCC bug 86832, where -fstack-protector will attempt to use native TLS, but mingw only supports emulated TLS. This causes a segmentation violation at the start of any function protected by stack-protector. The issue exists in GCC versions prior to 8.3.
Enable -mstack-protector-guard=global which uses a global variable for the guard value. This is the behaviour with the fix, so there is no downside to enabling it for all versions of GCC on Windows.
Signed-off-by: Nick Connolly <nick.connolly@mayadata.io> Change-Id: I85bc831043585071b0d8b0a3dd637b8d9ff26dab Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6575 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
show more ...
|
| af17c1d4 | 25-Feb-2021 |
Nick Connolly <nick.connolly@mayadata.io> |
mk: adjust options for mingw cross compilation
Check compiler target triplet for the strings 'windows' or 'mingw' and set OS to Windows. If found, adjust basic parameters:
Set EXEEXT to indicate ex
mk: adjust options for mingw cross compilation
Check compiler target triplet for the strings 'windows' or 'mingw' and set OS to Windows. If found, adjust basic parameters:
Set EXEEXT to indicate executables have .exe suffix. Exclude 'relro' and 'now' flags which are not recognised on Windows. Exclude 'noexecstack' flag which is not recognised on Windows. Exclude -pthread flag because Windows doesn't have POSIX threads. Include libssp.a to support stack-protector and _FORTIFY_SOURCE.
Signed-off-by: Nick Connolly <nick.connolly@mayadata.io> Change-Id: I94a45d3123ebc81f5529006fa07b05da897e5866 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6574 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
show more ...
|
| d0b2448b | 19-Feb-2021 |
Changpeng Liu <changpeng.liu@intel.com> |
mk/libvfio-user: support --with-vfio-user=/usr/path
Users may not use SPDK libvfio-user submodule, so add a library path for this case, users can still just use '--with-vfio-user' without adding the
mk/libvfio-user: support --with-vfio-user=/usr/path
Users may not use SPDK libvfio-user submodule, so add a library path for this case, users can still just use '--with-vfio-user' without adding the path, for this case a submodule default path will be used.
Change-Id: Ib0dd82ab6910056ff21b5b2d373c0d16916162c6 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6471 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
show more ...
|
| ae9f8035 | 19-Feb-2021 |
Changpeng Liu <changpeng.liu@intel.com> |
mk/libvfio-user: use the install directory for the link path
Previously the libvfio-user didn't install the static library to the install directory, with that fix in libvfio-user, we can use the ins
mk/libvfio-user: use the install directory for the link path
Previously the libvfio-user didn't install the static library to the install directory, with that fix in libvfio-user, we can use the install directory now.
Change-Id: I3f232395a6dc3bf6d7d3937b245eb10c4b6a0e26 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6470 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| 13381936 | 10-Feb-2021 |
Alexey Marchuk <alexeymar@mellanox.com> |
make: Correct ppc detection
gcc -dumpmachine may provide the following output: ppc64le-redhat-linux To detect PowerPC system we should check for both "powerpc%" and "ppc%" strings
Signed-off-by: Al
make: Correct ppc detection
gcc -dumpmachine may provide the following output: ppc64le-redhat-linux To detect PowerPC system we should check for both "powerpc%" and "ppc%" strings
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Change-Id: Ifb5afe743797177afa4f1b541a0c8ccaf4befbda Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6378 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Community-CI: Mellanox Build Bot
show more ...
|
| 0e0805b5 | 12-Feb-2021 |
Jacek Kalwas <jacek.kalwas@intel.com> |
build: add missing log dep for env_dpdk
Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com> Change-Id: Ieab3a3851eea9c6c9db2ddbf74d59b17128c3f0f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/sp
build: add missing log dep for env_dpdk
Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com> Change-Id: Ieab3a3851eea9c6c9db2ddbf74d59b17128c3f0f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6403 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
| 91e42257 | 14-Jan-2021 |
Jim Harris <james.r.harris@intel.com> |
configure: add --enable-cet to build with CET support
Intel Control-flow Enforcement Technology (CET) is a processor feature that blocks return/jump-oriented programming (ROP) attacks.
It is curren
configure: add --enable-cet to build with CET support
Intel Control-flow Enforcement Technology (CET) is a processor feature that blocks return/jump-oriented programming (ROP) attacks.
It is currently only supported on Tiger Lake client processors, but will be available on other processors in the future.
CET requires toolchain support. gcc8 does support it. For now, this will opt-in only at least until the technology is available on server processors.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I8c7f882eeeaed26484c31dc0d67d5cc42baeaa2d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5921 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
| 79f9a7f5 | 24-Sep-2020 |
Jim Harris <james.r.harris@intel.com> |
build: generate pkg-config files for SPDK
Users can now generate the necessary linker args for their own applications using something like:
PKG_CONFIG_PATH=build/lib/pkgconfig pkg-config --libs spd
build: generate pkg-config files for SPDK
Users can now generate the necessary linker args for their own applications using something like:
PKG_CONFIG_PATH=build/lib/pkgconfig pkg-config --libs spdk_nvme
Dependencies between libraries are included in the generated .pc files, so the user only needs to pass the top-level subsystems or individual SPDK libraries they are using in their application.
Modules will automatically be added to the output if the associated library is specified. For example, specifying "spdk_bdev" will include the libraries not only for spdk_bdev, but also all of the bdev modules.
Users still need to supply the -Wl,--no-as-needed or -Wl,--whole-archive flags. They cannot be added to the .pc files without increasing the length of the argument string by a factor of 15x to 20x.
Modify the test/external_code/hello_world Makefile to use pkg-config to ensure this gets tested at some level in our autotest environment.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ie48a75f11969d5d775d514cf10bcb82d197eabfd Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4371 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
| 3ff9c136 | 19-Aug-2020 |
Changpeng <changpeng.liu@intel.com> |
NVMe/vfio-user: add initial version vfio-user transport to NVMe driver
When NVMf target linked with vfio-user library, we can use vfio-user client library to connect to the target.
Here is the thre
NVMe/vfio-user: add initial version vfio-user transport to NVMe driver
When NVMf target linked with vfio-user library, we can use vfio-user client library to connect to the target.
Here is the three examples that can work with target:
identify -r 'trtype:VFIOUSER traddr:/var/run/muser/domain/muser0/8' -g perf -r 'trtype:VFIOUSER traddr:/var/run/muser/domain/muser0/8' -g -q 1 -o 4096 -w read -t 10 reconnect -r 'trtype:VFIOUSER traddr:/var/run/muser/domain/muser0/8' -g -q 32 -o 4096 -w randrw \ -M 50 -t 10 -c 0xE
You can run the following test script test/nvmf/target/nvmf_vfio_user.sh to have a quick test, currently enabled with NVMe Identify,Perf,Reconnect tools.
Change-Id: Ieb9842b2f372184fffbf7f23e4aad26feb47c350 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3839 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
| b30d57cd | 02-Nov-2020 |
Changpeng Liu <changpeng.liu@intel.com> |
libvfio-user: include libvfio-user as a submodule with SPDK
Also add a CONFIG_VFIO_USER config flag, it's enabled by default.
Change-Id: I18b44c024a264516a60f743d5c366a4c7f7c6785 Signed-off-by: Cha
libvfio-user: include libvfio-user as a submodule with SPDK
Also add a CONFIG_VFIO_USER config flag, it's enabled by default.
Change-Id: I18b44c024a264516a60f743d5c366a4c7f7c6785 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5000 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| 76c21d41 | 30-Dec-2020 |
Liu Xiaodong <xiaodong.liu@intel.com> |
intr_tgt: interruptable libs shown by modules.mk
Indicate interruptable module libaries by spdk.modules.mk through INTR_BLOCKDEV_MODULES_LIST. Other applications can directly use INTR_BLOCKDEV_MODUL
intr_tgt: interruptable libs shown by modules.mk
Indicate interruptable module libaries by spdk.modules.mk through INTR_BLOCKDEV_MODULES_LIST. Other applications can directly use INTR_BLOCKDEV_MODULES_LIST to create themselves to be interruptable.
Change-Id: Id1894dd3753c7b404ebb9d77f3184be942f6d216 Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5782 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
| d478edd4 | 08-Dec-2020 |
Ziye Yang <ziye.yang@intel.com> |
lib/nvmf: Use the async function to caculate the crc32 for header_digest.
In this patch, we will use the accel library to do the crc32 work for the header digest when sending the pdu in the target s
lib/nvmf: Use the async function to caculate the crc32 for header_digest.
In this patch, we will use the accel library to do the crc32 work for the header digest when sending the pdu in the target side.
For data digest support, will consider in the further patch.
Signed-off-by: Ziye Yang <ziye.yang@intel.com> Change-Id: I3169a158afd633f48bdbeb2cce1ed20e4141ae45 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5472 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|