|
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 |
|
| #
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, v21.07, v21.07-rc1, v21.04, v21.04-rc1, v21.01.1, 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, v20.07, v20.07-rc1, v20.04.1, v20.01.2, v20.04, v20.04-rc1, v20.01.1, v20.01, v20.01-rc1, v19.10.1, v19.10, v19.10-rc1, v19.07.1, v19.07, v19.04.1, v19.04, v18.10.2, v19.01.1, v19.01, v18.10.1 |
|
| #
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 ...
|
| #
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 ...
|
|
Revision tags: v18.10, v18.07.1, v18.07 |
|
| #
02d75f62 |
| 11-Jun-2018 |
Ben Walker <benjamin.walker@intel.com> |
thread: Move threading abstraction code out of util
This makes more sense as a first class library.
Change-Id: Ibd5c578f8708bd8c7d83fe1629e97c9a3316b56b Signed-off-by: Ben Walker <benjamin.walker@i
thread: Move threading abstraction code out of util
This makes more sense as a first class library.
Change-Id: Ibd5c578f8708bd8c7d83fe1629e97c9a3316b56b Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/414698 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Madhu Pai <mpai@netapp.com>
show more ...
|
|
Revision tags: v18.04.1, v18.04, v18.01.1 |
|
| #
bb24ce82 |
| 14-Feb-2018 |
Jim Harris <james.r.harris@intel.com> |
build: add @: to remaining 'all' targets
It is not ideal to have to add this in a bunch of different Makefiles, but further consolidation of Makefiles is going to be a more arduous process.
With th
build: add @: to remaining 'all' targets
It is not ideal to have to add this in a bunch of different Makefiles, but further consolidation of Makefiles is going to be a more arduous process.
With this change, rebuilding SPDK after no changes will result in no output - all of the "Nothing to be done for 'all'" messages have been removed. Note that DPDK build output still remains - this can be suppressed by either using an out-of-tree DPDK, or using SKIP_DPDK_BUILD=1 when using the in-tree DPDK submodule.
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ib1d45432f2baaa1d9c1b9509906ee1e77966d3ca
Reviewed-on: https://review.gerrithub.io/399918 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
show more ...
|
|
Revision tags: v18.01 |
|
| #
921a1dc3 |
| 28-Nov-2017 |
Daniel Verkamp <daniel.verkamp@intel.com> |
examples/ioat/verify: remove DPDK dependency
Use the env.h abstractions instead.
Change-Id: Ib8a34b28d86a057cc37812568f4c6cce3e8301c3 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Review
examples/ioat/verify: remove DPDK dependency
Use the env.h abstractions instead.
Change-Id: Ib8a34b28d86a057cc37812568f4c6cce3e8301c3 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/389402 Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
|
Revision tags: v17.10.1, v17.10, v17.07.1, v17.07, v17.03, v16.12 |
|
| #
407b550f |
| 18-Nov-2016 |
Jim Harris <james.r.harris@intel.com> |
build: define SPDK_LIB_LIST to simplify building dependencies and linker args
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ia969f9e5ed01f4b58cec2559133347d836118131
|
| #
44e60dc4 |
| 15-Nov-2016 |
Daniel Verkamp <daniel.verkamp@intel.com> |
build: consolidate library outputs in build/lib
Make it easier to use SPDK libraries by putting them all in a single directory that can be added with -L rather than scattered around the source tree.
build: consolidate library outputs in build/lib
Make it easier to use SPDK libraries by putting them all in a single directory that can be added with -L rather than scattered around the source tree.
Change-Id: I5c0f5dd6e7058b5f92fa9bc41548190ffc064761 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
show more ...
|
| #
a4747c60 |
| 10-Aug-2016 |
Ben Walker <benjamin.walker@intel.com> |
env: Make the environment library configurable.
This allows users to swap out SPDK's third party libraries for an implementation based on their own framework.
Change-Id: Ia0b7384ce5e31acba5ad0d7002
env: Make the environment library configurable.
This allows users to swap out SPDK's third party libraries for an implementation based on their own framework.
Change-Id: Ia0b7384ce5e31acba5ad0d7002dec9e95b759c52 Signed-off-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
| #
a30b5532 |
| 10-Aug-2016 |
Ben Walker <benjamin.walker@intel.com> |
memory: Rename to env
The new env library will wrap all third-party library calls and be easily swappable with alternate implementations at build time. For now, it's just the memory library renamed.
memory: Rename to env
The new env library will wrap all third-party library calls and be easily swappable with alternate implementations at build time. For now, it's just the memory library renamed.
Change-Id: I26a70933289f8137107208ba75f7520fd7a33da0 Signed-off-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
|
Revision tags: v16.08 |
|
| #
6b1e4e73 |
| 08-Aug-2016 |
Ben Walker <benjamin.walker@intel.com> |
Drop libpciaccess and switch to DPDK PCI
This patch also drops support for automatically unbinding devices from the kernel - run scripts/setup.sh first.
Our generic pci interface is now hidden behi
Drop libpciaccess and switch to DPDK PCI
This patch also drops support for automatically unbinding devices from the kernel - run scripts/setup.sh first.
Our generic pci interface is now hidden behind include/spdk/pci.h and implemented in lib/util/pci.c. We no longer wrap the calls in nvme_impl.h or ioat_impl.h. The implementation now only uses DPDK and the libpciaccess dependency has been removed. If using a version of DPDK earlier than 16.07, enumerating devices by class code isn't available and only Intel SSDs will be discovered. DPDK 16.07 adds enumeration by class code and all NVMe devices will be correctly discovered.
Change-Id: I0e8bac36b5ca57df604a2b310c47342c67dc9f3c Signed-off-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
| #
29004b67 |
| 12-Aug-2016 |
Ben Walker <benjamin.walker@intel.com> |
ioat: Use log library instead of ioat_printf
Change-Id: I10a71b5c83f60d3ef1bbf83b464813405edd1938 Signed-off-by: Ben Walker <benjamin.walker@intel.com>
|
| #
39cc5963 |
| 22-Jun-2016 |
Daniel Verkamp <daniel.verkamp@intel.com> |
build: include -lrt and -lpthread in LDFLAGS
Simplify the build rules so that common libraries are always linked.
Also fix up a couple of -lpciaccess instances that should have been changed to $(PC
build: include -lrt and -lpthread in LDFLAGS
Simplify the build rules so that common libraries are always linked.
Also fix up a couple of -lpciaccess instances that should have been changed to $(PCIACCESS_LIB).
Change-Id: I4c50fa3aa59cae013d3385e38fbb830794299f6e Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
show more ...
|
|
Revision tags: v16.06 |
|
| #
cd48a01f |
| 09-May-2016 |
Daniel Verkamp <daniel.verkamp@intel.com> |
build: wrap $(CURDIR) relative paths in $(abspath)
Resolve relative paths before using them to clean up command lines.
This should also help shorten the overall command line length that gets embedd
build: wrap $(CURDIR) relative paths in $(abspath)
Resolve relative paths before using them to clean up command lines.
This should also help shorten the overall command line length that gets embedded in the binary and used when locating the executable from a coredump.
Change-Id: Ibff9849ede198bb04313496c8b7131485ffaf14f Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
show more ...
|
|
Revision tags: v1.2.0 |
|
| #
ff612519 |
| 27-Jan-2016 |
Ziye Yang <ziye.yang@intel.com> |
SPDK: Support configuring libpciaccess library
With CONFIG_PCIACCESS=y in CONFIG file, we can use libpciaccess library; With CONFIG_PCIACCESS=n in CONFIG file, we use pciaccess functions provided in
SPDK: Support configuring libpciaccess library
With CONFIG_PCIACCESS=y in CONFIG file, we can use libpciaccess library; With CONFIG_PCIACCESS=n in CONFIG file, we use pciaccess functions provided in DPDK.
Change-Id: I786c5589b8e7909ba2e59d222938dd5ba45bf92d Signed-off-by: Ziye Yang <ziye.yang@intel.com>
show more ...
|
| #
c02b1794 |
| 26-Jan-2016 |
Daniel Verkamp <daniel.verkamp@intel.com> |
Remove year from copyright headers.
Also add a space between Copyright and (c).
The copyright year can be determined using git metadata.
Also remove the duplicated "All rights reserved." - every i
Remove year from copyright headers.
Also add a space between Copyright and (c).
The copyright year can be determined using git metadata.
Also remove the duplicated "All rights reserved." - every instance of this line already has a corresponding "All rights reserved" immediately below it, except for examples/ioat/kperf/kmod/dma_perf.c, where I have added it manually.
Performed using this command:
git ls-files | xargs sed -i -e 's/Copyright(c) \(.*\) Intel Corporation. All rights reserved./Copyright (c) Intel Corporation./'
Change-Id: I3779f404966800709024eb1eb66a50068af2716c Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
show more ...
|
|
Revision tags: v1.0.0 |
|
| #
d4ab30ba |
| 03-Dec-2015 |
Daniel Verkamp <daniel.verkamp@intel.com> |
ioat: add user-mode Intel I/OAT driver
The ioat driver supports DMA engine copy offload hardware available on Intel Xeon platforms.
Change-Id: Ida0b17b25816576948ddb1b0443587e0f09574d4 Signed-off-b
ioat: add user-mode Intel I/OAT driver
The ioat driver supports DMA engine copy offload hardware available on Intel Xeon platforms.
Change-Id: Ida0b17b25816576948ddb1b0443587e0f09574d4 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
show more ...
|