Revision tags: v25.01-rc1, v24.09, v25.01-pre, v24.09-rc1 |
|
#
a9eea50d |
| 02-Jul-2024 |
Anton Nayshtut <anayshtut@nvidia.com> |
lib/fuse_dispatcher introduced
The FUSE dispatcher is an auxiliary library that manages an underlying fsdev and implements the FUSE <=> fsdev API translation.
It provides an iovec-based API accordi
lib/fuse_dispatcher introduced
The FUSE dispatcher is an auxiliary library that manages an underlying fsdev and implements the FUSE <=> fsdev API translation.
It provides an iovec-based API according to virtio-fs spec, where the iovecs contain the FUSE-specific structures (IN and OUT).
So, the FUSE dispatcher: - parses the FUSE requests - opens and closes an fsdev upon the FUSE_INIT and FUSE_DESTROY requests correspondingly - translates the FUSE requests into the corresponding spdk_fsdev_op_... API calls - handles the FUSE responses
Change-Id: I587b9861c98531906000d23cd789be0d4f8d43be Signed-off-by: Anton Nayshtut <anayshtut@nvidia.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24085 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <ben@nvidia.com> Reviewed-by: Jim Harris <jim.harris@samsung.com>
show more ...
|
Revision tags: v24.05, v24.09-pre, v24.05-rc1, LTS, v24.01, v24.05-pre, v24.01-rc1 |
|
#
bf30e09a |
| 13-Nov-2023 |
Anton Nayshtut <anayshtut@nvidia.com> |
fsdev: Add generic filesystem layer implementation
Change-Id: I021b7574de0862d42a8c82b8ca4d39b816025a5b Signed-off-by: Anton Nayshtut <anayshtut@nvidia.com> Reviewed-on: https://review.spdk.io/gerri
fsdev: Add generic filesystem layer implementation
Change-Id: I021b7574de0862d42a8c82b8ca4d39b816025a5b Signed-off-by: Anton Nayshtut <anayshtut@nvidia.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22511 Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <jim.harris@samsung.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <ben@nvidia.com>
show more ...
|
#
8a01b4d6 |
| 11-Apr-2024 |
Alexey Marchuk <alexeymar@nvidia.com> |
lib/rdma_utils: Intorduce generic rdma utils lib
This library holds generic rdma functions from rdma_provider. That is done to avoid cross link reference in future patches. The library will be exten
lib/rdma_utils: Intorduce generic rdma utils lib
This library holds generic rdma functions from rdma_provider. That is done to avoid cross link reference in future patches. The library will be extended with new functionality
Signed-off-by: Alexey Marchuk <alexeymar@nvidia.com> Change-Id: If1918efb0fe6f0baa77cf20f992fbd6a97de4264 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23072 Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Ben Walker <ben@nvidia.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
#
cf151d60 |
| 11-Apr-2024 |
Alexey Marchuk <alexeymar@nvidia.com> |
lib/rdma: Rename lib to rdma_provider
The new name better reflects purpose of this library Next patch moves part of functions to a dedicated lib and the new name helps to avoid confusion
Signed-off
lib/rdma: Rename lib to rdma_provider
The new name better reflects purpose of this library Next patch moves part of functions to a dedicated lib and the new name helps to avoid confusion
Signed-off-by: Alexey Marchuk <alexeymar@nvidia.com> Change-Id: If7296ed77a07f7084bce66971d6937d7671b3a91 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23071 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <ben@nvidia.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
show more ...
|
#
cc662ec1 |
| 28-Nov-2023 |
Konrad Sztyber <konrad.sztyber@intel.com> |
lib: add keyring library
The purpose of this library is to provide other libraries with an interface for retrieving cryptographic keys. This interface consists of functions managing the keyring (ad
lib: add keyring library
The purpose of this library is to provide other libraries with an interface for retrieving cryptographic keys. This interface consists of functions managing the keyring (add/remove), keeping track of key references (get/put), and a set of callbacks used to define modules responsible for providing access to the keys in a secure manner.
Key objects (called spdk_key) are identified by a unique name. They don't hold the keying material themselves, but only act as references to the actual key. Once the key is needed to perform a crypto operation, this reference is used to retrieve keying material. These objects are refcounted, so it is safe to remove a key from the keyring while it's still in use. If that happens, the spdk_key object remains valid, but it cannot be used to obtain the key (i.e. spdk_key_get_key() will result in -ENOKEY).
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I5324fa28d5828a989b003bb5f715cfcac2077262 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21734 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
show more ...
|
Revision tags: v23.09, v24.01-pre, v23.09-rc1 |
|
#
3c6897d0 |
| 28-Jul-2023 |
Konrad Sztyber <konrad.sztyber@intel.com> |
lib: add ut library
The purpose of this new library is to provide helpers functions for common unit test tasks. In the first iteration, it'll provide an interface for running the tests based on the
lib: add ut library
The purpose of this new library is to provide helpers functions for common unit test tasks. In the first iteration, it'll provide an interface for running the tests based on the command-line parameters. To use it, the calls to CU_basic_run_tests() need to be replaced with spdk_ut_run_tests().
When working on a feature, it's often useful to run a single test case, as it makes easier to read the logs. So, the command-line interface provides parameters to select the test case (-t, --test) or test suite (-s, --suite) to execute. By default, if no arguments are specified, all tests in all test suites are executed. If there's only a single test suite registered (like in most unit tests), users can omit the test suite argument.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ia8fd4bc047e7c6adf21a71215a0fd3d4f06bc834 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19285 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
Revision tags: v23.05, v23.09-pre, v23.01.1, v23.01, v23.05-pre, v23.01-rc1 |
|
#
ed2b53f3 |
| 29-Nov-2022 |
Yifan Bian <yifan.bian@intel.com> |
ublk: add configure and event/subsystem
ublk backend could support ublk driver with kernel. Specify configuration parameter to start it up.
Signed-off-by: Yifan Bian <yifan.bian@intel.com> Co-autho
ublk: add configure and event/subsystem
ublk backend could support ublk driver with kernel. Specify configuration parameter to start it up.
Signed-off-by: Yifan Bian <yifan.bian@intel.com> Co-authored-by: Xiaodong Liu <xiaodong.liu@intel.com> Change-Id: I55e7d757e04315b25e9bfab5fdcbb6621be3e29e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15680 Reviewed-by: Xiaodong Liu <xiaodong.liu@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
Revision tags: v22.01.2 |
|
#
a1dfa7ec |
| 10-Oct-2022 |
Alexey Marchuk <alexeymar@nvidia.com> |
module/accel: Add mlx5 accel module
The mlx5 accel module supports crypto operations. Data buffer is split into `block_size` chunks and each chunk is enrypted individually. mlx5 library contains som
module/accel: Add mlx5 accel module
The mlx5 accel module supports crypto operations. Data buffer is split into `block_size` chunks and each chunk is enrypted individually. mlx5 library contains some utility functions that will later be used by other libraries, this lib will be exntended later.
Signed-off-by: Alexey Marchuk <alexeymar@nvidia.com> Change-Id: Iacdd8caaade477277d5a95cfd53e9910e280a73b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15420 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
#
19e2dc38 |
| 28-Oct-2022 |
paul luse <paul.e.luse@intel.com> |
configure: rename --with-reduce --with-vbdev-compress
This is in prep for adding a new compressDev accel_fw module that will contain all of the DPDK compressDev specifics on it, the vbdev will make
configure: rename --with-reduce --with-vbdev-compress
This is in prep for adding a new compressDev accel_fw module that will contain all of the DPDK compressDev specifics on it, the vbdev will make calls to the accel_fw instead.
As the accel_fw has SW based compression, we want the configure option to apply to building the vbdev module but not the accel_sw software implementation or the upcoming compressdev module.
Renamed to "compress" as reduce is a term specific to the vbdev implementation of the compression to be provided by the accel_fw and thus the same reason why we leave the test flag called REDUCE because it's controlling tests for the reduce library as well as the vbdev module that is using reduce. The flag does not apply to the SW implementation of compression.
This does not affect upcoming accel_fw compressdev module, that will have its own configure option.
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: If8ed3e48e1e3dabcaad1cd161289e78122cd9d58 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15179 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> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
show more ...
|
#
a6dbe372 |
| 01-Nov-2022 |
paul luse <paul.e.luse@intel.com> |
update Intel copyright notices
per Intel policy to include file commit date using git cmd below. The policy does not apply to non-Intel (C) notices.
git log --follow -C90% --format=%ad --date defa
update Intel copyright notices
per Intel policy to include file commit date using git cmd below. The policy does not apply to non-Intel (C) notices.
git log --follow -C90% --format=%ad --date default <file> | tail -1
and then pull just the 4 digit year from the result.
Intel copyrights were not added to files where Intel either had no contribution ot the contribution lacked substance (ie license header updates, formatting changes, etc). Contribution date used "--follow -C95%" to get the most accurate date.
Note that several files in this patch didn't end the license/(c) block with a blank comment line so these were added as the vast majority of files do have this last blank line. Simply there for consistency.
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: Id5b7ce4f658fe87132f14139ead58d6e285c04d4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15192 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> Community-CI: Mellanox Build Bot
show more ...
|
Revision tags: v22.09, v23.01-pre, v22.09-rc1 |
|
#
e50ade31 |
| 28-Jul-2022 |
Changpeng Liu <changpeng.liu@intel.com> |
vfio_user: remove CONFIG_VFIO_USER flag for client library
The client vfio_user library doesn't require this flag as it is totally owned in SPDK, so remove it.
Change-Id: I8f7b1df18017ceac24dbb8a04
vfio_user: remove CONFIG_VFIO_USER flag for client library
The client vfio_user library doesn't require this flag as it is totally owned in SPDK, so remove it.
Change-Id: I8f7b1df18017ceac24dbb8a0417871f25f6bee0d Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13895 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
Revision tags: v22.05, v22.09-pre, v22.05-rc1, v22.01.1 |
|
#
da231290 |
| 12-Apr-2022 |
Changpeng Liu <changpeng.liu@intel.com> |
lib/vfu_tgt: add library for PCI device emulation
Previously SPDK use libvfio-user library to provide emulated NVMe devices to VM, but it's limited to NVMe device type only. Here we add SPDK vfu_ta
lib/vfu_tgt: add library for PCI device emulation
Previously SPDK use libvfio-user library to provide emulated NVMe devices to VM, but it's limited to NVMe device type only. Here we add SPDK vfu_target library abstraction based on libvfio-user which supports more PCI device types.
We will add virtio-blk and virtio-scsi devices emulation based on vfu_tgt library in following patches, actually this library can support NVMe emulation too, due to the fact that the NVMe emulation is already exist, so we will keep the NVMe emulation which based on libvfio-user directly as it is.
Change-Id: Ib0ead6c6118fa62308355fe432003dd928a2fae9 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12597 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
#
769984a9 |
| 22-Jun-2022 |
Artur Paszkiewicz <artur.paszkiewicz@intel.com> |
ftl: core structure
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com> Change-Id: I5360b43348c8eb7bdfcbc394bb1ac83768dec49f
ftl: core structure
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com> Change-Id: I5360b43348c8eb7bdfcbc394bb1ac83768dec49f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13408 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
show more ...
|
Revision tags: v22.01, v22.01-rc1 |
|
#
81dca288 |
| 17-Jan-2022 |
Wojciech Malikowski <wojciech.malikowski@intel.com> |
ftl: remove deprecated ftl library
Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com> Change-Id: I3ebb05be3f1b9864b238cb74f469b4fdf573cd0d Reviewed-on: https://review.spdk.io/gerrit/
ftl: remove deprecated ftl library
Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com> Change-Id: I3ebb05be3f1b9864b238cb74f469b4fdf573cd0d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11120 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
show more ...
|
#
488570eb |
| 03-Jun-2022 |
Jim Harris <james.r.harris@intel.com> |
Replace most BSD 3-clause license text with SPDX identifier.
Many open source projects have moved to using SPDX identifiers to specify license information, reducing the amount of boilerplate code in
Replace most BSD 3-clause license text with SPDX identifier.
Many open source projects have moved to using SPDX identifiers to specify license information, reducing the amount of boilerplate code in every source file. This patch replaces the bulk of SPDK .c, .cpp and Makefiles with the BSD-3-Clause identifier.
Almost all of these files share the exact same license text, and this patch only modifies the files that contain the most common license text. There can be slight variations because the third clause contains company names - most say "Intel Corporation", but there are instances for Nvidia, Samsung, Eideticom and even "the copyright holder".
Used a bash script to automate replacement of the license text with SPDX identifier which is checked into scripts/spdx.sh.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Iaa88ab5e92ea471691dc298cfe41ebfb5d169780 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12904 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: <qun.wan@intel.com>
show more ...
|
Revision tags: v21.10, v21.10-rc1 |
|
#
d919a197 |
| 30-Aug-2021 |
Konrad Sztyber <konrad.sztyber@intel.com> |
lib/trace_parser: add trace_parser library stubs
This library will provide functions that parse traces recorded by an SPDK application. This includes merging traces from multiple cores, sorting the
lib/trace_parser: add trace_parser library stubs
This library will provide functions that parse traces recorded by an SPDK application. This includes merging traces from multiple cores, sorting them by their timestamp and constructing trace entries spanning across multiple buffers. All of these tasks are currently implemented in the spdk_trace app, so most of its code will be moved here (this is the reason for using C++).
The motivation for extracting this code to a library is to be able to use it from places other than the spdk_trace app, specifically the `scripts/bpf/trace.py` script.
The main reason for creating a separate library instead of extending libtrace is to avoid pulling in all of its dependencies. ISA-L is the most problematic, as we only build it as a static library, which makes it impossible to use with dlopen (making it unusable in scripts).
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: If101ca3425d7404abd51b0da2031358d0be44766 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9428 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> 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> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
show more ...
|
Revision tags: v21.07, v21.07-rc1, v21.04, v21.04-rc1 |
|
#
4e527910 |
| 26-Apr-2021 |
Alexey Marchuk <alexeymar@mellanox.com> |
dma: Introduce memory domain
Memory domain is used to describe memory which belongs to another address space (e.g. GPU memory or host memory) Memory domain can be configured with callbacks to transl
dma: Introduce memory domain
Memory domain is used to describe memory which belongs to another address space (e.g. GPU memory or host memory) Memory domain can be configured with callbacks to translate data to another memory domain and to fetch data to local buffers.
Memory domains will be used in extended bdev/nvme API added in the following patches.
Change-Id: I0dcc7108a4fbf416a11575aa5cf5d7ec501b3d8b Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8126 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com>
show more ...
|
Revision tags: v21.01.1, v21.01, v21.01-rc1, v20.10, v20.10-rc1 |
|
#
e1d06d99 |
| 17-Sep-2020 |
Ben Walker <benjamin.walker@intel.com> |
net: Remove library
Now that we've deprecated the RPCs for a release, we can remove the whole library.
Change-Id: I0f1a357fcfb3404efac39aa021928841c2f22ff1 Signed-off-by: Ben Walker <benjamin.walke
net: Remove library
Now that we've deprecated the RPCs for a release, we can remove the whole library.
Change-Id: I0f1a357fcfb3404efac39aa021928841c2f22ff1 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4305 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
#
af935f76 |
| 26-Feb-2021 |
Ben Walker <benjamin.walker@intel.com> |
event: Shift subsystem initialization code to a separate library
This is useful for applications even if they elect not to use the SPDK event framework.
This doesn't shift everything in one go - ju
event: Shift subsystem initialization code to a separate library
This is useful for applications even if they elect not to use the SPDK event framework.
This doesn't shift everything in one go - just the subsystem initialization logic. Configuration file loading also needs to move in a separate patch later.
Change-Id: Id419df1045442d416650ed90e5ee78adfdd623d7 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6641 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: Paul Luse <paul.e.luse@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 ...
|
#
6bd7bd0d |
| 09-Oct-2020 |
Changpeng Liu <changpeng.liu@intel.com> |
vhost: deprecate internal vhost library support
The internal vhost library is used when DPDK's version is older than 19.05 and the experiemntal vhost nvme target.
For the CONFIG_INTERNAL_VHOST_LIB
vhost: deprecate internal vhost library support
The internal vhost library is used when DPDK's version is older than 19.05 and the experiemntal vhost nvme target.
For the CONFIG_INTERNAL_VHOST_LIB option, SPDK doesn't enable this option by default over one year and CI doesn't cover it either, so we may remove it with this release.
As for the vhost-nvme target, since we are developing a new vfio-user target solution, it's OK for us to remove it now.
Change-Id: Ib2cce1db99cd09754307c2828b3187f2d4550304 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4562 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
#
2e318255 |
| 23-Sep-2020 |
Jim Harris <james.r.harris@intel.com> |
event: move log_rpc contents to event library
The log_rpc library serves little (if any) use in isolation. It makes more sense to just include this code in the event library. The event library alr
event: move log_rpc contents to event library
The log_rpc library serves little (if any) use in isolation. It makes more sense to just include this code in the event library. The event library already depends on and uses the log library, and it is natural to just enable these RPCs directly in that library instead.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ie39b8598ce0c06729a13d188ce00da44a996accc Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4362 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
Revision tags: v20.07, v20.07-rc1, v20.04.1, v20.01.2, v20.04, v20.04-rc1, v20.01.1 |
|
#
7e14f724 |
| 14-Mar-2020 |
Alexey Marchuk <alexeymar@mellanox.com> |
rdma: Intorduce RDMA providers
RDMA provider is used as an abstraction layer and allows to add vendor specific verbs implementation. This patch adds an interface to create and destroy qpairs and its
rdma: Intorduce RDMA providers
RDMA provider is used as an abstraction layer and allows to add vendor specific verbs implementation. This patch adds an interface to create and destroy qpairs and its implementation using regular verbs API. Future patches will add functions to queue/flush Work Requests, enable usage of RDMA providers API in NVMEoF target/initiator and add Mellanox Direct Verbs implementation. This abstraction layer is flexible enough to add other vendor's implementations. The choice of a specific RDMA provider will be made at the configuration step, it doesn't add any runtime overhead.
Change-Id: If8eec5bd45c82c71f73a14f6e84121cd02a1d65d Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1655 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Reviewed-by: Seth Howell <seth.howell@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jacek Kalwas <jacek.kalwas@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
#
e58e9fbd |
| 10-Apr-2020 |
paul luse <paul.e.luse@intel.com> |
lib/idxd: add low level idxd library
Module, etc., will follow. Notes:
* IDXD is an Intel silicon feature available in future Intel CPUs. Initial development is being done on a simulator. Once HW i
lib/idxd: add low level idxd library
Module, etc., will follow. Notes:
* IDXD is an Intel silicon feature available in future Intel CPUs. Initial development is being done on a simulator. Once HW is available and the code fully tested the experimental label will be lifted. Spec can be found here: https://software.intel.com/en-us/download/intel-data-streaming-accelerator-preliminary-architecture-specification
* The current implementation will only work with VFIO.
* DSA has a number of engines that can be grouped based on application need such as type of memory being served or QoS. Engines are processing units and are assigned to groups. Work queues are on device structures that act as front-end groups for queueing descriptors. Full details on what is configurable & how will come in later doc patches.
* There is a finite number of work queue slots that are divided amongst the number of desired work queues in some fashion (ie evenly).
* SW (outside of the idxd lib) is required to manage flow control, to not over-run the work queues.This is provided in the accel plug-in module. The upper layers use public API to manage this.
* Work queue submissions are done with a 64 byte atomic instruction
* The design here creates a set of descriptor rings per channel that match the size of the work queues. Then, an spdk_bit_array is used to make sure we don't overrun a queue. If there are not slots available, the operation is put on a linked list to be retried later from the poller.
* As we need to support any number of channels (we can't limit ourselves to the number of work queues) we need to dynamically size/resize our per channel descriptor rings based on the number of current channels. This is done from upper layers via public API into the lib.
* As channels are created, the total number of work queue slots is divided across the channels evenly. Same thing when they are destroyed, remaining channels with see the ring sizes increase. This is done from upper layers via public API into the lib.
* The sim has 64 total work queue entries (WQE) that get dolled out to the work queues (WQ) evenly.
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I899bbeda3cef3db05bea4197b8757e89dddb579d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1809 Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
#
aa7a13af |
| 05-Feb-2020 |
paul luse <paul.e.luse@intel.com> |
global: rename copy to accel
The copy engine library, modules and public APIs have been renamed. Use of the word `copy` has been replaced with the word `accel` short for accelerator in preparation f
global: rename copy to accel
The copy engine library, modules and public APIs have been renamed. Use of the word `copy` has been replaced with the word `accel` short for accelerator in preparation for adding new capabilities in the future. Additionally, APIs for what was previously called the `memcpy` engine have been renamed to identify the engine as a software accelerator.
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: Ia607aa718416146fbba1e6792b8de0f66bd8a5de Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/576 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: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|