From: Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>
To: Bruce Richardson <bruce.richardson@intel.com>, dev@dpdk.org
Subject: Re: [PATCH v3 04/39] eal: move memory request fields to user config
Date: Tue, 1 Dec 2026 11:20:02 +0000 [thread overview]
Message-ID: <582a1c3a-e592-4e3d-b8a1-915d487be824@yandex.ru> (raw)
In-Reply-To: <20261126181414.124094-5-bruce.richardson@intel.com>
Hi Bruce,
> Move the basic memory request information supplied by the user from the
> internal-config to the user config structure in EAL. For the number of
> channels or ranks of memory, limit the data size to uint8_t rather than
> having a full 32-bit value per entry.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> lib/eal/common/eal_common_dynmem.c | 11 ++++---
> lib/eal/common/eal_common_memory.c | 8 ++---
> lib/eal/common/eal_common_options.c | 47 ++++++++++++++++++++++-------
> lib/eal/common/eal_internal_cfg.h | 8 ++---
> lib/eal/freebsd/eal.c | 7 +++--
> lib/eal/freebsd/eal_memory.c | 11 ++++---
> lib/eal/linux/eal.c | 5 +--
> lib/eal/linux/eal_memory.c | 12 ++++----
> lib/eal/windows/eal.c | 5 +--
> lib/eal/windows/eal_memory.c | 3 +-
> 10 files changed, 74 insertions(+), 43 deletions(-)
>
> diff --git a/lib/eal/common/eal_common_dynmem.c b/lib/eal/common/eal_common_dynmem.c
> index 063470a28a..4643c13fb0 100644
> --- a/lib/eal/common/eal_common_dynmem.c
> +++ b/lib/eal/common/eal_common_dynmem.c
> @@ -378,7 +378,8 @@ eal_dynmem_calc_num_pages_per_socket(
> uint64_t remaining_mem, cur_mem;
> const struct internal_config *internal_conf =
> eal_get_internal_configuration();
> - uint64_t total_mem = internal_conf->memory;
> + const struct eal_user_cfg *user_cfg = eal_get_user_configuration();
> + uint64_t total_mem = user_cfg->memory;
>
> if (num_hp_info == 0)
> return -1;
> @@ -402,12 +403,12 @@ eal_dynmem_calc_num_pages_per_socket(
> * sockets according to number of cores from CPU mask present
> * on each socket.
> */
> - total_size = internal_conf->memory;
> + total_size = user_cfg->memory;
> for (socket = 0; socket < RTE_MAX_NUMA_NODES && total_size != 0;
> socket++) {
>
> /* Set memory amount per socket */
> - default_size = internal_conf->memory *
> + default_size = user_cfg->memory *
> cpu_per_socket[socket] / rte_lcore_count();
>
> /* Limit to maximum available memory on socket */
> @@ -438,7 +439,7 @@ eal_dynmem_calc_num_pages_per_socket(
> /* in 32-bit mode, allocate all of the memory only on main
> * lcore socket
> */
> - total_size = internal_conf->memory;
> + total_size = user_cfg->memory;
> for (socket = 0; socket < RTE_MAX_NUMA_NODES && total_size != 0;
> socket++) {
> struct rte_config *cfg = rte_eal_get_configuration();
> @@ -522,7 +523,7 @@ eal_dynmem_calc_num_pages_per_socket(
>
> /* if we didn't satisfy total memory requirements */
> if (total_mem > 0) {
> - requested = internal_conf->memory / 0x100000;
> + requested = user_cfg->memory / 0x100000;
> available = requested - (total_mem / 0x100000);
> EAL_LOG(ERR, "Not enough memory available! Requested: %uMB, available: %uMB",
> requested, available);
> diff --git a/lib/eal/common/eal_common_memory.c b/lib/eal/common/eal_common_memory.c
> index 33681e7a37..3caf97963d 100644
> --- a/lib/eal/common/eal_common_memory.c
> +++ b/lib/eal/common/eal_common_memory.c
> @@ -686,15 +686,15 @@ static int
> rte_eal_memdevice_init(void)
> {
> struct rte_config *config;
> - const struct internal_config *internal_conf;
> + const struct eal_user_cfg *user_cfg;
>
> if (rte_eal_process_type() == RTE_PROC_SECONDARY)
> return 0;
>
> - internal_conf = eal_get_internal_configuration();
> + user_cfg = eal_get_user_configuration();
> config = rte_eal_get_configuration();
> - config->mem_config->nchannel = internal_conf->force_nchannel;
> - config->mem_config->nrank = internal_conf->force_nrank;
> + config->mem_config->nchannel = user_cfg->force_nchannel;
> + config->mem_config->nrank = user_cfg->force_nrank;
>
> return 0;
> }
> diff --git a/lib/eal/common/eal_common_options.c b/lib/eal/common/eal_common_options.c
> index b2c0744447..31c58004cc 100644
> --- a/lib/eal/common/eal_common_options.c
> +++ b/lib/eal/common/eal_common_options.c
> @@ -509,11 +509,12 @@ eal_get_hugefile_prefix(void)
> void
> eal_reset_internal_config(struct internal_config *internal_cfg)
> {
> + struct eal_user_cfg *user_cfg = eal_get_user_configuration();
> int i;
>
> - internal_cfg->memory = 0;
> - internal_cfg->force_nrank = 0;
> - internal_cfg->force_nchannel = 0;
> + user_cfg->memory = 0;
> + user_cfg->force_nrank = 0;
> + user_cfg->force_nchannel = 0;
> internal_cfg->hugefile_prefix = NULL;
> internal_cfg->hugepage_dir = NULL;
> internal_cfg->hugepage_file.unlink_before_mapping = false;
> @@ -2071,6 +2072,7 @@ int
> eal_parse_args(void)
> {
> struct internal_config *int_cfg = eal_get_internal_configuration();
> + struct eal_user_cfg *user_cfg = eal_get_user_configuration();
> struct rte_config *rte_cfg = rte_eal_get_configuration();
> bool remap_lcores = (args.remap_lcore_ids != NULL);
> struct arg_list_elem *arg;
> @@ -2209,23 +2211,45 @@ eal_parse_args(void)
>
> /* memory options */
> if (args.memory_size != NULL) {
> - int_cfg->memory = atoi(args.memory_size);
> - int_cfg->memory *= 1024ULL;
> - int_cfg->memory *= 1024ULL;
> + char *end = NULL;
> + unsigned long long memory_mb;
> +
> + errno = 0;
> + memory_mb = strtoull(args.memory_size, &end, 10);
> + if (errno != 0 || args.memory_size[0] == '\0' || end[0] != '\0' ||
> + memory_mb > SIZE_MAX / (1024ULL * 1024ULL)) {
> + EAL_LOG(ERR, "invalid memory size parameter");
> + return -1;
> + }
> + user_cfg->memory = (size_t)memory_mb * 1024ULL * 1024ULL;
> }
> if (args.memory_channels != NULL) {
> - int_cfg->force_nchannel = atoi(args.memory_channels);
> - if (int_cfg->force_nchannel == 0) {
> + char *end = NULL;
> + unsigned long nchannel;
> +
> + errno = 0;
> + nchannel = strtoul(args.memory_channels, &end, 10);
> +
> + if (errno != 0 || args.memory_channels[0] == '\0' || end[0] != '\0' ||
> + nchannel == 0 || nchannel > UINT8_MAX) {
> EAL_LOG(ERR, "invalid memory channel parameter");
> return -1;
> }
> + user_cfg->force_nchannel = (uint8_t)nchannel;
> }
> if (args.memory_ranks != NULL) {
> - int_cfg->force_nrank = atoi(args.memory_ranks);
> - if (int_cfg->force_nrank == 0 || int_cfg->force_nrank > 16) {
> + char *end = NULL;
> + unsigned long nrank;
> +
> + errno = 0;
> + nrank = strtoul(args.memory_ranks, &end, 10);
> +
> + if (errno != 0 || args.memory_ranks[0] == '\0' || end[0] != '\0' ||
> + nrank == 0 || nrank > 16) {
> EAL_LOG(ERR, "invalid memory rank parameter");
> return -1;
> }
> + user_cfg->force_nrank = (uint8_t)nrank;
> }
> if (args.no_huge) {
> int_cfg->no_hugetlbfs = 1;
> @@ -2474,6 +2498,7 @@ eal_cleanup_config(struct internal_config *internal_cfg)
> int
> eal_adjust_config(struct internal_config *internal_cfg)
> {
> + struct eal_user_cfg *user_cfg = eal_get_user_configuration();
> int i;
>
> if (internal_cfg->process_type == RTE_PROC_AUTO)
> @@ -2484,7 +2509,7 @@ eal_adjust_config(struct internal_config *internal_cfg)
> /* if no memory amounts were requested, this will result in 0 and
> * will be overridden later, right after eal_hugepage_info_init() */
> for (i = 0; i < RTE_MAX_NUMA_NODES; i++)
> - internal_cfg->memory += internal_cfg->numa_mem[i];
> + user_cfg->memory += internal_cfg->numa_mem[i];
>
> return 0;
> }
> diff --git a/lib/eal/common/eal_internal_cfg.h b/lib/eal/common/eal_internal_cfg.h
> index cd24270f02..e56014cf73 100644
> --- a/lib/eal/common/eal_internal_cfg.h
> +++ b/lib/eal/common/eal_internal_cfg.h
> @@ -13,6 +13,7 @@
> #include <rte_eal.h>
> #include <rte_os_shim.h>
> #include <rte_pci_dev_feature_defs.h>
> +#include <stdint.h>
>
> #include "eal_thread.h"
>
> @@ -59,7 +60,9 @@ struct hugepage_file_discipline {
> * Immutable after initialization, so no need for atomic types or locks.
> */
> struct eal_user_cfg {
> - uint8_t reserved;
> + size_t memory; /**< amount of asked memory */
> + uint8_t force_nchannel; /**< force number of channels */
> + uint8_t force_nrank; /**< force number of ranks */
> };
>
> /**
> @@ -83,9 +86,6 @@ struct eal_runtime_state {
> * internal configuration
> */
> struct internal_config {
> - volatile size_t memory; /**< amount of asked memory */
> - volatile unsigned force_nchannel; /**< force number of channels */
> - volatile unsigned force_nrank; /**< force number of ranks */
> volatile unsigned no_hugetlbfs; /**< true to disable hugetlbfs */
Here and in other places I see you removed 'volatile' for quite few fields.
I also don't think 'volatile' is necessary here, but wonder do you have
an idea
why these fields were defined as 'volatile' at first place?
Just by mistake?
Overall looks like a good cleanup and separation, though I am still reading
through the patch.
> struct hugepage_file_discipline hugepage_file;
> volatile unsigned no_pci; /**< true to disable PCI */
> diff --git a/lib/eal/freebsd/eal.c b/lib/eal/freebsd/eal.c
> index faf5f0e911..ef48082770 100644
> --- a/lib/eal/freebsd/eal.c
> +++ b/lib/eal/freebsd/eal.c
> @@ -414,6 +414,7 @@ rte_eal_init(int argc, char **argv)
> const struct rte_config *config = rte_eal_get_configuration();
> struct internal_config *internal_conf =
> eal_get_internal_configuration();
> + struct eal_user_cfg *user_cfg = eal_get_user_configuration();
> bool has_phys_addr;
> enum rte_iova_mode iova_mode;
>
> @@ -592,11 +593,11 @@ rte_eal_init(int argc, char **argv)
> }
> }
>
> - if (internal_conf->memory == 0 && internal_conf->force_numa == 0) {
> + if (user_cfg->memory == 0 && internal_conf->force_numa == 0) {
> if (internal_conf->no_hugetlbfs)
> - internal_conf->memory = MEMSIZE_IF_NO_HUGE_PAGE;
> + user_cfg->memory = MEMSIZE_IF_NO_HUGE_PAGE;
> else
> - internal_conf->memory = eal_get_hugepage_mem_size();
> + user_cfg->memory = eal_get_hugepage_mem_size();
> }
>
> if (internal_conf->vmware_tsc_map == 1) {
> diff --git a/lib/eal/freebsd/eal_memory.c b/lib/eal/freebsd/eal_memory.c
> index d87e479863..f65089a521 100644
> --- a/lib/eal/freebsd/eal_memory.c
> +++ b/lib/eal/freebsd/eal_memory.c
> @@ -82,11 +82,12 @@ rte_eal_hugepage_init(void)
> struct rte_memseg_list *msl;
> uint64_t mem_sz, page_sz;
> int n_segs;
> + const struct eal_user_cfg *user_cfg = eal_get_user_configuration();
>
> /* create a memseg list */
> msl = &mcfg->memsegs[0];
>
> - mem_sz = internal_conf->memory;
> + mem_sz = user_cfg->memory;
> page_sz = RTE_PGSIZE_4K;
> n_segs = mem_sz / page_sz;
>
> @@ -121,7 +122,7 @@ rte_eal_hugepage_init(void)
> hpi = &internal_conf->hugepage_info[i];
> page_sz = hpi->hugepage_sz;
> max_pages = hpi->num_pages[0];
> - mem_needed = RTE_ALIGN_CEIL(internal_conf->memory - total_mem,
> + mem_needed = RTE_ALIGN_CEIL(eal_get_user_configuration()->memory - total_mem,
> page_sz);
>
> n_pages = RTE_MIN(mem_needed / page_sz, max_pages);
> @@ -248,14 +249,14 @@ rte_eal_hugepage_init(void)
>
> total_mem += seg->len;
> }
> - if (total_mem >= internal_conf->memory)
> + if (total_mem >= eal_get_user_configuration()->memory)
> break;
> }
> - if (total_mem < internal_conf->memory) {
> + if (total_mem < eal_get_user_configuration()->memory) {
> EAL_LOG(ERR, "Couldn't reserve requested memory, "
> "requested: %" PRIu64 "M "
> "available: %" PRIu64 "M",
> - internal_conf->memory >> 20, total_mem >> 20);
> + eal_get_user_configuration()->memory >> 20, total_mem >> 20);
> return -1;
> }
> return 0;
> diff --git a/lib/eal/linux/eal.c b/lib/eal/linux/eal.c
> index 278504237d..e06c356932 100644
> --- a/lib/eal/linux/eal.c
> +++ b/lib/eal/linux/eal.c
> @@ -574,6 +574,7 @@ rte_eal_init(int argc, char **argv)
> const struct rte_config *config = rte_eal_get_configuration();
> struct internal_config *internal_conf =
> eal_get_internal_configuration();
> + struct eal_user_cfg *user_cfg = eal_get_user_configuration();
>
> /* first check if we have been run before */
> if (!rte_atomic_compare_exchange_strong_explicit(&run_once, &has_run, 1,
> @@ -763,9 +764,9 @@ rte_eal_init(int argc, char **argv)
> }
> }
>
> - if (internal_conf->memory == 0 && internal_conf->force_numa == 0) {
> + if (user_cfg->memory == 0 && internal_conf->force_numa == 0) {
> if (internal_conf->no_hugetlbfs)
> - internal_conf->memory = MEMSIZE_IF_NO_HUGE_PAGE;
> + user_cfg->memory = MEMSIZE_IF_NO_HUGE_PAGE;
> }
>
> if (internal_conf->vmware_tsc_map == 1) {
> diff --git a/lib/eal/linux/eal_memory.c b/lib/eal/linux/eal_memory.c
> index 0edf66eea5..4566f2ef4c 100644
> --- a/lib/eal/linux/eal_memory.c
> +++ b/lib/eal/linux/eal_memory.c
> @@ -1173,7 +1173,7 @@ eal_legacy_hugepage_init(void)
> /* create a memseg list */
> msl = &mcfg->memsegs[0];
>
> - mem_sz = internal_conf->memory;
> + mem_sz = eal_get_user_configuration()->memory;
> page_sz = RTE_PGSIZE_4K;
> n_segs = mem_sz / page_sz;
>
> @@ -1194,7 +1194,7 @@ eal_legacy_hugepage_init(void)
> EAL_LOG(DEBUG, "Falling back to anonymous map");
> } else {
> /* we got an fd - now resize it */
> - if (ftruncate(memfd, internal_conf->memory) < 0) {
> + if (ftruncate(memfd, eal_get_user_configuration()->memory) < 0) {
> EAL_LOG(ERR, "Cannot resize memfd: %s",
> strerror(errno));
> EAL_LOG(ERR, "Falling back to anonymous map");
> @@ -1350,8 +1350,8 @@ eal_legacy_hugepage_init(void)
>
> huge_recover_sigbus();
>
> - if (internal_conf->memory == 0 && internal_conf->force_numa == 0)
> - internal_conf->memory = eal_get_hugepage_mem_size();
> + if (eal_get_user_configuration()->memory == 0 && internal_conf->force_numa == 0)
> + eal_get_user_configuration()->memory = eal_get_hugepage_mem_size();
>
> nr_hugefiles = nr_hugepages;
>
> @@ -1750,7 +1750,7 @@ memseg_primary_init_32(void)
> total_requested_mem += mem;
> }
> else
> - total_requested_mem = internal_conf->memory;
> + total_requested_mem = eal_get_user_configuration()->memory;
>
> if (total_requested_mem > mem32_max_mem) {
> EAL_LOG(ERR, "Invalid parameters: 32-bit process can at most use %uM of memory",
> @@ -1814,7 +1814,7 @@ memseg_primary_init_32(void)
> /* max amount of memory on this socket */
> max_socket_mem = (active_sockets != 0 ?
> internal_conf->numa_mem[socket_id] :
> - internal_conf->memory) +
> + eal_get_user_configuration()->memory) +
> extra_mem_per_socket;
> cur_socket_mem = 0;
>
> diff --git a/lib/eal/windows/eal.c b/lib/eal/windows/eal.c
> index 7309986910..efbee01757 100644
> --- a/lib/eal/windows/eal.c
> +++ b/lib/eal/windows/eal.c
> @@ -166,6 +166,7 @@ rte_eal_init(int argc, char **argv)
> const struct rte_config *config = rte_eal_get_configuration();
> struct internal_config *internal_conf =
> eal_get_internal_configuration();
> + struct eal_user_cfg *user_cfg = eal_get_user_configuration();
> bool has_phys_addr;
> enum rte_iova_mode iova_mode;
> int ret;
> @@ -241,9 +242,9 @@ rte_eal_init(int argc, char **argv)
> goto err_out;
> }
>
> - if (internal_conf->memory == 0 && !internal_conf->force_numa) {
> + if (user_cfg->memory == 0 && !internal_conf->force_numa) {
> if (internal_conf->no_hugetlbfs)
> - internal_conf->memory = MEMSIZE_IF_NO_HUGE_PAGE;
> + user_cfg->memory = MEMSIZE_IF_NO_HUGE_PAGE;
> }
>
> if (rte_eal_intr_init() < 0) {
> diff --git a/lib/eal/windows/eal_memory.c b/lib/eal/windows/eal_memory.c
> index 9f85191016..caaa557694 100644
> --- a/lib/eal/windows/eal_memory.c
> +++ b/lib/eal/windows/eal_memory.c
> @@ -680,13 +680,14 @@ eal_nohuge_init(void)
> mcfg = rte_eal_get_configuration()->mem_config;
> struct internal_config *internal_conf =
> eal_get_internal_configuration();
> + const struct eal_user_cfg *user_cfg = eal_get_user_configuration();
>
> /* nohuge mode is legacy mode */
> internal_conf->legacy_mem = 1;
>
> msl = &mcfg->memsegs[0];
>
> - mem_sz = internal_conf->memory;
> + mem_sz = user_cfg->memory;
> page_sz = RTE_PGSIZE_4K;
> n_segs = mem_sz / page_sz;
>
next prev parent reply other threads:[~2026-12-01 11:20 UTC|newest]
Thread overview: 176+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-29 16:57 [RFC PATCH 00/44] Allow intitializing EAL without argc/argv Bruce Richardson
2026-04-29 16:57 ` [RFC PATCH 01/44] eal: define new functionally distinct config structs Bruce Richardson
2026-04-29 19:03 ` Stephen Hemminger
2026-04-30 7:56 ` Bruce Richardson
2026-04-29 16:57 ` [RFC PATCH 02/44] eal: move memory request fields to user config Bruce Richardson
2026-04-29 16:57 ` [RFC PATCH 03/44] eal: move NUMA " Bruce Richardson
2026-04-29 16:57 ` [RFC PATCH 04/44] eal: move hugepage policy " Bruce Richardson
2026-04-29 16:57 ` [RFC PATCH 05/44] eal: move process " Bruce Richardson
2026-04-29 16:57 ` [RFC PATCH 06/44] eal: move advanced user config options to user cfg struct Bruce Richardson
2026-04-29 16:57 ` [RFC PATCH 07/44] eal: move hugepage size info to platform info struct Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 08/44] telemetry: make cpuset init parameter const Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 09/44] eal: move runtime state to appropriate structure Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 10/44] eal: record details of all cpus in platform info Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 11/44] eal: use platform info for lcore lookups Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 12/44] eal: add RTE_CPU_FFS macro Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 13/44] eal: store lcore configuration in runtime data Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 14/44] eal: cleanup CPU init function Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 15/44] eal: move numa node information to platform info struct Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 16/44] eal: move lcore role and count to runtime state Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 17/44] eal: make lcore role a field in lcore config struct Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 18/44] eal: move main lcore setting to runtime " Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 19/44] eal: move iova mode and process type to runtime cfg Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 20/44] eal: move memory config pointer to runtime state struct Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 21/44] eal: remove rte_config structure Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 22/44] eal: separate runtime state update from arg parsing Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 23/44] eal: move devopt_list staging list into user_cfg Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 24/44] eal: separate plugin paths from loaded plugin objects Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 25/44] eal: simplify internal driver path iteration APIs Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 26/44] eal: move trace config into user config struct Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 27/44] eal: record service cores in " Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 28/44] eal: store user-provided lcore info " Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 29/44] eal: clarify docs on params taking lcore IDs Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 30/44] eal: remove internal config reset function Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 31/44] eal: move functions setting runtime state Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 32/44] eal: initialize platform info on first use Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 33/44] eal: remove duplicated scan of sysfs for hugepage details Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 34/44] eal: add utilities for working with user config struct Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 35/44] eal: split EAL init into two stages Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 36/44] eal: provide hooks for init with externally supplied config Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 37/44] eal_cfg: add new library to programmatically init DPDK Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 38/44] eal_cfg: configure defaults for easier testing and use Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 39/44] app/test: enable testing init using EAL config lib Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 40/44] eal_cfg: add basic setters and getters Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 41/44] eal_cfg: add hugepage memory configuration Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 42/44] eal_cfg: support configuring lcores Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 43/44] eal_cfg: support device and driver lists Bruce Richardson
2026-04-29 16:58 ` [RFC PATCH 44/44] eal_cfg: add APIs for configuring remaining init settings Bruce Richardson
2026-04-29 21:40 ` [RFC PATCH 00/44] Allow intitializing EAL without argc/argv Stephen Hemminger
2026-04-29 22:04 ` Stephen Hemminger
2026-04-30 8:00 ` Bruce Richardson
2026-07-21 9:45 ` [PATCH 00/39] Rework EAL configuration Bruce Richardson
2026-07-21 9:45 ` [PATCH 01/39] telemetry: make cpuset init parameter const Bruce Richardson
2026-07-21 9:45 ` [PATCH 02/39] argparse: check for range overflow in CPU lists Bruce Richardson
2026-07-21 9:45 ` [PATCH 03/39] eal: define new functionally distinct config structs Bruce Richardson
2026-07-27 18:03 ` Stephen Hemminger
2026-08-18 13:36 ` Bruce Richardson
2026-07-21 9:45 ` [PATCH 04/39] eal: move memory request fields to user config Bruce Richardson
2026-07-21 9:45 ` [PATCH 05/39] eal: move NUMA " Bruce Richardson
2026-07-21 9:45 ` [PATCH 06/39] eal: move hugepage policy " Bruce Richardson
2026-07-21 9:45 ` [PATCH 07/39] eal: move process " Bruce Richardson
2026-07-21 9:45 ` [PATCH 08/39] eal: move hugepage limit fields to new config structs Bruce Richardson
2026-07-21 9:45 ` [PATCH 09/39] eal: move advanced user config options to user cfg struct Bruce Richardson
2026-07-21 9:45 ` [PATCH 10/39] eal: move hugepage size info to platform info struct Bruce Richardson
2026-07-21 9:45 ` [PATCH 11/39] eal: move runtime state to appropriate structure Bruce Richardson
2026-07-21 9:45 ` [PATCH 12/39] eal: record details of all cpus in platform info Bruce Richardson
2026-07-21 9:45 ` [PATCH 13/39] eal: use platform info for lcore lookups Bruce Richardson
2026-07-21 9:45 ` [PATCH 14/39] eal: add macro for lowest set CPU bit in a set Bruce Richardson
2026-07-21 9:45 ` [PATCH 15/39] eal: store lcore configuration in runtime data Bruce Richardson
2026-07-21 9:45 ` [PATCH 16/39] eal: move core indices bitset to runtime state Bruce Richardson
2026-07-21 9:45 ` [PATCH 17/39] eal: cleanup CPU init function Bruce Richardson
2026-07-21 9:45 ` [PATCH 18/39] eal: move NUMA node information to platform info struct Bruce Richardson
2026-07-21 9:45 ` [PATCH 19/39] eal: move lcore role and count to runtime state Bruce Richardson
2026-07-21 9:45 ` [PATCH 20/39] eal: make lcore role a field in lcore config struct Bruce Richardson
2026-07-21 9:45 ` [PATCH 21/39] eal: move main lcore setting to runtime " Bruce Richardson
2026-07-21 9:45 ` [PATCH 22/39] eal: move IOVA mode and process type to runtime cfg Bruce Richardson
2026-07-21 9:45 ` [PATCH 23/39] eal: move memory config pointer to runtime state struct Bruce Richardson
2026-07-21 9:45 ` [PATCH 24/39] eal: remove rte_config structure Bruce Richardson
2026-07-21 9:45 ` [PATCH 25/39] eal: separate runtime state update from arg parsing Bruce Richardson
2026-07-21 9:45 ` [PATCH 26/39] eal: move device options staging list into user cfg Bruce Richardson
2026-07-21 9:45 ` [PATCH 27/39] eal: separate plugin paths from loaded plugin objects Bruce Richardson
2026-07-21 9:45 ` [PATCH 28/39] eal: simplify internal driver path iteration APIs Bruce Richardson
2026-07-21 9:45 ` [PATCH 29/39] eal: move trace config into user config struct Bruce Richardson
2026-07-21 9:45 ` [PATCH 30/39] eal: record service cores in " Bruce Richardson
2026-07-21 9:45 ` [PATCH 31/39] eal: store user-provided lcore info " Bruce Richardson
2026-07-21 9:45 ` [PATCH 32/39] eal: clarify docs on params taking lcore IDs Bruce Richardson
2026-07-21 9:45 ` [PATCH 33/39] eal: remove internal config reset function Bruce Richardson
2026-07-21 9:45 ` [PATCH 34/39] eal: move functions setting runtime state Bruce Richardson
2026-07-21 9:45 ` [PATCH 35/39] eal: initialize platform info on first use Bruce Richardson
2026-07-21 9:45 ` [PATCH 36/39] eal: remove duplicated scan of sysfs for hugepage details Bruce Richardson
2026-07-21 9:45 ` [PATCH 37/39] eal: add utilities for working with user config struct Bruce Richardson
2026-07-21 9:45 ` [PATCH 38/39] eal: split EAL init into two stages Bruce Richardson
2026-07-21 9:45 ` [PATCH 39/39] eal: provide hooks for init with externally supplied config Bruce Richardson
2026-07-27 23:30 ` [PATCH 00/39] Rework EAL configuration Stephen Hemminger
2026-08-18 13:41 ` Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 " Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 01/39] telemetry: make cpuset init parameter const Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 02/39] argparse: check for range overflow in CPU lists Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 03/39] eal: define new functionally distinct config structs Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 04/39] eal: move memory request fields to user config Bruce Richardson
2026-12-01 11:20 ` Konstantin Ananyev [this message]
2026-12-01 11:34 ` Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 05/39] eal: move NUMA " Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 06/39] eal: move hugepage policy " Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 07/39] eal: move process " Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 08/39] eal: move hugepage limit fields to new config structs Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 09/39] eal: move advanced user config options to user cfg struct Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 10/39] eal: move hugepage size info to platform info struct Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 11/39] eal: move runtime state to appropriate structure Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 12/39] eal: record details of all cpus in platform info Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 13/39] eal: use platform info for lcore lookups Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 14/39] eal: add macro for lowest set CPU bit in a set Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 15/39] eal: store lcore configuration in runtime data Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 16/39] eal: move core indices bitset to runtime state Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 17/39] eal: cleanup CPU init function Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 18/39] eal: move NUMA node information to platform info struct Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 19/39] eal: move lcore role and count to runtime state Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 20/39] eal: make lcore role a field in lcore config struct Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 21/39] eal: move main lcore setting to runtime " Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 22/39] eal: move IOVA mode and process type to runtime cfg Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 23/39] eal: move memory config pointer to runtime state struct Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 24/39] eal: remove rte_config structure Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 25/39] eal: separate runtime state update from arg parsing Bruce Richardson
2026-11-26 18:13 ` [PATCH v3 26/39] eal: move device options staging list into user cfg Bruce Richardson
2026-11-26 18:14 ` [PATCH v3 27/39] eal: separate plugin paths from loaded plugin objects Bruce Richardson
2026-11-26 18:14 ` [PATCH v3 28/39] eal: simplify internal driver path iteration APIs Bruce Richardson
2026-11-26 18:14 ` [PATCH v3 29/39] eal: move trace config into user config struct Bruce Richardson
2026-11-26 18:14 ` [PATCH v3 30/39] eal: record service cores in " Bruce Richardson
2026-11-26 18:14 ` [PATCH v3 31/39] eal: store user-provided lcore info " Bruce Richardson
2026-11-26 18:14 ` [PATCH v3 32/39] eal: clarify docs on params taking lcore IDs Bruce Richardson
2026-11-26 18:14 ` [PATCH v3 33/39] eal: remove internal config reset function Bruce Richardson
2026-11-26 18:14 ` [PATCH v3 34/39] eal: move functions setting runtime state Bruce Richardson
2026-11-26 18:14 ` [PATCH v3 35/39] eal: initialize platform info on first use Bruce Richardson
2026-11-26 18:14 ` [PATCH v3 36/39] eal: remove duplicated scan of sysfs for hugepage details Bruce Richardson
2026-11-26 18:14 ` [PATCH v3 37/39] eal: add utilities for working with user config struct Bruce Richardson
2026-11-26 18:14 ` [PATCH v3 38/39] eal: split EAL init into two stages Bruce Richardson
2026-11-26 18:14 ` [PATCH v3 39/39] eal: provide hooks for init with externally supplied config Bruce Richardson
2026-08-18 13:32 ` [PATCH v2 00/39] Rework EAL configuration Bruce Richardson
2026-08-18 13:32 ` [PATCH v2 01/39] telemetry: make cpuset init parameter const Bruce Richardson
2026-08-18 13:32 ` [PATCH v2 02/39] argparse: check for range overflow in CPU lists Bruce Richardson
2026-08-18 13:32 ` [PATCH v2 03/39] eal: define new functionally distinct config structs Bruce Richardson
2026-08-18 13:32 ` [PATCH v2 04/39] eal: move memory request fields to user config Bruce Richardson
2026-08-18 13:32 ` [PATCH v2 05/39] eal: move NUMA " Bruce Richardson
2026-08-18 13:32 ` [PATCH v2 06/39] eal: move hugepage policy " Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 07/39] eal: move process " Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 08/39] eal: move hugepage limit fields to new config structs Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 09/39] eal: move advanced user config options to user cfg struct Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 10/39] eal: move hugepage size info to platform info struct Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 11/39] eal: move runtime state to appropriate structure Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 12/39] eal: record details of all cpus in platform info Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 13/39] eal: use platform info for lcore lookups Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 14/39] eal: add macro for lowest set CPU bit in a set Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 15/39] eal: store lcore configuration in runtime data Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 16/39] eal: move core indices bitset to runtime state Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 17/39] eal: cleanup CPU init function Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 18/39] eal: move NUMA node information to platform info struct Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 19/39] eal: move lcore role and count to runtime state Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 20/39] eal: make lcore role a field in lcore config struct Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 21/39] eal: move main lcore setting to runtime " Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 22/39] eal: move IOVA mode and process type to runtime cfg Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 23/39] eal: move memory config pointer to runtime state struct Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 24/39] eal: remove rte_config structure Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 25/39] eal: separate runtime state update from arg parsing Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 26/39] eal: move device options staging list into user cfg Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 27/39] eal: separate plugin paths from loaded plugin objects Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 28/39] eal: simplify internal driver path iteration APIs Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 29/39] eal: move trace config into user config struct Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 30/39] eal: record service cores in " Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 31/39] eal: store user-provided lcore info " Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 32/39] eal: clarify docs on params taking lcore IDs Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 33/39] eal: remove internal config reset function Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 34/39] eal: move functions setting runtime state Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 35/39] eal: initialize platform info on first use Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 36/39] eal: remove duplicated scan of sysfs for hugepage details Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 37/39] eal: add utilities for working with user config struct Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 38/39] eal: split EAL init into two stages Bruce Richardson
2026-08-18 13:33 ` [PATCH v2 39/39] eal: provide hooks for init with externally supplied config Bruce Richardson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=582a1c3a-e592-4e3d-b8a1-915d487be824@yandex.ru \
--to=konstantin.v.ananyev@yandex.ru \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox