[dpdk-dev] [PATCH v10 01/10] eal: move OS common config objects
Tal Shnaiderman
talshn at mellanox.com
Mon Jun 29 17:36:08 CEST 2020
> Subject: [PATCH v10 01/10] eal: move OS common config objects
>
> From: Tal Shnaiderman <talshn at mellanox.com>
>
<snip>
> rte_eal_config_create(void)
> {
> + struct rte_config *config = rte_eal_get_configuration();
> + const struct internal_config *internal_conf =
> + eal_get_internal_configuration();
> size_t page_sz = sysconf(_SC_PAGE_SIZE);
> - size_t cfg_len = sizeof(*rte_config.mem_config);
> + size_t cfg_len = sizeof(rte_mem_config);
This line above in freebsd/eal.c breaks freebsd build, it should be
size_t cfg_len = sizeof(struct rte_mem_config);
> --
> 2.16.1.windows.4
More information about the dev
mailing list