| 34edd9f1 | 10-Jul-2024 |
Kamil Godzwon <kamilx.godzwon@intel.com> |
general: fix misspells and typos
Signed-off-by: Kamil Godzwon <kamilx.godzwon@intel.com> Change-Id: Iab206ef526eb7032c6681a3145450010c91705a4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+
general: fix misspells and typos
Signed-off-by: Kamil Godzwon <kamilx.godzwon@intel.com> Change-Id: Iab206ef526eb7032c6681a3145450010c91705a4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24120 Community-CI: Mellanox Build Bot Reviewed-by: Karol Latecki <karol.latecki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Jim Harris <jim.harris@samsung.com>
show more ...
|
| dfb2950f | 13-May-2024 |
Michal Berger <michal.berger@intel.com> |
scripts/check_format: Adjust bash code to adhere to shfmt v3.8.0
This bump ensures some of the obscure formatting bugs are finally squashed. All the adjustments introduced here adhere to what we alr
scripts/check_format: Adjust bash code to adhere to shfmt v3.8.0
This bump ensures some of the obscure formatting bugs are finally squashed. All the adjustments introduced here adhere to what we already try to enforce across the entire repo, but due to said bugs could not be implemented.
Remove SHFMT_NO_EDITORCONFIG since it's not supported in latest shfmt releases.
This patch doesn't introduce any functional change in the updated files.
Change-Id: Ia2b011b86c8fe12376c4a8455ee638473a9f7179 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23088 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
| b24df7cf | 09-May-2024 |
Michal Berger <michal.berger@intel.com> |
test: Drop superfluous calls to print_backtrace()
Since we use errtrace, the ERR trap is inherited and preserved in each subshell, cmd substitution, etc. that we execute along the way. This means th
test: Drop superfluous calls to print_backtrace()
Since we use errtrace, the ERR trap is inherited and preserved in each subshell, cmd substitution, etc. that we execute along the way. This means that each failure inside such subshell triggers call to print_backtrace(). Depending on the context, this may not be desired. Consider simple example:
# foo() { return 1; } # [[ $(foo) == no_output_so_fail_me ]]
This assumes that from the test perspective we don't care if foo(), internally, fails, we just look for a specific string it should return. If it doesn't, errexit will be triggered at the [[ level and fail the test. This is fine, but before this happens, extra print_backtrace() call will be made from the $() context.
Changing logic above and we may start spamming these calls:
# foo() { return 1; } # [[ $(foo) -eq 0 ]]
Here failure still triggers the print_backtrace() but logically the [[ test succeeds so we end up with a useless call in the log which may be downright confusing.
Cherry on top is the fact that we don't inherit errexit inside the subshell. So this print_backtrace() call is entirely foobar as it won't do anything at all.
Best case would be to enable inherit_errexit from autotest_common.sh across all the test suites. This, however, will require proper discipline in maintaining the tests as use of subshell environment would have to be more explicit - in other words the ambiguity from the first example (i.e. failure != no output) would not be allowed.
For now, refactor code a bit to get rid of these extra calls, next step would be to test behavior of inherit_errexit.
Change-Id: Ice3f072008162c1713e78a6da99a833919bc716c Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23078 Reviewed-by: Ben Walker <ben@nvidia.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 92244508 | 14-Jan-2024 |
Michal Berger <michal.berger@intel.com> |
test/sma: Call waitforlisten() with proper socket argument
Currently, the test is not waiting for all the spdk_tgt instances, but just the single one ($tgtpid). This emposes a race where first rpc c
test/sma: Call waitforlisten() with proper socket argument
Currently, the test is not waiting for all the spdk_tgt instances, but just the single one ($tgtpid). This emposes a race where first rpc calls targeted for $t1sock may fail due to the target being not available.
Avoid that by requesting waitforlisten() to check proper sockets.
Change-Id: I73398b14da1d5101b37057009a05363599233f38 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21426 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| dc4cb8bf | 01-Mar-2023 |
Konrad Sztyber <konrad.sztyber@intel.com> |
test/sma: limit number of vhost-blk devices to 2
We *really* don't need to fill the whole bus with virtio-blk controllers, the intention is just to verify that they can be created on two different b
test/sma: limit number of vhost-blk devices to 2
We *really* don't need to fill the whole bus with virtio-blk controllers, the intention is just to verify that they can be created on two different buses. So, instead of looping through 33 devices, specify two addresses that will translate to bus 0 and bus 1.
This significantly reduces the amount of necessary resources needed for this test.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I6d60bd0fa840596d2231f50fc10ccde6b47ac60e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17032 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 13f97e67 | 31-Aug-2022 |
Alexey Marchuk <alexeymar@nvidia.com> |
bdev/crypto: Use accel framework
All DPDK related code is removed, handling of RESET command was sligthly updated. Handling of -ENOMEM was updated for cases when accel API returns -ENOMEM
Crypto te
bdev/crypto: Use accel framework
All DPDK related code is removed, handling of RESET command was sligthly updated. Handling of -ENOMEM was updated for cases when accel API returns -ENOMEM
Crypto tests in blockdev.sh were extended with more crypto_bdevs to verify NOMEM cases - that failed with original vbdev_crypto implementation
Signed-off-by: Alexey Marchuk <alexeymar@nvidia.com> Change-Id: If1feba2449bee852c6c4daca4b3406414db6fded Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14860 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 ...
|
| db772436 | 20-Dec-2022 |
Michal Berger <michal.berger@intel.com> |
misc: Fixes targeted for latest shellcheck
Following directives are being fixed:
- SC2317 - SC2004
Signed-off-by: Michal Berger <michal.berger@intel.com> Change-Id: Ia080044aa5b7c885a01556b6927933
misc: Fixes targeted for latest shellcheck
Following directives are being fixed:
- SC2317 - SC2004
Signed-off-by: Michal Berger <michal.berger@intel.com> Change-Id: Ia080044aa5b7c885a01556b6927933b81f98eb9d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16025 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Pawel Piatek <pawelx.piatek@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| 51124e5c | 13-Dec-2022 |
Michal Rozegnal <michal.rozegnal@intel.com> |
sma test: disable line wrapping for base64
Cipher keys in sma are encoded by base64 that by default wrap line after 76chars. It causes issues for 256bit keys in sma flow. Adding "-w 0" disables line
sma test: disable line wrapping for base64
Cipher keys in sma are encoded by base64 that by default wrap line after 76chars. It causes issues for 256bit keys in sma flow. Adding "-w 0" disables line wrapping
Signed-off-by: Michal Rozegnal <michal.rozegnal@intel.com> Change-Id: Ic6a8136672b1cdbd8d71d3cc1caa82a5bc898636 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15888 Reviewed-by: Jacek Kalwas <jacek.kalwas@intel.com> Reviewed-by: <sebastian.brzezinka@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| b7964a3c | 28-Nov-2022 |
Konrad Sztyber <konrad.sztyber@intel.com> |
sma: forbid deleting devices with attached volumes
It makes it possible for stateless clients to send CreateDevice / DeleteDevice each time a volume is attached / detached. Deleting a device with a
sma: forbid deleting devices with attached volumes
It makes it possible for stateless clients to send CreateDevice / DeleteDevice each time a volume is attached / detached. Deleting a device with attached volumes results in FAILED_PRECONDITION error, which a client can simply ignore. The device will be deleted during the final DeleteDevice call, once all volumes are detached.
We limit this behavior to device types that support AttachVolume / DetachVolume methods, otherwise it would be impossible to delete such devices.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I244b2b09455ec1430970c70f3fbb739cc9069754 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15670 Reviewed-by: Jing Yan <jing1.yan@intel.com> Reviewed-by: Filip Szufnarowski <filip.szufnarowski@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 8b0bb7f0 | 24-Nov-2022 |
Konrad Sztyber <konrad.sztyber@intel.com> |
test/sma: limit the number of created devices in vhost_blk
We don't need to create as many devices to fully populate two buses, we can create 32 devices on the first bus and 1 device on the second o
test/sma: limit the number of created devices in vhost_blk
We don't need to create as many devices to fully populate two buses, we can create 32 devices on the first bus and 1 device on the second one and basically test the same thing, while allocating less resources at the same time.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ibaca094f71f3702f8d58f5feb54b676df749ff49 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15645 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
show more ...
|
| 3f912cf0 | 02-Nov-2022 |
Michal Berger <michal.berger@intel.com> |
misc: Fix spelling mistakes
Found with misspell-fixer.
Signed-off-by: Michal Berger <michal.berger@intel.com> Change-Id: If062df0189d92e4fb2da3f055fb981909780dc04 Reviewed-on: https://review.spdk.i
misc: Fix spelling mistakes
Found with misspell-fixer.
Signed-off-by: Michal Berger <michal.berger@intel.com> Change-Id: If062df0189d92e4fb2da3f055fb981909780dc04 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15207 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 588dfe31 | 13-Nov-2022 |
Michal Berger <michal.berger@intel.com> |
Add SPDX header to various files
They were missed by the initial set of patches which introduced this header as a mandatory one across different types of files.
Signed-off-by: Michal Berger <michal
Add SPDX header to various files
They were missed by the initial set of patches which introduced this header as a mandatory one across different types of files.
Signed-off-by: Michal Berger <michal.berger@intel.com> Change-Id: I3f9b37d41298c843e1648e72fe8593768ccd37e0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15423 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 ...
|
| eb53c232 | 02-Nov-2022 |
paul luse <paul.e.luse@intel.com> |
add (c) and SPDX header to bash files as needed
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% --forma
add (c) and SPDX header to bash files as needed
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 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)
For intel copyrights added, --follow and -C95% were used.
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I2ef86976095b88a9bf5b1003e59f3943cd6bbe4c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15209 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| 0af934b3 | 20-Oct-2022 |
Krzysztof Karas <krzysztof.karas@intel.com> |
event: add CPU lock files
When running SPDK application on a given set of CPU cores, create lock files for each of them. This wil prevent user misconfiguration and assigning a core to more than one
event: add CPU lock files
When running SPDK application on a given set of CPU cores, create lock files for each of them. This wil prevent user misconfiguration and assigning a core to more than one SPDK instance.
The introduced mechanism is based on device locks implemented in spdk_pci_device_claim() function.
Add a command line option to disable lock files. This feature will be useful in cases where differing CPU cores is impossible (eg. setup with only one core available).
The patch also fixes all existing cases of overlapping core masks.
Change-Id: Ie9aacb7523a3597b9aa20f2c3fa9efe4db92c44c Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14919 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: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
show more ...
|
| 29416c0a | 04-Nov-2022 |
Artsiom Koltun <artsiom.koltun@intel.com> |
sma: report device level QoS capabilities for virtio-blk.
Virtio-blk supports one to one mapping between devices and volumes. Based on that, we can report underlying bdev capabilities as device leve
sma: report device level QoS capabilities for virtio-blk.
Virtio-blk supports one to one mapping between devices and volumes. Based on that, we can report underlying bdev capabilities as device level QoS capabilities.
Signed-off-by: Artsiom Koltun <artsiom.koltun@intel.com> Change-Id: If7c28c75d087fecec0105002994581fd7ac57f51 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15260 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
| 25fb8de0 | 23-Sep-2022 |
Artsiom Koltun <artsiom.koltun@intel.com> |
test/sma: add test for multiple bus support for NVMe/vfio_user plugin
Add test to cover issue where device couldn't be found on non-first attached bus.
Signed-off-by: Artsiom Koltun <artsiom.koltun
test/sma: add test for multiple bus support for NVMe/vfio_user plugin
Add test to cover issue where device couldn't be found on non-first attached bus.
Signed-off-by: Artsiom Koltun <artsiom.koltun@intel.com> Change-Id: Ie876596c56a08a6f9b5c8b2283dfd6399fd8fffd Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14652 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: <sebastian.brzezinka@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 4291ed51 | 02-Sep-2022 |
Sebastian Brzezinka <sebastian.brzezinka@intel.com> |
sma: support bdev-based QoS for vhost_blk devices
test/sma verifies that bdev-based QoS settings are correctly applied on vhost devices.
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@inte
sma: support bdev-based QoS for vhost_blk devices
test/sma verifies that bdev-based QoS settings are correctly applied on vhost devices.
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Change-Id: I1b66275dcf457295e6ae58814f1d08ed319fb52a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14338 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| dfc54617 | 02-Sep-2022 |
Sebastian Brzezinka <sebastian.brzezinka@intel.com> |
sma: support bdev-based QoS for NVMe/vfiouser devices
test/sma verifies that bdev-based QoS settings are correctly applied on vfio-user devices.
Signed-off-by: Sebastian Brzezinka <sebastian.brzezi
sma: support bdev-based QoS for NVMe/vfiouser devices
test/sma verifies that bdev-based QoS settings are correctly applied on vfio-user devices.
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Change-Id: I0109bfdbcb95d6e683c45c3dbdb2c3c175f10aa2 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14337 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
| 045152b2 | 30-Aug-2022 |
Konrad Sztyber <konrad.sztyber@intel.com> |
test/sma: quality of service test
The test verifies that bdev-based QoS settings are correctly applied on NVMe/TCP devices. Other device types supporting bdev-based QoS will share most of the code,
test/sma: quality of service test
The test verifies that bdev-based QoS settings are correctly applied on NVMe/TCP devices. Other device types supporting bdev-based QoS will share most of the code, so NVMe/TCP is a good test vehicle, as it's the easiest one to set up.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ic715483e888a7219fd27367d527201d75e8b69a2 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14270 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| d326389d | 31-Aug-2022 |
Sebastian Brzezinka <sebastian.brzezinka@intel.com> |
test/sma: use smaller indention for the JSONs
Both tests sma/vhost_blk.sh and sma/vfiouser_qemu.sh use two spaces indention for JSON
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.co
test/sma: use smaller indention for the JSONs
Both tests sma/vhost_blk.sh and sma/vfiouser_qemu.sh use two spaces indention for JSON
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Change-Id: I59aedabe40852d45a606c82a875a49a182137f91 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14293 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| 9f0d4f33 | 11-Aug-2022 |
Sebastian Brzezinka <sebastian.brzezinka@intel.com> |
test/sma: vhost_blk create cntrl with crypto bdev
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Change-Id: I72c1340d927101d171509b1a42c4f14c0f7dc3e9 Reviewed-on: https://review.
test/sma: vhost_blk create cntrl with crypto bdev
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Change-Id: I72c1340d927101d171509b1a42c4f14c0f7dc3e9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13998 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| 7cefe7f6 | 11-Aug-2022 |
Sebastian Brzezinka <sebastian.brzezinka@intel.com> |
test/sma: vfiouser attach crypto bdev
The test uses bdev_crypto and vfiouser devices to verify that volumes with crypto parameters are correctly attached
Signed-off-by: Sebastian Brzezinka <sebasti
test/sma: vfiouser attach crypto bdev
The test uses bdev_crypto and vfiouser devices to verify that volumes with crypto parameters are correctly attached
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Change-Id: I9abed43f3df803870af11d7f28601f5f9390474c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13997 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| a70732c9 | 11-Aug-2022 |
Sebastian Brzezinka <sebastian.brzezinka@intel.com> |
test/sma: move crypto helper function to common.sh
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Change-Id: I55d58a5959d5b67d99c2e2dfd9ea787a1e31b023 Reviewed-on: https://review
test/sma: move crypto helper function to common.sh
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Change-Id: I55d58a5959d5b67d99c2e2dfd9ea787a1e31b023 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13996 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| 30ff5c6f | 04-Aug-2022 |
Konrad Sztyber <konrad.sztyber@intel.com> |
test/sma: crypto test
The test uses bdev_crypto and NVMe/TCP devices to verify that volumes with crypto parameters are correctly attached and any errors are handled as intended.
It starts up two sp
test/sma: crypto test
The test uses bdev_crypto and NVMe/TCP devices to verify that volumes with crypto parameters are correctly attached and any errors are handled as intended.
It starts up two spdk_tgt processes, one is being orchestrated by SMA and the other one acts as an NVMe-oF target. This ensures that we can verify that SMA terminates discovery service connections whenever a failure occurs during crypto setup.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I74001c256d4a05d2d8d295fb6fd8375d30ab66a1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13873 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 ...
|
| cc3f842c | 01-Aug-2022 |
Konrad Sztyber <konrad.sztyber@intel.com> |
sma: initial crypto definitions
This patch defines the interface for crypto engines, which provide support for configuring crypto on a given volume. Only a single crypto engine can be active at a t
sma: initial crypto definitions
This patch defines the interface for crypto engines, which provide support for configuring crypto on a given volume. Only a single crypto engine can be active at a time and it's selected in the "crypto" section of the config file. Similarly to device managers, external crypto engines can be loaded from plugins.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Id942ef876e070816827d7ad1937eb510a85c8f8d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13869 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: <sebastian.brzezinka@intel.com>
show more ...
|