|
Revision tags: v25.01-rc1, v24.09, v25.01-pre, v24.09-rc1 |
|
| #
cb7af50c |
| 03-Jun-2024 |
Michal Berger <michal.berger@intel.com> |
test/common: Commonize get_block_dev*() functions
Adjust get_nvme_name_from_bdf() so it calls to get_block_dev_from_nvme().
Change-Id: If5f0eb573878a42e0ad0ab0453c73d39cbdf6020 Signed-off-by: Micha
test/common: Commonize get_block_dev*() functions
Adjust get_nvme_name_from_bdf() so it calls to get_block_dev_from_nvme().
Change-Id: If5f0eb573878a42e0ad0ab0453c73d39cbdf6020 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23508 Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Marek Chomnicki <marek.chomnicki@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| #
2635e73d |
| 15-Jul-2024 |
Michal Berger <michal.berger@intel.com> |
scripts/setup: Try to gracefully handle unsupported nic_uio devices
Under FreeBSD, since we perform a full nic_uio|contigmem reload, we may affect devices which are not directly supported by the set
scripts/setup: Try to gracefully handle unsupported nic_uio devices
Under FreeBSD, since we perform a full nic_uio|contigmem reload, we may affect devices which are not directly supported by the setup.sh.
To mitigate it, try to lookup kernel environment to see if loader already provides setup for "extra" devices. If so, bail and allow to continue only when new $FORCE_NIC_UIO_REBIND var is passed.
When $FORCE_NIC_UIO_REBIND is passed, the list of devices to set via hw.nic_uio.bdfs will include all the "extra" devices to make sure they are reconfigured as well after the driver's reload - this includes the 'reset' mode.
Change-Id: I9f1b7784e3cd03c5e7cb4867970e206b6e04bd13 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24175 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <jim.harris@samsung.com>
show more ...
|
|
Revision tags: v24.05, v24.09-pre, v24.05-rc1 |
|
| #
443e1ea3 |
| 05-Apr-2024 |
Jim Harris <jim.harris@samsung.com> |
setup.sh: emit command line to /dev/kmsg on Linux
This can help delineate kernel log messages as result of running setup.sh vs. other reasons.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Cha
setup.sh: emit command line to /dev/kmsg on Linux
This can help delineate kernel log messages as result of running setup.sh vs. other reasons.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I9b523a0dc54975beca121696ab33c264a430a1d2 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22673 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Michal Berger <michal.berger@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
| #
7014f640 |
| 04-Apr-2024 |
Michal Berger <michal.berger@intel.com> |
scripts/setup: Add support for $DEV_TYPE
This var should hold a pattern matching any of the supported types. In case of a match, only given type of devices would be acted on. extglob patterns are al
scripts/setup: Add support for $DEV_TYPE
This var should hold a pattern matching any of the supported types. In case of a match, only given type of devices would be acted on. extglob patterns are allowed as well for more flexibility, e.g.:
$ DEV_TYPE=@(nvme|virtio) ./scripts/setup.sh status
Change-Id: Ia526fdafcd6456555b5dde5ddce82021426c1400 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22583 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
|
Revision tags: LTS, v24.01, v24.05-pre, v24.01-rc1 |
|
| #
4f8177b5 |
| 15-Dec-2023 |
Michal Berger <michal.berger@intel.com> |
scripts: Commonize routines for creating map of supported devices
It may be useful to have these outside of setup.sh for various use-cases, e.g. VMD handling.
This comes with several enhancements:
scripts: Commonize routines for creating map of supported devices
It may be useful to have these outside of setup.sh for various use-cases, e.g. VMD handling.
This comes with several enhancements:
- drop of the redundant driver lookup; using solely pci_bus_driver[] - more detailed message regarding the VMD setup and nvme drives that may be behind it
Change-Id: I5d5289fa8af435d036b75ac1fdcf9fa5ad7e53bf Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21063 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
| #
3ac0a6ed |
| 07-Dec-2023 |
Michal Berger <michal.berger@intel.com> |
scripts/common: Wrap iommu check in is_iommu_enabled()
Change-Id: Id04820450aa3478621f01bbdbd18937da28d9bd8 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io
scripts/common: Wrap iommu check in is_iommu_enabled()
Change-Id: Id04820450aa3478621f01bbdbd18937da28d9bd8 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20956 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot
show more ...
|
| #
c5c065e9 |
| 07-Dec-2023 |
Michal Berger <michal.berger@intel.com> |
scripts/common: Add iommu_groups info to pci cache
Change-Id: Ide868b1d0aec30dfeb281531102c0d465e53a87a Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/ger
scripts/common: Add iommu_groups info to pci cache
Change-Id: Ide868b1d0aec30dfeb281531102c0d465e53a87a Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20959 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
|
Revision tags: v23.09, v24.01-pre, v23.09-rc1 |
|
| #
1e46e023 |
| 06-Sep-2023 |
Maciej Mis <maciej.mis@intel.com> |
go/rpc: Build configuration for go-rpc folder
Introduces new flags in configuration: --with-golang --without-golang
Change-Id: I5783b4ddfa53fc34ef7e921a6ee2aae0f4aadd44 Signed-off-by: Maciej Mis <m
go/rpc: Build configuration for go-rpc folder
Introduces new flags in configuration: --with-golang --without-golang
Change-Id: I5783b4ddfa53fc34ef7e921a6ee2aae0f4aadd44 Signed-off-by: Maciej Mis <maciej.mis@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19774 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| #
73517575 |
| 25-Aug-2023 |
Michal Berger <michal.berger@intel.com> |
scripts/common: Simplify block_in_use()'s data check
Change-Id: I01595e8a796a11c5637bb671ead1a28f6fe9b0a7 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/g
scripts/common: Simplify block_in_use()'s data check
Change-Id: I01595e8a796a11c5637bb671ead1a28f6fe9b0a7 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19553 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
|
Revision tags: v23.05, v23.09-pre |
|
| #
9ad576c6 |
| 10-May-2023 |
Michal Berger <michal.berger@intel.com> |
scripts/common: Include pci dev's driver in cache_pci_bus_lspci()
Change-Id: I6a96b2fe7d265159af81ab55753e9aa1f723b543 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://rev
scripts/common: Include pci dev's driver in cache_pci_bus_lspci()
Change-Id: I6a96b2fe7d265159af81ab55753e9aa1f723b543 Signed-off-by: Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17994 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> 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 ...
|
|
Revision tags: v23.01.1, v23.01, v23.05-pre, v23.01-rc1 |
|
| #
3a39d90b |
| 13-Jan-2023 |
Jim Harris <james.r.harris@intel.com> |
bdev_gpt: add new SPDK partition type for off-by-one fix
The gpt bdev module has an off-by-one error. When it calculates the size of the partition, it simply does "end - start", when really it shou
bdev_gpt: add new SPDK partition type for off-by-one fix
The gpt bdev module has an off-by-one error. When it calculates the size of the partition, it simply does "end - start", when really it should be "end - start + 1".
We cannot just fix it by changing the math here, any consumers of the partition may have put down metadata on the partition based on the old size.
So instead add a new SPDK partition type. SPDK will keep the existing off-by-one behavior when it finds the old partition type, but will use the correct math when finding the new partition type.
Fixes issue #2801.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I48eb48c781f1968b59e52b4477ca45e9c81eac11 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16298 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Mike Gerdts <mgerdts@nvidia.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
|
Revision tags: v22.01.2 |
|
| #
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 ...
|
|
Revision tags: v22.09, v23.01-pre, v22.09-rc1 |
|
| #
7201d0e6 |
| 06-Jun-2022 |
Michal Berger <michallinuxstuff@gmail.com> |
scripts/common: Adjust handling of the pciconf output under FreeBSD 13.x
The pci address needs to interpreted "as is" (base-10) and not converted to hexadecimal notation. Also, the number of fields
scripts/common: Adjust handling of the pciconf output under FreeBSD 13.x
The pci address needs to interpreted "as is" (base-10) and not converted to hexadecimal notation. Also, the number of fields also changed where under newer pciconf, vendor and device IDs are provided under separate fields.
Signed-off-by: Michal Berger <michallinuxstuff@gmail.com> Change-Id: Ie540f11b9cde2dbbfe15a6aa449c4eab151c81d8 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12914 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
|
Revision tags: v22.05, v22.09-pre, v22.05-rc1, v22.01.1, v22.01 |
|
| #
c733cd68 |
| 24-Jan-2022 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
scripts/common: set special name to test partitions
SPDK test script can fail during any point of the execution. To keep using the same devices between test runs in CI, those devices have to be clea
scripts/common: set special name to test partitions
SPDK test script can fail during any point of the execution. To keep using the same devices between test runs in CI, those devices have to be cleaned between runs.
To select device for tests or to clean before tests, the partition table and lack of mount points is used. SPDK GPT partitions were always considered not in use. Meanwhile Linux GPT were not, even if lacking a mount point.
Some of the SPDK tests create Linux GPT partitions, which might remain after a test run.
Linux GPT partitions created during tests now contain "SPDK_TEST" as part of their partition name. This allows marking such block devices as 'not in use', to be cleaned and used in further SPDK test.
fixes #2345
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I0098776239da9b0c5dcc748625485284e4863525 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11220 Reviewed-by: Michal Berger <michallinuxstuff@gmail.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Pawel Piatek <pawelx.piatek@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
|
Revision tags: v22.01-rc1, v21.10, v21.10-rc1 |
|
| #
b7947268 |
| 26-Aug-2021 |
Michal Berger <michalx.berger@intel.com> |
scripts/common: Extract SPDK_GPT_PART_TYPE_GUID from source
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: Id22c28c46a5fbdf5bd76b31d16f07f2672dfe14e Reviewed-on: https://review.s
scripts/common: Extract SPDK_GPT_PART_TYPE_GUID from source
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: Id22c28c46a5fbdf5bd76b31d16f07f2672dfe14e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9306 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@gmail.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
| #
76f840c0 |
| 25-Aug-2021 |
Michal Berger <michalx.berger@intel.com> |
autotest: Check if nvme devices are in use before the wipe
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: I4f838df0bfb91398eb5d179a982165adb8af3476 Reviewed-on: https://review.sp
autotest: Check if nvme devices are in use before the wipe
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: I4f838df0bfb91398eb5d179a982165adb8af3476 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9291 Reviewed-by: Konrad Sztyber <konrad.sztyber@gmail.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
|
Revision tags: v21.07, v21.07-rc1, v21.04, v21.04-rc1 |
|
| #
5a21edf4 |
| 29-Mar-2021 |
Nick Connolly <nick.connolly@mayadata.io> |
scripts: add autotest support for Windows
Source Windows specific definitions from common.sh. These adjust uname to report the operating system as WSL, Msys or Cygwin and the kernel name as Windows.
scripts: add autotest support for Windows
Source Windows specific definitions from common.sh. These adjust uname to report the operating system as WSL, Msys or Cygwin and the kernel name as Windows. They also define kill() to invoke the SIGTERM handler before causing a hard stop with TerminateProcess.
Adjust the ordering of the 'source' commands in autotest_common.sh so that the config definitions are available when common.sh is loaded. Define MAKE, MAKEFLAGS and HUGEMEM for Windows.
Signed-off-by: Nick Connolly <nick.connolly@mayadata.io> Change-Id: I130b892ee55c925a0b033bda271a29133993afb7 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7101 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: Aleksey Marchuk <alexeymar@mellanox.com>
show more ...
|
| #
9b3773db |
| 11-May-2021 |
Michal Berger <michalx.berger@intel.com> |
scripts/common: Cache pci modalias
Additionally, include the first resolved alias of the module.
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: I71c7c15398ea36f3dea3340f5c98568f
scripts/common: Cache pci modalias
Additionally, include the first resolved alias of the module.
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: I71c7c15398ea36f3dea3340f5c98568ff6b6a68a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7848 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 ...
|
| #
5f61a0c9 |
| 11-May-2021 |
Michal Berger <michalx.berger@intel.com> |
scripts/common: Cache the pci driver
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: Ie0ab6b31757b0446c697f59bfc789e78207b6e34 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/sp
scripts/common: Cache the pci driver
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: Ie0ab6b31757b0446c697f59bfc789e78207b6e34 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7847 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 ...
|
|
Revision tags: v21.01.1, v21.01, v21.01-rc1 |
|
| #
a1280c98 |
| 25-Nov-2020 |
Jim Harris <james.r.harris@intel.com> |
scripts: replace PCI_WHITELIST with PCI_ALLOWED
Similarly replace PCI_BLACKLIST with PCI_BLOCKED.
Use of ALLOWED/BLOCKED matches similar changes made in DPDK.
While here, replace use of term "blac
scripts: replace PCI_WHITELIST with PCI_ALLOWED
Similarly replace PCI_BLACKLIST with PCI_BLOCKED.
Use of ALLOWED/BLOCKED matches similar changes made in DPDK.
While here, replace use of term "blacklist" with "blocked" in one of the nvme perf scripts. The usage there was associated with how devices are blocked by using the environment variables that are changed by this patch.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I720d99118ba5e050f436612c9fd415db44294a63 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5275 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: Changpeng Liu <changpeng.liu@intel.com>
show more ...
|
| #
86eadb4d |
| 03-Nov-2020 |
Michal Berger <michalx.berger@intel.com> |
scripts/common: Change name of the cmp() function
It could potentially override cmp binary, causing failures in some of the tests.
Change-Id: Ia0bd88222c60e5b8a13d3809a6213b457b887b41 Signed-off-b
scripts/common: Change name of the cmp() function
It could potentially override cmp binary, causing failures in some of the tests.
Change-Id: Ia0bd88222c60e5b8a13d3809a6213b457b887b41 Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5005 Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
|
Revision tags: v20.10, v20.10-rc1 |
|
| #
77c4d0f6 |
| 21-Oct-2020 |
Michal Berger <michalx.berger@intel.com> |
scripts/common: Add functions for comparing version strings
This is introduced mainly for convenience. Examples of supported usage:
eq 0xf.1 15.1 # true gt 1.1.00 2 # false le 2.33.4 2.44.02 # true
scripts/common: Add functions for comparing version strings
This is introduced mainly for convenience. Examples of supported usage:
eq 0xf.1 15.1 # true gt 1.1.00 2 # false le 2.33.4 2.44.02 # true ge 03.03.03 3.3.01 # true lt 1 0 # false ge 4.19.0-6-amd64 4.10.0-6-amd64 # true neq 0.0 0 # false
Change-Id: Iac05fce03bfe95f85ab1c8a7c24c4553ffc6776a Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4808 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 ...
|
| #
13d01bed |
| 14-Oct-2020 |
Michal Berger <michalx.berger@intel.com> |
scripts/common: Use proper format of the pci address for pciconf
If devices are not picked up from the cache, iter_all_pci_class_code() will pick lspci in first instance to iterate over the pci bus.
scripts/common: Use proper format of the pci address for pciconf
If devices are not picked up from the cache, iter_all_pci_class_code() will pick lspci in first instance to iterate over the pci bus. If said tool is installed on FreeBSD, it will return BDFs in format which won't be understood by pciconf (which is used to determine which driver given device is bound to):
pciconf: cannot parse selector pci0000:00:06.0
To make sure pciconf understands the argument it's given, simply replace .function with :function (0000:00:06.0 -> 0000:00:06:0).
Change-Id: I59d4f7050c65df99626a3d449aa0a5bb122d4081 Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4665 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 ...
|
| #
d2cbb15c |
| 27-Aug-2020 |
Michal Berger <michalx.berger@intel.com> |
scripts/common: Don't cache pci vendor,device ids separately
On its own these values don't uniquely identify a particular pci device, hence there's no much point in storing them like so.
Change-Id:
scripts/common: Don't cache pci vendor,device ids separately
On its own these values don't uniquely identify a particular pci device, hence there's no much point in storing them like so.
Change-Id: Icc5cfec28fcccae6cd935dff03fe3ef01826edc4 Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3950 Community-CI: Mellanox Build Bot 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 ...
|
|
Revision tags: v20.07, v20.07-rc1 |
|
| #
35babade |
| 23-Jun-2020 |
Michal Berger <michalx.berger@intel.com> |
scripts/common: Use separate function for nvme driver lookup
Check if given pci address is bound to nvme driver via a separate function - this makes the task of getting list of the nvme devices that
scripts/common: Use separate function for nvme driver lookup
Check if given pci address is bound to nvme driver via a separate function - this makes the task of getting list of the nvme devices that can be used in tests a bit easier since we don't have to relay on, e.g., gen_nvme.sh where the extra step to get said devices is to parse the actual config.
Change-Id: I1f15f08a3678c0c41b051348af259e225356c340 Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3014 Community-CI: Mellanox Build Bot 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: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|