|
Revision tags: v25.01-rc1 |
|
| #
1239ea17 |
| 11-Oct-2024 |
Ankit Kumar <ankit.kumar@samsung.com> |
test/unit: add missing fd_group unit tests
Change-Id: I4b8d84ec0777848907e3be45a4771bbb20f7521b Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk
test/unit: add missing fd_group unit tests
Change-Id: I4b8d84ec0777848907e3be45a4771bbb20f7521b Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25214 Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Ben Walker <ben@nvidia.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
show more ...
|
|
Revision tags: v24.09, v25.01-pre, v24.09-rc1 |
|
| #
e8671c89 |
| 15-Jul-2024 |
Jim Harris <jim.harris@samsung.com> |
util: add spdk_net_get_interface_name
This function provides the name of the network interface for the given IP address.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: Ib6d2c08c98d4b
util: add spdk_net_get_interface_name
This function provides the name of the network interface for the given IP address.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: Ib6d2c08c98d4b4b21c52b0b42a9703125c834f99 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24177 Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.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 ...
|
| #
4897a330 |
| 04-Jul-2024 |
Jim Harris <jim.harris@samsung.com> |
util: add spdk_read_sysfs_attribute
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I18cc7fcb7ad42fd276b2ed1dcb414dc9955cb9d5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2
util: add spdk_read_sysfs_attribute
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I18cc7fcb7ad42fd276b2ed1dcb414dc9955cb9d5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24074 Reviewed-by: Changpeng Liu <changpeng_liu@hotmail.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
show more ...
|
|
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 |
|
| #
86d0b37c |
| 30-May-2023 |
Slawomir Ptak <slawomir.ptak@intel.com> |
lib/util/crc64: Add a CRC-64 util module
Added a CRC-64 util module, an NVMe PI compliant CRC-64 function and unit tests.
Change-Id: I97e4aa4af788efe0bd8bb45b682f89060c26596a Signed-off-by: Slawomi
lib/util/crc64: Add a CRC-64 util module
Added a CRC-64 util module, an NVMe PI compliant CRC-64 function and unit tests.
Change-Id: I97e4aa4af788efe0bd8bb45b682f89060c26596a Signed-off-by: Slawomir Ptak <slawomir.ptak@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18583 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Xiaodong Liu <xiaodong.liu@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
show more ...
|
|
Revision tags: 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, v22.05, v22.09-pre, v22.05-rc1, v22.01.1 |
|
| #
69c448a3 |
| 28-Mar-2022 |
Artur Paszkiewicz <artur.paszkiewicz@intel.com> |
lib/util: add ISA-L accelerated xor generation
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Change-Id: I3ef9dadb4c68e92760c8426f0fffb7b249829e2b Reviewed-on: https://review.spdk.io
lib/util: add ISA-L accelerated xor generation
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Change-Id: I3ef9dadb4c68e92760c8426f0fffb7b249829e2b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12080 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@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.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, v20.10, v20.10-rc1, v20.07, v20.07-rc1, v20.04.1, v20.01.2, v20.04, v20.04-rc1, v20.01.1 |
|
| #
ded6d2c7 |
| 18-Mar-2020 |
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
lib/util: Add spdk_sn32_lt/gt() to compare two numbers based on serial number arithmetic
Previously the macro SN32_LT and SN32_GT had been added to iSCSI library. But such comparisons may be used in
lib/util: Add spdk_sn32_lt/gt() to compare two numbers based on serial number arithmetic
Previously the macro SN32_LT and SN32_GT had been added to iSCSI library. But such comparisons may be used in other libraries. So add two inline helper functions spdk_sn32_lt() and spdk_sn32_gt() to include/spdk/util.h.
Add unit test for these functions. These functions are located in header file but math.c is the place if they are located in source file. Hence add unit test as the one for math.c.
The next patch replaces the macro SN32_LT and SN32_GT by spdk_sn32_lt() and spdk_sn32_gt() in iSCSI library, respectively.
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Id3e4d80fea98ad4ae1516e27b9c9e8ec6f37e7a8 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1346 Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
|
Revision tags: v20.01, v20.01-rc1, v19.10.1, v19.10, v19.10-rc1, v19.07.1 |
|
| #
e475586b |
| 27-Sep-2019 |
Ben Walker <benjamin.walker@intel.com> |
util: Add spdk_iovcpy, an iovec to iovec copy function.
Like memcpy, but works on two iovecs.
Change-Id: Ia1cf462a95690286f0c19325fc10937b9ba6baf3 Signed-off-by: Ben Walker <benjamin.walker@intel.c
util: Add spdk_iovcpy, an iovec to iovec copy function.
Like memcpy, but works on two iovecs.
Change-Id: Ia1cf462a95690286f0c19325fc10937b9ba6baf3 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473976 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 ...
|
| #
063252fa |
| 19-Aug-2019 |
Ben Walker <benjamin.walker@intel.com> |
pipe: Add a utility for buffering data from sockets
When dealing with sockets most code in SPDK buffers data into large chunks to minimize the number of syscalls made. The pipe utility is designed t
pipe: Add a utility for buffering data from sockets
When dealing with sockets most code in SPDK buffers data into large chunks to minimize the number of syscalls made. The pipe utility is designed to make that easy.
Change-Id: Ie29966712bbfb43fb49457e042903cf45864e6c6 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465707 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 ...
|
|
Revision tags: v19.07, v19.04.1, v19.04, v18.10.2, v19.01.1, v19.01, v18.10.1 |
|
| #
8b6c22b1 |
| 27-Nov-2018 |
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
dif: Generate DIF for extended LBA payload
DIF and DIX will be supported in SPDK throughout, e.g., NVMe driver, NVMe-oF initiator and target, NVMe block device, malloc block device, SCSI, iSCSI targ
dif: Generate DIF for extended LBA payload
DIF and DIX will be supported in SPDK throughout, e.g., NVMe driver, NVMe-oF initiator and target, NVMe block device, malloc block device, SCSI, iSCSI target, FIO plugin, and Perf.
Generic and common APIs to generate and verify DIF and inject bit flip error to any field will be helpful for them.
This patch is the first in the patch series.
This patch adds APIs to generate and verify DIF for SGL extended LBA payload as byte alignement and granularity.
Change-Id: Ie6588d960113761f10efbf2d2a3cae004af37ce8 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/432261 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
show more ...
|
|
Revision tags: v18.10, v18.07.1, v18.07 |
|
| #
8aaa7079 |
| 27-Jun-2018 |
Liu Xiaodong <xiaodong.liu@intel.com> |
util/base64: add base64 lib and unit tests
RPC method (nvme-passthrough-cmd) needs base64 to transfer binary buffer of nvme-cmd through Json text.
Change-Id: I50b9d0efca97da45d6d4fd2a1b53b748119471
util/base64: add base64 lib and unit tests
RPC method (nvme-passthrough-cmd) needs base64 to transfer binary buffer of nvme-cmd through Json text.
Change-Id: I50b9d0efca97da45d6d4fd2a1b53b74811947191 Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com> Reviewed-on: https://review.gerrithub.io/417805 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> 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>
show more ...
|
| #
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, v18.01 |
|
| #
601bcbcf |
| 21-Dec-2017 |
Tomasz Kulasek <tomaszx.kulasek@intel.com> |
util: extend cpumask to hold more than 64 cpus
Fixes github issue #218.
This patch introduces spdk_cpuset object to store and manipulate the set of individual CPUs. The main objective of this objec
util: extend cpumask to hold more than 64 cpus
Fixes github issue #218.
This patch introduces spdk_cpuset object to store and manipulate the set of individual CPUs. The main objective of this object is to replace cpumask declared as uint64_t and extend the limitation of supported CPUs (lcores) above 64 CPUs.
spdk_cpuset is always allocated dynamically and accessed by opaque pointer, what makes it easier to extend in the future without breaking API/ABI.
This patch also extends parsing function allowing to set cpumask using a list of cpus e.g. "[0-4,10,12]" sets mask of 0,1,2,3,4,10,12 as well as hexadecimal string with and without "0x" prefix.
Change-Id: I475c3ba7fab629021a22e03176e57e400dd24a49 Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com> Reviewed-on: https://review.gerrithub.io/390794 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>
show more ...
|
| #
9ca670ac |
| 15-Dec-2017 |
Changpeng Liu <changpeng.liu@intel.com> |
util/crc16: add crc16 library support and unit tests
Change-Id: I7174f1799361b8337ff5590b90ad6a0564ca8e9b Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.gerrithub
util/crc16: add crc16 library support and unit tests
Change-Id: I7174f1799361b8337ff5590b90ad6a0564ca8e9b Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.gerrithub.io/391899 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>
show more ...
|
|
Revision tags: v17.10.1, v17.10, v17.07.1, v17.07 |
|
| #
ae60710a |
| 21-Jul-2017 |
Daniel Verkamp <daniel.verkamp@intel.com> |
util: add CRC32 utility functions
Factor out the iSCSI and GPT CRC32 functions into generic library functions.
Change-Id: I1f1a5f3968a983b663a51bd984500492eeb12605 Signed-off-by: Daniel Verkamp <da
util: add CRC32 utility functions
Factor out the iSCSI and GPT CRC32 functions into generic library functions.
Change-Id: I1f1a5f3968a983b663a51bd984500492eeb12605 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/370765 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| #
e37b070a |
| 19-Jun-2017 |
Daniel Verkamp <daniel.verkamp@intel.com> |
test: move lib/util unit tests to test/unit
Change-Id: I3f5bc75913dc9c8ec19911f48661026cccf10780 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/366
test: move lib/util unit tests to test/unit
Change-Id: I3f5bc75913dc9c8ec19911f48661026cccf10780 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/366159 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
| #
a4381cfe |
| 16-May-2017 |
Daniel Verkamp <daniel.verkamp@intel.com> |
test: begin moving unit tests into test/unit
This is a proposal to make the distinction between unit tests and other kinds of tests clearer.
All unit tests will be gathered under test/unit/<dir>/<f
test: begin moving unit tests into test/unit
This is a proposal to make the distinction between unit tests and other kinds of tests clearer.
All unit tests will be gathered under test/unit/<dir>/<filename>.
Change-Id: I52a3cc40928c33374e8f423a4c926a150de20b1b Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/365492 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|