Revision tags: v25.01-rc1, v24.09, v25.01-pre, v24.09-rc1 |
|
#
40c9acf6 |
| 12-Jul-2024 |
Jim Harris <jim.harris@samsung.com> |
env: add spdk_mem_get_numa_id
This returns the NUMA node ID associated with the specified memory buffer. It will be used in future patches for returning buffers to their respective per-NUMA node mem
env: add spdk_mem_get_numa_id
This returns the NUMA node ID associated with the specified memory buffer. It will be used in future patches for returning buffers to their respective per-NUMA node memory pools.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: Ia7f542b75d0e6d21ac414e45c4130780c060555c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24201 Reviewed-by: Ben Walker <ben@nvidia.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com>
show more ...
|
#
96168f45 |
| 28-Jun-2024 |
Jim Harris <jim.harris@samsung.com> |
env: pack and assert size for spdk_env_opts
This prepares for adding a size parameter to this structure so it can be safely ABI versioned.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-
env: pack and assert size for spdk_env_opts
This prepares for adding a size parameter to this structure so it can be safely ABI versioned.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I3b46480b7f23c588c696e53dc719cb7c66da01fb Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23939 Community-CI: Mellanox Build Bot 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 ...
|
Revision tags: v24.05 |
|
#
2d610abe |
| 23-May-2024 |
Changqi Lu <luchangqi.123@bytedance.com> |
lib/env_dpdk: add spdk_get_tid function
Function spdk_get_tid is added to get the tid of the current thread.
Change-Id: I6c13f86a543231391a6f48b3e111ee76ce73df57 Signed-off-by: Changqi Lu <luchangq
lib/env_dpdk: add spdk_get_tid function
Function spdk_get_tid is added to get the tid of the current thread.
Change-Id: I6c13f86a543231391a6f48b3e111ee76ce73df57 Signed-off-by: Changqi Lu <luchangqi.123@bytedance.com> Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23389 Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
Revision tags: v24.09-pre, v24.05-rc1, LTS, v24.01 |
|
#
355312bf |
| 26-Jan-2024 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
so_ver: increase all major versions after SPDK 24.01
To allow SO_MINOR updates on LTS for the whole year it is supported, the major version for all components needs to be increased. This is to preve
so_ver: increase all major versions after SPDK 24.01
To allow SO_MINOR updates on LTS for the whole year it is supported, the major version for all components needs to be increased. This is to prevent scenario where two versions exists with matching versions, but conflicting ABI. Ex. Next SPDK release adds an API call increasing the minor version, then LTS needs just a subset of those additions.
Increasing major so version after LTS, allows the future releases to update versions as needed. Yet allowing LTS to increase minor version separately.
This patch: - increases SO_VER by 1 for all components - resets SO_MINOR to 0 for all components
Due to patch below being introduced after v24.01 code freeze, bdev lib version should not be increased: 61623c5ca9 bdev: add spdk_bdev_io padding in place of io_submit_ch
Short reference to how the versions were changed: MAX=$(git grep "SO_VER := " | cut -d" " -f 3 | sort -ubnr | head -1) for((i=$MAX;i>0;i-=1)); do find . -name "Makefile" -exec \ sed -i -e "s/SO_VER := $i\$/SO_VER := $(($i+1))/g" {} +; done find . -name "Makefile" -exec \ sed -i -e "s/SO_MINOR := .*/SO_MINOR := 0/g" {} +
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I0166d6be6c17bbbf985d48b5dfcb36f1d4af1b48 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21582 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
Revision tags: v24.05-pre, v24.01-rc1 |
|
#
a6658c54 |
| 03-Oct-2023 |
Sarvesh Lanke <sarvesh.lanke@nutanix.com> |
env_dpdk: Add an option to run without huge pages.
This change adds a new SPDK commandline parameter "--no-huge", which allows to run SPDK without huge pages. This is useful to run NVMf with tcp/ip
env_dpdk: Add an option to run without huge pages.
This change adds a new SPDK commandline parameter "--no-huge", which allows to run SPDK without huge pages. This is useful to run NVMf with tcp/ip configuration. Tested this by running a NVMf test over TCP between target and host. Configured the NVMf target to run SPDK without hugepages by passing the "no-huge" parameter. Then configured the NVMf host and connected it to the target over TCP transport and verified that the subsystem is getting exposed. Modified existing NVMf tests to accept "--no-hugepages" parameter and verified functionality by running those tests.
Fixes #2973
Change-Id: I68773bc6c818e5fc5173142213c3928fcbca96c8 Signed-off-by: Sarvesh Lanke <sarvesh.lanke@nutanix.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20171 Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Michal Berger <michal.berger@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Abhineet Pandey <abhineet.pandey@nutanix.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
#
3a501549 |
| 10-Nov-2023 |
Jim Harris <jim.harris@samsung.com> |
env_dpdk/Makefile: use _uniq for pkg-config file
Including rte_net twice in DPDK_LIB_LIST results in it also getting added twice to the spdk_env_dpdk.pc pkg-config file.
Some (most?) pkg-config ver
env_dpdk/Makefile: use _uniq for pkg-config file
Including rte_net twice in DPDK_LIB_LIST results in it also getting added twice to the spdk_env_dpdk.pc pkg-config file.
Some (most?) pkg-config versions will detect the duplicate entry and squash it. But some don't, which results in multiple definition errors when linking using pkg-config to get the library lists.
The native SPDK build uses a make function "_uniq" to remove these duplicates. Use that same function here to remove any duplicates for pkg-config file generation.
Fixes issue #3177. Fixes f961b3233 ("env/dpdk: add rte_net dependency to vhost")
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: If18c91aaa7a695903a595ebef0be1c07fa52316d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20561 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
Revision tags: v23.09, v24.01-pre, v23.09-rc1, v23.05, v23.09-pre, v23.01.1, v23.01 |
|
#
3359bf34 |
| 23-Jan-2023 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
so_ver: increase all major versions
To allow SO_MINOR updates on LTS for the whole year it is supported, the major version for all components needs to be increased. This is to prevent scenario where
so_ver: increase all major versions
To allow SO_MINOR updates on LTS for the whole year it is supported, the major version for all components needs to be increased. This is to prevent scenario where two versions exists with matching versions, but conflicting ABI. Ex. Next SPDK release adds an API call increasing the minor version, then LTS needs just a subset of those additions.
Increasing major so version after LTS, allows the future releases to update versions as needed. Yet allowing LTS to increase minor version separately.
Disabled test for increasing SO version without ABI change, as that is goal of this patch. This check shall be removed with SPDK 23.05 release. Looks like this was left over from prior LTS, to avoid that make sure it is only skipped when running against v23.01.x as latest release.
This patch: - increases SO_VER by 1 for all components - resets SO_MINOR to 0 for all components - removes suppressions for ABI tests
Short reference to how the versions were changed: MAX=$(git grep "SO_VER := " | cut -d" " -f 3 | sort -ubnr | head -1) for((i=$MAX;i>0;i-=1)); do find . -name "Makefile" -exec \ sed -i -e "s/SO_VER := $i\$/SO_VER := $(($i+1))/g" {} +; done find . -name "Makefile" -exec \ sed -i -e "s/SO_MINOR := .*/SO_MINOR := 0/g" {} +
Change-Id: I3e5681802c0a5ac6d7d652a18896997cd07cc8bf Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16419 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 ...
|
Revision tags: v23.05-pre, v23.01-rc1, v22.01.2, v22.09, v23.01-pre, v22.09-rc1 |
|
#
86431df1 |
| 08-Sep-2022 |
Jun Zeng <jun1.zeng@intel.com> |
lib/env_dpdk: Add support for vfio-vf-token parameter
The kernel vfio_pci driver module introduced vf_token checking mechanism since kernel version 5.7, and has been supported by DPDK. So add suppor
lib/env_dpdk: Add support for vfio-vf-token parameter
The kernel vfio_pci driver module introduced vf_token checking mechanism since kernel version 5.7, and has been supported by DPDK. So add support for it to deal with the scenario of VF.
Signed-off-by: Jun Zeng <jun1.zeng@intel.com> Change-Id: Ie9700fa395327da4e847c6213167284c148a64e3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14424 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.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 ...
|
#
5497616e |
| 15-Sep-2022 |
Jim Harris <james.r.harris@intel.com> |
env_dpdk: add support for DPDK 22.11
DPDK has merged changes which hide remove some DPDK object such as rte_device and rte_driver from the public API.
So we add copies of the necessary header files
env_dpdk: add support for DPDK 22.11
DPDK has merged changes which hide remove some DPDK object such as rte_device and rte_driver from the public API.
So we add copies of the necessary header files into our tree, along with a 22.11-specific pci_dpdk implementation.
These files are copied over exactly, except for one #include which needs to change from <> to "" so that it picks up the header in our tree instead of looking for it in system headers.
Longer-term we may want to look at ways to automated checking and updating of these header files. DPDK 22.11 isn't officially released yet, so the header files could change, but we want to get this in now since without it SPDK cannot build against DPDK tip at all.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I89ffd0abab52c404cfff911c1c9b0cd9e889241d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14570 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
show more ...
|
#
a25a834a |
| 22-Sep-2022 |
Jim Harris <james.r.harris@intel.com> |
env_dpdk: move <=22.07 specific code to pci_dpdk_2207.c
Get ready to have multiple implementations of the dpdk_fn_table. We could do some fancy self-registering constructor functions, but let's jus
env_dpdk: move <=22.07 specific code to pci_dpdk_2207.c
Get ready to have multiple implementations of the dpdk_fn_table. We could do some fancy self-registering constructor functions, but let's just keep it simple for now and extern declare each implementation in the pci_dpdk.h header file.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I8f5621412d1c8bd22c95ab74ef66c5bcc41d1380 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14636 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
#
11313c20 |
| 15-Sep-2022 |
Jim Harris <james.r.harris@intel.com> |
env_dpdk: move dpdk pci code to pci_dpdk.c/h
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I54489903f48a8a2e500f64c2e7f8530eed1e6882 Reviewed-on: https://review.spdk.io/gerrit/c/sp
env_dpdk: move dpdk pci code to pci_dpdk.c/h
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I54489903f48a8a2e500f64c2e7f8530eed1e6882 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14548 Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
#
4b08c07a |
| 04-Aug-2022 |
Konrad Sztyber <konrad.sztyber@intel.com> |
env/pci: call driver callback in pci_hook_device
Now that we have a attach_device() callback, the devices can be hooked during spdk_pci_device_attach(). With DPDK, driver->cb_fn() is called in pci_
env/pci: call driver callback in pci_hook_device
Now that we have a attach_device() callback, the devices can be hooked during spdk_pci_device_attach(). With DPDK, driver->cb_fn() is called in pci_device_init(), so we need to do the same in spdk_pci_hook_device().
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Iada8b83ce7592aa62561530192072a50ec3a904b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13884 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tom Nabarro <tom.nabarro@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
#
b20f3678 |
| 05-Aug-2022 |
Konrad Sztyber <konrad.sztyber@intel.com> |
env/pci: method for registering PCI device providers
The primary motivation for this patch is to allow the VMD driver to be notified of when users wants to attach a device under a given BDF and to m
env/pci: method for registering PCI device providers
The primary motivation for this patch is to allow the VMD driver to be notified of when users wants to attach a device under a given BDF and to make it more similar to the regular PCI path. Currently, the way the VMD driver scans for the devices is a little bit different. The initial scan is done during initialization and there's a separate poller for checking hotplugs. Also, there's no device_attach() interface, so with hotplug poller disabled, it isn't possible to attach to a device not present in the initial scan, even if the BDF is known.
This causes a few issues. First of all, the VMD library isn't notified when a device is stopped being used (i.e. user calls spdk_pci_device_detach()), so when such a device is hotremoved, it never gets unhooked. But we cannot simply add a spdk_pci_device.detach() callback, as this would break cases when user detaches a device (without hotremove) and then tries to reattach it again (via spdk_pci_device_attach()), as the VMD doesn't get notified about the device_attach() call.
So, in order to resolve this, a device_attach() callback is added, which will notify the VMD library that the user wants to attach a device under a specific PCI address. Then, in subsequent patches, a spdk_pci_device_provider.detach_cb() callback is added to make sure that devices are unhooked once they're no longer used.
Once that is done, it'll be also possible to get rid of the VMD hotplug poller by adding something like scan_cb() to spdk_pci_device_provider and call it from spdk_pci_enumerate().
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I084a27dcd12455f0f841440b7692375e80d07e84 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13883 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: Tom Nabarro <tom.nabarro@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.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: v22.05, v22.09-pre, v22.05-rc1, v22.01.1 |
|
#
047c067c |
| 31-Jan-2022 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
so_ver: increase all major versions
To allow SO_MINOR updates on LTS for the whole year it is supported, the major version for all components needs to be increased. This is to prevent scenario where
so_ver: increase all major versions
To allow SO_MINOR updates on LTS for the whole year it is supported, the major version for all components needs to be increased. This is to prevent scenario where two versions exists with matching versions, but conflicting ABI. Ex. Next SPDK release adds an API call increasing the minor version, then LTS needs just a subset of those additions.
Increasing major so version after LTS, allows the future releases to update versions as needed. Yet allowing LTS to increase minor version separately.
Disabled test for increasing SO version without ABI change, as that is goal of this patch. This check shall be removed with SPDK 22.05 release.
This patch: - increases SO_VER by 1 for all components - resets SO_MINOR to 0 for all components - removes suppressions for ABI tests
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Id1a5358882dc496faa5b0b5c9a63b326c378c551 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11361 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
Revision tags: v22.01, v22.01-rc1 |
|
#
2b65309b |
| 10-Dec-2021 |
Jim Harris <james.r.harris@intel.com> |
env: remove spdk_pci_get_[first|next]_device
These APIs are not safe, since they do not hold the pci device lock across calls, which can cause problems if a device is inserted or removed while handl
env: remove spdk_pci_get_[first|next]_device
These APIs are not safe, since they do not hold the pci device lock across calls, which can cause problems if a device is inserted or removed while handles returned by these APIs are being used.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I01a80f26d0a0ca4cdfc7181359932b38da8dd43a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10659 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
#
13fbf885 |
| 10-Dec-2021 |
Jim Harris <james.r.harris@intel.com> |
env: add spdk_pci_for_each_device
This is a safer alternative to spdk_pci_get_first/next_device, since those APIs do not hold the lock between calls.
Future patches will remove those APIs, and chan
env: add spdk_pci_for_each_device
This is a safer alternative to spdk_pci_get_first/next_device, since those APIs do not hold the lock between calls.
Future patches will remove those APIs, and change callers to use this new API instead.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I71c7e8c1feb9112da8be32a8056b30e105e30463 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10655 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
Revision tags: v21.10, v21.10-rc1, v21.07, v21.07-rc1 |
|
#
7232c450 |
| 15-Jun-2021 |
Michal Berger <michalx.berger@intel.com> |
configure: Build against installed DPDK instance
Interpret bare --with-dpdk opt as user's request to find installed (provided by the distro) DPDK's libs|include files and use them during the build.
configure: Build against installed DPDK instance
Interpret bare --with-dpdk opt as user's request to find installed (provided by the distro) DPDK's libs|include files and use them during the build.
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: I9da99671b95af0121194b3a6d53636b0ded71f1b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8348 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Tom Nabarro <tom.nabarro@intel.com> Reviewed-by: <tomasz.rochumski@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
#
c4fafdb2 |
| 14-Jun-2021 |
Jim Harris <james.r.harris@intel.com> |
env: only pass failing address to spdk_pci_error_handler
siginfo_t is a GNU extension. SPDK (and DPDK) have direct dependencies on GNU extensions, but it's a bit nicer if external modules don't als
env: only pass failing address to spdk_pci_error_handler
siginfo_t is a GNU extension. SPDK (and DPDK) have direct dependencies on GNU extensions, but it's a bit nicer if external modules don't also need to define _GNU_SOURCE. Currently siginfo_t parameter in the spdk_pci_error_handler is the only thing that violates this.
Note that DPDK also supports registering sigbus handlers, but they take the failing address as a parameter instead of the full siginfo_t structure. Let's adopt the same for SPDK.
While here, remove an extra semicolon that was just after the virtio sigbus handler function signature that was updated in this patch.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I07faf11a3ac3589c637cb2196581c102286b1e68 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8333 Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jacek Kalwas <jacek.kalwas@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
Revision tags: v21.04, v21.04-rc1, v21.01.1, v21.01, v21.01-rc1 |
|
#
59237d22 |
| 17-Dec-2020 |
Jin Yu <jin.yu@intel.com> |
lib: add a hotplug lib for device
The hotplug lib can be used for pcie devices such as nvme, virtio_blk and virtio scsi.
For the sigbus handler, there is only one in a process and it should handle
lib: add a hotplug lib for device
The hotplug lib can be used for pcie devices such as nvme, virtio_blk and virtio scsi.
For the sigbus handler, there is only one in a process and it should handle all the devices.
And align nvme to the hotplug lib
Add the ADD uevent support for allowing the device hotplug.
Change-Id: I82cd3b4af38ca24cee8b041a215a85c4a69e60f7 Signed-off-by: Jin Yu <jin.yu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5653 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: <dongx.yi@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.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 ...
|
#
77d4cc6b |
| 18-Feb-2021 |
Jacek Kalwas <jacek.kalwas@intel.com> |
build: fix spdk_env_dpdk.pc creation
instead appending to output file (which occurs on each make execution) sed is used to modify `Requires` section of the *.pc file
Signed-off-by: Jacek Kalwas <ja
build: fix spdk_env_dpdk.pc creation
instead appending to output file (which occurs on each make execution) sed is used to modify `Requires` section of the *.pc file
Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com> Change-Id: I1a8cb1ec35bf583293c7174a413302191bbbd735 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6460 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: Jim Harris <james.r.harris@intel.com>
show more ...
|
#
e4070ee0 |
| 29-Jan-2021 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
so_ver: increase all major versions
To allow SO_MINOR updates on LTS for the whole year it is supported, the major version for all components needs to be increased. This is to prevent scenario where
so_ver: increase all major versions
To allow SO_MINOR updates on LTS for the whole year it is supported, the major version for all components needs to be increased. This is to prevent scenario where two versions exists with matching versions, but conflicting ABI. Ex. Next SPDK release adds an API call increasing the minor version, then LTS needs just a subset of those additions.
Increasing major so version after LTS, allows the quarterly releases to update versions as needed. Yet allowing LTS to increase minor version separately.
Disabled test for increasing SO version without ABI change, as that is goal of this patch. This check shall be removed with SPDK 21.04 release.
This patch: - increases SO_VER by 1 for all components - resets SO_MINOR to 0 for all components - removes suppressions for ABI tests
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I44d01154430a074103bd21c7084f44932e81fe72 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6167 Community-CI: Broadcom CI 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>
show more ...
|
Revision tags: v20.10, v20.10-rc1 |
|
#
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 ...
|