test: convert remaining tests using CUnit to spdk_ut_run_tests()The test apps that use CUnit framework for executing functional testswere converted to use the ut library, with one exception - bdev
test: convert remaining tests using CUnit to spdk_ut_run_tests()The test apps that use CUnit framework for executing functional testswere converted to use the ut library, with one exception - bdevio.That's because bdevio uses app framework, which provides its own methodof parsing command-line arguments.Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>Change-Id: Icb2bcc172686894095bb48fd4e5aae10a84d14dbReviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19291Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
show more ...
test/unit: move spdk_cunit.h to include/spdk_internalIt'll make it easier to include this file outside of unit tests.Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>Change-Id: I171ddb864
test/unit: move spdk_cunit.h to include/spdk_internalIt'll make it easier to include this file outside of unit tests.Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>Change-Id: I171ddb8649f67b5786f08647560e2907603d0574Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19284Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>Community-CI: Mellanox Build BotTested-by: SPDK CI Jenkins <sys_sgci@intel.com>Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
update Intel copyright noticesper Intel policy to include file commit date using git cmdbelow. The policy does not apply to non-Intel (C) notices.git log --follow -C90% --format=%ad --date defa
update Intel copyright noticesper Intel policy to include file commit date using git cmdbelow. The policy does not apply to non-Intel (C) notices.git log --follow -C90% --format=%ad --date default <file> | tail -1and then pull just the 4 digit year from the result.Intel copyrights were not added to files where Intel either hadno contribution ot the contribution lacked substance (ie licenseheader 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 vastmajority of files do have this last blank line. Simply there forconsistency.Signed-off-by: paul luse <paul.e.luse@intel.com>Change-Id: Id5b7ce4f658fe87132f14139ead58d6e285c04d4Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15192Tested-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
Replace most BSD 3-clause license text with SPDX identifier.Many open source projects have moved to using SPDX identifiersto specify license information, reducing the amount ofboilerplate code in
Replace most BSD 3-clause license text with SPDX identifier.Many open source projects have moved to using SPDX identifiersto specify license information, reducing the amount ofboilerplate code in every source file. This patch replacesthe bulk of SPDK .c, .cpp and Makefiles with the BSD-3-Clauseidentifier.Almost all of these files share the exact same license text,and this patch only modifies the files that contain themost common license text. There can be slight variationsbecause 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 textwith SPDX identifier which is checked into scripts/spdx.sh.Signed-off-by: Jim Harris <james.r.harris@intel.com>Change-Id: Iaa88ab5e92ea471691dc298cfe41ebfb5d169780Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12904Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>Community-CI: Mellanox Build BotTested-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>
spelling: testPart of #2256* achieve* additionally* against* aliases* already* another* arguments* between* capabilities* comparison* compatibility* configuration* continuing* contro
spelling: testPart of #2256* achieve* additionally* against* aliases* already* another* arguments* between* capabilities* comparison* compatibility* configuration* continuing* controlq* cpumask* default* depends* dereferenced* discussed* dissect* driver* environment* everything* excluded* existing* expectation* failed* fails* following* functions* hugepages* identifiers* implicitly* in_capsule* increment* initialization* initiator* integrity* iteration* latencies* libraries* management* namespace* negotiated* negotiation* nonexistent* number* occur* occurred* occurring* offsetting* operations* outstanding* overwhelmed* parameter* parameters* partition* preempts* provisioned* responded* segment* skipped* struct* subsystem* success* successfully* sufficiently* this* threshold* transfer* transferred* unchanged* unexpected* unregistered* useless* utility* value* variable* workloadChange-Id: I21ca7dab4ef575b5767e50aaeabc34314ab13396Signed-off-by: Josh Soref <jsoref@gmail.com>Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10409Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>Reviewed-by: Jim Harris <james.r.harris@intel.com>Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
env_dpdk: drop DPDK 18.08 supportDPDK versions 17.11 to 18.08 reached EOL.Change-Id: Icfec27b0099f53d6ab00ec3aed63e5d30d94ee4dSigned-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>Reviewe
env_dpdk: drop DPDK 18.08 supportDPDK versions 17.11 to 18.08 reached EOL.Change-Id: Icfec27b0099f53d6ab00ec3aed63e5d30d94ee4dSigned-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2940Community-CI: Mellanox Build BotTested-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: Michael Haeuptle <michaelhaeuptle@gmail.com>
test/env: fail to build mem_callbacks.c on non-x86When building spdk on arm64 with --enable-werror, there are error:"implicit declaration of function ‘rte_eal_init’ ". For X86,mem_callbacks.c's d
test/env: fail to build mem_callbacks.c on non-x86When building spdk on arm64 with --enable-werror, there are error:"implicit declaration of function ‘rte_eal_init’ ". For X86,mem_callbacks.c's dependency header file rte_rwlock.h includesrte_spinlock.h(rte_spinlock.h->rte_lcore.h->rte_eal.h), but forarm64 and ppc rte_spinlock.h isn't included. So I include ret_eal.hexplicitly here.Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>Change-Id: If8859f5272aeb220dc448a312cb0d1c65e149742Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478570Tested-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>
test/mem_callbacks: Fix compilation on ARMThis file fails to compile with DPDK 19.08Change-Id: I7d0d811a9c6759e9c23743bab2c42d271c9d13afSigned-off-by: Alexey Marchuk <alexeymar@mellanox.com>Sig
test/mem_callbacks: Fix compilation on ARMThis file fails to compile with DPDK 19.08Change-Id: I7d0d811a9c6759e9c23743bab2c42d271c9d13afSigned-off-by: Alexey Marchuk <alexeymar@mellanox.com>Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>Signed-off-by: Evgeniy Kochetov <evgeniik@mellanox.com>Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/472260Reviewed-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>
test: add mem_callbacks unit testThis tests that DPDK buffers do not cross memorycallback allocation boundaries, and that memoryfreed by DPDK is in the same units as it was allocated.Signed-off
test: add mem_callbacks unit testThis tests that DPDK buffers do not cross memorycallback allocation boundaries, and that memoryfreed by DPDK is in the same units as it was allocated.Signed-off-by: Jim Harris <james.r.harris@intel.com>Change-Id: I5b68e9f0864304962b9189b9f5e58f828f0d0e54Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/436895Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>Reviewed-by: Ben Walker <benjamin.walker@intel.com>Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>