|
Revision tags: v24.05, v24.09-pre, v24.05-rc1, LTS, v24.01, v24.05-pre, v24.01-rc1, v23.09, v24.01-pre, v23.09-rc1, v23.05, v23.09-pre, v23.01.1, v23.01, v23.05-pre, v23.01-rc1, v22.01.2 |
|
| #
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 |
|
| #
40319c0e |
| 03-Jun-2022 |
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> |
app: every app should have an (un)install target
make install should install all apps.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Change-Id: I66c2f4536cb9f4c5bae1895066b
app: every app should have an (un)install target
make install should install all apps.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Change-Id: I66c2f4536cb9f4c5bae1895066be2836038c0672 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12901 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: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@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, v22.01, v22.01-rc1, v21.10, v21.10-rc1 |
|
| #
e0516095 |
| 31-Aug-2021 |
Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
event/vhost: separate vhost subsystem to scsi and blk
Separate out SCSI and BLK vhost subsystems to later add virtio_blk transport abstraction.
This allows for further changes to the vhost_blk, not
event/vhost: separate vhost subsystem to scsi and blk
Separate out SCSI and BLK vhost subsystems to later add virtio_blk transport abstraction.
This allows for further changes to the vhost_blk, not affecting vhost_scsi.
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Id1ecfeafeb936809a479a43c321e13f75cb3d5ad Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9539 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: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
|
Revision tags: v21.07, v21.07-rc1, v21.04, v21.04-rc1, v21.01.1 |
|
| #
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 ...
|
|
Revision tags: v21.01, v21.01-rc1 |
|
| #
d132ee35 |
| 11-Dec-2020 |
Jim Harris <james.r.harris@intel.com> |
build: use DEPDIRS variables to build SPDK_LIB_LIST
All of our Makefiles duplicate huge lists of libraries in SPDK_LIB_LIST. We have a very precise and accurate accounting of the library dependenci
build: use DEPDIRS variables to build SPDK_LIB_LIST
All of our Makefiles duplicate huge lists of libraries in SPDK_LIB_LIST. We have a very precise and accurate accounting of the library dependencies in mk/spdk.lib_deps.mk which can be used to generate the full list if the app specifies the modules and subsystem libraries it wishes to link.
I did a first pass through all of the existing Makefiles to take advantage of this new functionality. There may be more optimizations we can make later but don't want to hold up this patch for all of them.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Icdaf6f749a6908df2c2ce2db22631a4af4ff3a9e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5553 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
|
Revision tags: v20.10, v20.10-rc1 |
|
| #
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 ...
|
| #
ebc227d9 |
| 23-Sep-2020 |
Jim Harris <james.r.harris@intel.com> |
bdev: move bdev_rpc library contents
We have some RPCs defined in the bdev library itself, others in a separate bdev_rpc library. There's no need for the separate library - just move them all into
bdev: move bdev_rpc library contents
We have some RPCs defined in the bdev library itself, others in a separate bdev_rpc library. There's no need for the separate library - just move them all into the bdev library.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I298eedb88924197e64eb315369efb10f402903a5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4364 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
| #
73b483c6 |
| 23-Sep-2020 |
Jim Harris <james.r.harris@intel.com> |
event: move app_rpc contents
There is no need to have the application-level RPCs defined separately from the event library itself (which defines the application framework).
Signed-off-by: Jim Harri
event: move app_rpc contents
There is no need to have the application-level RPCs defined separately from the event library itself (which defines the application framework).
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ic264ed761f5ec1a40d604e63395c5740af4be1a6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4363 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@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 |
|
| #
c5c9a150 |
| 31-Jan-2020 |
Evgeniy Kochetov <evgeniik@mellanox.com> |
make: Create variable for event_bdev dependencies
Signed-off-by: Evgeniy Kochetov <evgeniik@mellanox.com> Change-Id: I7468dd242b83af8b41d72e503c212c1ffac1abd1 Reviewed-on: https://review.spdk.io/ger
make: Create variable for event_bdev dependencies
Signed-off-by: Evgeniy Kochetov <evgeniik@mellanox.com> Change-Id: I7468dd242b83af8b41d72e503c212c1ffac1abd1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/614 Community-CI: Mellanox Build Bot 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 ...
|
| #
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 ...
|
|
Revision tags: v20.01, v20.01-rc1, v19.10.1 |
|
| #
de467ec9 |
| 10-Dec-2019 |
Seth Howell <seth.howell@intel.com> |
env_dpdk/rpc: add rpc to get memory stats.
This will enable us to create a helper applciation to print memory statistics for a given SPDK application.
Change-Id: I0ad5a8163166a5d67d9a5533303ec08582
env_dpdk/rpc: add rpc to get memory stats.
This will enable us to create a helper applciation to print memory statistics for a given SPDK application.
Change-Id: I0ad5a8163166a5d67d9a5533303ec0858297ba6b Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477511 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
|
Revision tags: v19.10, v19.10-rc1, v19.07.1 |
|
| #
bc83adc2 |
| 14-Aug-2019 |
Seth Howell <seth.howell@intel.com> |
lib: move trace_rpc into lib/trace
Combinining these two libraries removes some directory complexity. It also helps us to align on a common practice for including the rpc code with a given module. T
lib: move trace_rpc into lib/trace
Combinining these two libraries removes some directory complexity. It also helps us to align on a common practice for including the rpc code with a given module. This is how all of our bdev modules already do it. The nbd, net, and scsi modules also follow this pattern.
Change-Id: I5e4c99d7f0facacc6dfe30b2274b60e0d151f8d8 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465210 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
|
Revision tags: v19.07 |
|
| #
fd508c14 |
| 27-Jun-2019 |
Wojciech Malikowski <wojciech.malikowski@intel.com> |
app/vhost: Optional VMD enumeration
VMD section with Enable flag set to true need to be defined in config file to enumerate devices behind VMD.
Change-Id: Id22e0b940e789a32507e582efda564adae5beb28
app/vhost: Optional VMD enumeration
VMD section with Enable flag set to true need to be defined in config file to enumerate devices behind VMD.
Change-Id: Id22e0b940e789a32507e582efda564adae5beb28 Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/459642 Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
|
Revision tags: v19.04.1, v19.04, v18.10.2, v19.01.1, v19.01, v18.10.1 |
|
| #
de5f5322 |
| 14-Nov-2018 |
Piotr Pelplinski <piotr.pelplinski@intel.com> |
notify: add notification library
This patch adds library that will provide ability to notify about events. On one side each spdk library can specify what kind of notification it can produce and on t
notify: add notification library
This patch adds library that will provide ability to notify about events. On one side each spdk library can specify what kind of notification it can produce and on the other side libraries can fetch those notifications.
Example is bdev module, which lib notify about added or removed bdev.
Signed-off-by: Ben Walker <benjamin.walker@intel.com> Signed-off-by: Piotr Pelplinski <piotr.pelplinski@intel.com> Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Change-Id: Ia95e564a8a43400b2745d9de8217b9cc84cd1b16 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/431920 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| #
2b846acc |
| 25-Feb-2019 |
Darek Stojaczyk <dariusz.stojaczyk@intel.com> |
configure: add option not to use the internal rte_vhost copy
It's disabled by default, so no functionality is changed yet. The intention is to use the upstream rte_vhost from DPDK, which - starting
configure: add option not to use the internal rte_vhost copy
It's disabled by default, so no functionality is changed yet. The intention is to use the upstream rte_vhost from DPDK, which - starting from DPDK 19.05 - is finally capable of running with storage device backends.
SPDK still requires a lot of changes in order to support that upstream version, but the most fundamental change is dropping vhost-nvme support. It'll remain usable only with the internal rte_vhost copy and with the upstream rte_vhost it simply won't be compiled. This allows us at least to compile with that upstream rte_vhost, where we can pursue adding the full integration.
Change-Id: Ic8bc5497c4d77bfef77c57f3d5a1f8681ffb6d1f Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/446082 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: Changpeng Liu <changpeng.liu@intel.com>
show more ...
|
| #
ae0aae15 |
| 29-Nov-2018 |
Liu Xiaodong <xiaodong.liu@intel.com> |
lib/trace: add 3 RPC method for tpoint_group_mask
Now trace facility can be enabled/disabled at runtime, besides app starting parameters
Change-Id: I086564665ba4375b946a5339d5921d6584e9bfda Signed-
lib/trace: add 3 RPC method for tpoint_group_mask
Now trace facility can be enabled/disabled at runtime, besides app starting parameters
Change-Id: I086564665ba4375b946a5339d5921d6584e9bfda Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com> Reviewed-on: https://review.gerrithub.io/435470 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
| #
5b16c18d |
| 20-Nov-2018 |
Jim Harris <james.r.harris@intel.com> |
build: move app rules to spdk.app.mk
This removes a ton of duplicate from a lot of Makefiles. Note that spdk.unittest.mk still keeps its own app rules, and now just includes spdk.app_vars.mk instea
build: move app rules to spdk.app.mk
This removes a ton of duplicate from a lot of Makefiles. Note that spdk.unittest.mk still keeps its own app rules, and now just includes spdk.app_vars.mk instead. Fixing Makefiles that include this .mk file requires more work that is deferred for now. We do need to add the "install: all" rule explicitly to this .mk files.
Note that Makefiles need to include spdk.app.mk now at the end of the file, so that things like APP and SPDK_LIB_LIST are defined before including it.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: If6823cda135180c37690ffc96c91660b7f0718e3
Reviewed-on: https://review.gerrithub.io/434283 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
| #
5704be89 |
| 20-Nov-2018 |
Jim Harris <james.r.harris@intel.com> |
build: remove xx_MODULES_LINKER_ARGS and xx_MODULES_FILES
Application Makefiles can now just add xx_MODULES_LIB_LIST to SPDK_LIB_LIST. This is possible now since all SPDK libraries are linked with
build: remove xx_MODULES_LINKER_ARGS and xx_MODULES_FILES
Application Makefiles can now just add xx_MODULES_LIB_LIST to SPDK_LIB_LIST. This is possible now since all SPDK libraries are linked with --whole-archive, so there is no need to differentiate between "modules" libraries and other SPDK libraries.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Iabf81a388b72d3b2a2f48287a8491ddc977722ac
Reviewed-on: https://review.gerrithub.io/434277 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
| #
42b6771f |
| 20-Nov-2018 |
Jim Harris <james.r.harris@intel.com> |
build: add ALL_MODULES_* variables to spdk.modules.mk
This allows a lot of simplification to SPDK application makefiles.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I5fa463f6369
build: add ALL_MODULES_* variables to spdk.modules.mk
This allows a lot of simplification to SPDK application makefiles.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I5fa463f6369834b84a8d92e79fa7768082209d7a
Reviewed-on: https://review.gerrithub.io/434274 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
| #
3da58470 |
| 20-Nov-2018 |
Jim Harris <james.r.harris@intel.com> |
build: add ENV_LINKER_ARGS to LINK_C and LINK_CXX
This allows us to remove $(ENV_LINKER_ARGS) from all of the application Makefiles.
Modify spdk.unittest.mk to explicitly set ENV_LINKER_ARGS to not
build: add ENV_LINKER_ARGS to LINK_C and LINK_CXX
This allows us to remove $(ENV_LINKER_ARGS) from all of the application Makefiles.
Modify spdk.unittest.mk to explicitly set ENV_LINKER_ARGS to nothing, to avoid DPDK libraries from getting linked into unit tests. This seems better than creating separate LINK_C rules for unit tests. Provide a UNIT_TEST_LINK_ENV flag to allow select unit tests to override this behavior - it's needed for some of the env unit tests.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I647f2c848cf434023cf5a1f3a45869bbc4fc8102 Reviewed-on: https://review.gerrithub.io/434145 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
| #
0b5fa082 |
| 20-Nov-2018 |
Jim Harris <james.r.harris@intel.com> |
build: remove sock from SOCK_MODULES_LIST
The various *_MODULES_LIST are intended for the modules that implement the specific interface - not for the associated core library itself.
For example, BL
build: remove sock from SOCK_MODULES_LIST
The various *_MODULES_LIST are intended for the modules that implement the specific interface - not for the associated core library itself.
For example, BLOCKDEV_MODULES_LIST doesn't contain bdev, it contains all of the bdev modules. Similar for COPY_MODULES_LIST and copy.
So make SOCK_MODULES_LIST consistent. This is a real pain because we have to add sock explicitly to a bunch of individual Makefiles, but I have plans to clean that up in some future patches.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I0d293372cfb38bfa46c8478a8d9ca9ce23924747
Reviewed-on: https://review.gerrithub.io/434125 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
| #
e0b66931 |
| 14-Nov-2018 |
Jim Harris <james.r.harris@intel.com> |
spdk_tgt, vhost: move vhost libraries earlier in SPDK_LIB_LIST
Upcoming changes will use --whole-archive on all libraries. This introduces some issues with the shared library builds, although it's
spdk_tgt, vhost: move vhost libraries earlier in SPDK_LIB_LIST
Upcoming changes will use --whole-archive on all libraries. This introduces some issues with the shared library builds, although it's not entirely clear why these issues don't occur today.
vhost depends on both scsi and bdev - but for the spdk_tgt and vhost application Makefiles, vhost is listed later than scsi and bdev. It's best practice to list the libraries in order of dependence - at least until we add dependencies to the shared libraries themselves.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ibacfb7781dad60cf3ce6906deaaa2e5c0f5e9571
Reviewed-on: https://review.gerrithub.io/433356 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Seth Howell <seth.howell5141@gmail.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
show more ...
|
|
Revision tags: v18.10, v18.07.1 |
|
| #
3f38382c |
| 15-Aug-2018 |
Jim Harris <james.r.harris@intel.com> |
build: fix some library dependencies
Upcoming patches from Lance Hartmann have pointed out some places where the library lists should be reordered to enable linking with shared libraries without bui
build: fix some library dependencies
Upcoming patches from Lance Hartmann have pointed out some places where the library lists should be reordered to enable linking with shared libraries without building dependencies into the shared libraries themselves. We will build these dependencies into the shared libraries at some point, but these patches let us defer that for a bit.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I7b838ce171db723d8408b974731b357bbc098080
Reviewed-on: https://review.gerrithub.io/422438 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
show more ...
|