b37db069 | 03-Dec-2024 |
XuQi <1530865185@qq.com> |
replace strtok with strtok_r
The strtok function is not reentrant. To address this issue in a multithreaded environment, the strtok_r function should be used, which is the reentrant version of strto
replace strtok with strtok_r
The strtok function is not reentrant. To address this issue in a multithreaded environment, the strtok_r function should be used, which is the reentrant version of strtok.
Signed-off-by: XuQi <1530865185@qq.com> Change-Id: I35c07c7cf4e20bacb7b1e7c7adaedfcd1a81f86e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25492 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeliu@tencent.com> Reviewed-by: Jim Harris <jim.harris@nvidia.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Community-CI: Mellanox Build Bot
show more ...
|
8d982eda | 12-Nov-2024 |
Konrad Sztyber <konrad.sztyber@intel.com> |
dpdk: add adjustments for recent rte_power changes
There were a couple of changes to the rte_power library: 1) Hardware-specific code was moved out of rte_ower into individual drivers under the
dpdk: add adjustments for recent rte_power changes
There were a couple of changes to the rte_power library: 1) Hardware-specific code was moved out of rte_ower into individual drivers under the drivers/power directory. 2) The header file was renamed rte_power.h -> rte_power_cpufreq.h.
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Iac8aeb99423a21905a8bea744ccf662539b26da0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25424 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Michal Berger <michal.berger@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@nvidia.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com>
show more ...
|
f8259c91 | 12-Sep-2024 |
Ankit Kumar <ankit.kumar@samsung.com> |
env_dpdk: new interfaces for pci device multi interrupt
To handle multiple interrupts 3 new interfaces have been added
spdk_pci_device_enable_interrupts() It first checks if the device has multiple
env_dpdk: new interfaces for pci device multi interrupt
To handle multiple interrupts 3 new interfaces have been added
spdk_pci_device_enable_interrupts() It first checks if the device has multiple interrupt vector capability, and based on that it creates a bunch of eventfds. Finally interrupt is enabled by mapping those eventfds to interrupt vector. The interrupt vector offset 0 is used for device fd, Interrupt vector offset 1 onwards is mapped to eventfd at index 0 onwards.
spdk_pci_device_disable_interrupts() disables the interrupts and closes all the eventfds.
spdk_pci_device_get_interrupt_efd_by_index() returns the device fd for index 0, and returns the eventfd for any index > 0.
Change-Id: Ifef38ce89ce7c0e58652a30a61e0df448858398d Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com> Signed-off-by: Liu, Xiaodong <xiaodong.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24903 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> Reviewed-by: Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com>
show more ...
|
00715c7c | 25-Jul-2024 |
Ankit Kumar <ankit.kumar@samsung.com> |
env_dpdk: add required APIs to handle interrupt
Add the necessary interfaces to create and delete eventfds, and to fetch it for a particular index. These are required to enable and disable multiple
env_dpdk: add required APIs to handle interrupt
Add the necessary interfaces to create and delete eventfds, and to fetch it for a particular index. These are required to enable and disable multiple interrupts for pcie nvme devices. As only VFIO MSIX supports multiple interrupt vectors, added an interface to check the same.
Change-Id: Iaa463c9fdc76ce01d66236ce5fb3d89c9bc6146f Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com> Signed-off-by: Liu, Xiaodong <xiaodong.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24902 Community-CI: Mellanox Build Bot 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: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
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 ...
|
2186fc03 | 11-Sep-2024 |
Zhangfei Gao <zhangfei.gao@linaro.org> |
accel/dpdk_compressdev: Support uadk compress pmd
Add support of UADK Compress Poll Mode Driver to accel/dpdk_compressdev.
build: ./configure --with-dpdk-uadk --with-dpdk-compressdev make
./build
accel/dpdk_compressdev: Support uadk compress pmd
Add support of UADK Compress Poll Mode Driver to accel/dpdk_compressdev.
build: ./configure --with-dpdk-uadk --with-dpdk-compressdev make
./build/bin/spdk_tgt -m 0xf0 --wait-for-rpc
./scripts/rpc.py compressdev_scan_accel_module -p 3 ./scripts/rpc.py accel_assign_opc -o compress -m dpdk_compressdev ./scripts/rpc.py accel_assign_opc -o decompress -m dpdk_compressdev ./scripts/rpc.py framework_start_init ./scripts/rpc.py accel_get_opc_assignments
Change-Id: I202c17c3a936208901a3bdc6bb2a11ddc88875f7 Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23738 Reviewed-by: Changpeng Liu <changpeliu@tencent.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <jim.harris@samsung.com>
show more ...
|
41ff6dce | 28-Jun-2024 |
Jim Harris <jim.harris@samsung.com> |
env: add enforce_numa environment option
We have started to add some NUMA based memory allocations (specifically NVMe SSD CQ memory). We will likely have more in the future.
Some configurations may
env: add enforce_numa environment option
We have started to add some NUMA based memory allocations (specifically NVMe SSD CQ memory). We will likely have more in the future.
Some configurations may not have memory allocated across all NUMA nodes, for example, setup.sh used to require special flags to make sure memory was alllocated across NUMA nodes. setup.sh has since been changed to allocate across NUMA nodes by default, but other users may have their own scripts that have not yet been adjusted.
So as a transition point, env layer currently tries to allocate from DPDK based on user-specified numa_id, and if that fails, will revert to SOCKET_ID_ANY instead. But specifying this new enforce_numa flag will not do the fallback and will just return NULL to the user.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: Ieb346ac194fdd46c97e6fa77c117f637feb23b02 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23966 Reviewed-by: Ben Walker <ben@nvidia.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 ...
|
479507e8 | 18-Jul-2024 |
Jim Harris <jim.harris@samsung.com> |
env: add NUMA node ID enumeration functions
spdk_env_get_first_numa_id() spdk_env_get_last_numa_id() spdk_env_get_next_numa_id() SPDK_ENV_FOREACH_NUMA_ID()
These follow the same pattern as the enum
env: add NUMA node ID enumeration functions
spdk_env_get_first_numa_id() spdk_env_get_last_numa_id() spdk_env_get_next_numa_id() SPDK_ENV_FOREACH_NUMA_ID()
These follow the same pattern as the enumeration functions for CPU core IDs.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I13bf6de49cd93f372c9527b3fe335ff05a79a43e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24262 Reviewed-by: Ben Walker <ben@nvidia.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 ...
|
e979d56f | 16-Aug-2024 |
Jim Harris <jim.harris@samsung.com> |
env_dpdk: retry failed numa-id specific allocations
We want to start allocating memory local to NUMA nodes where possible, without breaking setups that may not have hugepages allocated for each NUMA
env_dpdk: retry failed numa-id specific allocations
We want to start allocating memory local to NUMA nodes where possible, without breaking setups that may not have hugepages allocated for each NUMA node.
So when a node_id is actually specified (i.e. not SOCKET_ID_ANY), and the allocation fails, try it again but with SOCKET_ID_ANY.
(Note: using SOCKET_ID_ANY in this file instead of SPDK_ENV_NUMA_ID_ANY, since the former is the DPDK definition.)
Later we will add a patch that enforces the NUMA node when specified, to help users who definitely want NUMA optimizations so that these setups can be ensured to have memory allocated per node. Note that setup.sh has already been updated to allocate memory evenly across NUMA nodes by default (originally it would only allocate from node 0 by default).
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I6b852532ac93230de6a91d3eb829448fbd903e8b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24578 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Ben Walker <ben@nvidia.com> Community-CI: Mellanox Build Bot
show more ...
|
80b71d70 | 28-Aug-2024 |
Jim Harris <jim.harris@samsung.com> |
env_dpdk: use uint64_t instead of void * in memory reg calculations
Newer UBSAN doesn't like adding offsets to NULL addresses. We have unit tests that use some NULL addresses. We could fix the unit
env_dpdk: use uint64_t instead of void * in memory reg calculations
Newer UBSAN doesn't like adding offsets to NULL addresses. We have unit tests that use some NULL addresses. We could fix the unit tests but we can avoid the problem altogether by just having the memory registration functions work with uint64_t when doing address calculations.
Fixes issue #3512.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I6904f68c7e0b0e52e415fc85acca485aeccc0c0c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24729 Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Michal Berger <michal.berger@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
00bbcea0 | 20-Aug-2024 |
Jim Harris <jim.harris@samsung.com> |
env: add spdk_pci_device_get_numa_id()
This effectively replaces spdk_pci_device_get_socket_id(), which is marked obsolete in this patch.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-I
env: add spdk_pci_device_get_numa_id()
This effectively replaces spdk_pci_device_get_socket_id(), which is marked obsolete in this patch.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I1b32adf4f357221e6ae4b98c234ac70a2192b9bc Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24609 Reviewed-by: Ben Walker <ben@nvidia.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
38b1eaa4 | 20-Aug-2024 |
Jim Harris <jim.harris@samsung.com> |
env: add spdk_env_get_numa_id()
This will effectively replace spdk_env_get_socket_id(), which is marked obsolete as part of this patch.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id:
env: add spdk_env_get_numa_id()
This will effectively replace spdk_env_get_socket_id(), which is marked obsolete as part of this patch.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I5d39e5e1b98e07f709b14c86382e59ea76584def Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24608 Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Ben Walker <ben@nvidia.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
|
186b109d | 20-Aug-2024 |
Jim Harris <jim.harris@samsung.com> |
env: add SPDK_ENV_NUMA_ID_ANY and replace socket_id with numa_id
We will try to avoid further proliferation of "SOCKET_ID" to refer to a NUMA socket ID moving forward, and just use "NUMA_ID" to avoi
env: add SPDK_ENV_NUMA_ID_ANY and replace socket_id with numa_id
We will try to avoid further proliferation of "SOCKET_ID" to refer to a NUMA socket ID moving forward, and just use "NUMA_ID" to avoid confusion with TCP sockets.
Change all of the existing in-tree SPDK_ENV_SOCKET_ID_ANY uses to SPDK_ENV_NUMA_ID_ANY, but keep the old #define around, at least for now. Also change all 'socket_id' parameters to 'numa_id'.
We still have spdk_env_get_socket_id(), we will need to keep this but next patch will add spdk_env_get_numa_id().
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: Idc31c29e32b708c24d88f9c6fecaf9a99e34ba1e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24607 Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Ben Walker <ben@nvidia.com> Community-CI: Mellanox Build Bot
show more ...
|
7c739692 | 09-Aug-2024 |
Jim Harris <jim.harris@samsung.com> |
env_dpdk: restore opts_size after opts structure is zeroed
Fixes issue #3476.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: Id05775f934f33e20f5129e65df1ea238f81b45b6 Reviewed-on: ht
env_dpdk: restore opts_size after opts structure is zeroed
Fixes issue #3476.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: Id05775f934f33e20f5129e65df1ea238f81b45b6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24497 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Ben Walker <ben@nvidia.com>
show more ...
|
f2c4b64f | 28-Jun-2024 |
Jim Harris <jim.harris@samsung.com> |
env_dpdk: assert that SOCKET_ID_ANY == SPDK_ENV_SOCKET_ID_ANY
Currently we just rely on the values being #defined to the same value. So add a STATIC_ASSERT in env_dpdk just to confirm they are alway
env_dpdk: assert that SOCKET_ID_ANY == SPDK_ENV_SOCKET_ID_ANY
Currently we just rely on the values being #defined to the same value. So add a STATIC_ASSERT in env_dpdk just to confirm they are always the same, since we pass these values straight through to DPDK.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I3c636648c21e09bda29c2c33fd4bf2ca2fa3d6a6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23965 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 ...
|
57fd99b9 | 28-Jun-2024 |
Jim Harris <jim.harris@samsung.com> |
env: add opts_size to spdk_env_opts
This will help with ABI compatibility as new fields get added to this structure.
User is responsible for setting opts_size. Major version has been bumped, so use
env: add opts_size to spdk_env_opts
This will help with ABI compatibility as new fields get added to this structure.
User is responsible for setting opts_size. Major version has been bumped, so users will need to rebuild against latest code, if they do not set opts_size we will just treat that as if the structure ends right before opts_size. We will also print an ERRLOG to warn user to set opts_size appropriately.
As part of this patch, update all in-tree callers of spdk_env_opts_init() to set the opts_size.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: If2611eccc8b3c43e1dc1654028d000a8a12a544e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23940 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz@tzawadzki.com>
show more ...
|
24813ed4 | 05-Aug-2024 |
Konrad Sztyber <konrad.sztyber@intel.com> |
env: add support for upcoming dpdk release
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Iffb7f4aa2f46da2076f7c65a055006f95d9117a1 Reviewed-on: https://review.spdk.io/gerrit/c/
env: add support for upcoming dpdk release
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Iffb7f4aa2f46da2076f7c65a055006f95d9117a1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24436 Reviewed-by: Tomasz Zawadzki <tomasz@tzawadzki.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
48c41d94 | 02-Aug-2024 |
Konrad Sztyber <konrad.sztyber@intel.com> |
env: add support for dpdk v24.07.0
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I0bee5f389ef983e4ff9379ef874d9b5cc87fde12 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spd
env: add support for dpdk v24.07.0
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I0bee5f389ef983e4ff9379ef874d9b5cc87fde12 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24422 Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Tomasz Zawadzki <tomasz@tzawadzki.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Michal Berger <michal.berger@intel.com>
show more ...
|
34edd9f1 | 10-Jul-2024 |
Kamil Godzwon <kamilx.godzwon@intel.com> |
general: fix misspells and typos
Signed-off-by: Kamil Godzwon <kamilx.godzwon@intel.com> Change-Id: Iab206ef526eb7032c6681a3145450010c91705a4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+
general: fix misspells and typos
Signed-off-by: Kamil Godzwon <kamilx.godzwon@intel.com> Change-Id: Iab206ef526eb7032c6681a3145450010c91705a4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24120 Community-CI: Mellanox Build Bot Reviewed-by: Karol Latecki <karol.latecki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Jim Harris <jim.harris@samsung.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 ...
|
3daf1f00 | 24-May-2024 |
Jim Harris <jim.harris@samsung.com> |
dpdk_governor: use rte_power_set_env() to reduce noisy log messages
If an application doesn't set the power env explicitly, DPDK will just iterate through them one at a time until it finds one that
dpdk_governor: use rte_power_set_env() to reduce noisy log messages
If an application doesn't set the power env explicitly, DPDK will just iterate through them one at a time until it finds one that works. This clutters the log with error messages about the ones that didn't work. So use the rte_power_check_env_supported() API to iterate through them ourselves (just like DPDK does) and set the first one that we find.
From what I can see, only one can ever work. So SPDK iterates through the DPDK enum in order, even though DPDK does them out of order when it needs to find one because the user didn't set one.
While here, set the DPDK rte_power log level to WARNING, which also eliminates a ton of noisy messages when enabling the governor. While adding this, we noticed that cryptodev flag here is setting WARNING but the comment says ERR, so fix that comment while here.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I5cb2552d3b41235884577669bd574f88ca944f2a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23408 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
f838343c | 24-May-2024 |
Jim Harris <jim.harris@samsung.com> |
env: add spdk_env_core_get_smt_cpuset
This create a cpuset with core bits set for the specified core and any of its SMT siblings.
If the core has siblings, then all of its siblings will be set, eve
env: add spdk_env_core_get_smt_cpuset
This create a cpuset with core bits set for the specified core and any of its SMT siblings.
If the core has siblings, then all of its siblings will be set, even those that are not part of the application's core mask.
If the specified core is UINT32_MAX, then bits will be set for all SMT siblings of all cores in the application's core mask.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: I6e9677414fd3039089c4faec3464cf135a70a6ce Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23406 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
show more ...
|
282bc167 | 15-Feb-2024 |
Konrad Sztyber <konrad.sztyber@intel.com> |
build: ensure env deps are included when linking
The dependencies of the env library were not included when linking apps. Right now, it isn't a big problem for env_dpdk, as it only depends on log an
build: ensure env deps are included when linking
The dependencies of the env library were not included when linking apps. Right now, it isn't a big problem for env_dpdk, as it only depends on log and util, which almost all other libraries also depend on, but it has to be fixed if we ever needed to add more dependencies.
Reported-by: Jacek Kalwas <jacek.kalwas@intel.com> Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I482845f74598d5525dc16d5e69e85db7fc4424f6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21873 Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <jim.harris@samsung.com> Reviewed-by: Jacek Kalwas <jacek.kalwas@intel.com> Reviewed-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
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 ...
|
13603217 | 27-Apr-2024 |
Zhangfei Gao <zhangfei.gao@linaro.org> |
accel/dpdk_cryptodev: Support uadk crypto pmd
Add support of UADK Crypto Poll Mode Driver to accel/dpdk_cryptodev.
Build: ./configure --with-dpdk-uadk --with-crypto make
Run ./build/bin/spdk_tgt -
accel/dpdk_cryptodev: Support uadk crypto pmd
Add support of UADK Crypto Poll Mode Driver to accel/dpdk_cryptodev.
Build: ./configure --with-dpdk-uadk --with-crypto make
Run ./build/bin/spdk_tgt -m 0xf0 --wait-for-rpc
./scripts/rpc.py dpdk_cryptodev_scan_accel_module ./scripts/rpc.py dpdk_cryptodev_set_driver -d crypto_uadk ./scripts/rpc.py accel_assign_opc -o encrypt -m dpdk_cryptodev ./scripts/rpc.py accel_assign_opc -o decrypt -m dpdk_cryptodev ./scripts/rpc.py framework_start_init
Change-Id: I73b763bdcf16c172501a3c2e785450401e8d54b2 Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22979 Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <jim.harris@samsung.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Marcin Spiewak <marcin.spiewak@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
show more ...
|