[dpdk-dev] [PATCH 01/25] eal: add API to lock/unlock memory hotplug

Stephen Hemminger stephen at networkplumber.org
Wed May 29 18:41:30 CEST 2019


On Wed, 29 May 2019 17:30:47 +0100
Anatoly Burakov <anatoly.burakov at intel.com> wrote:

> +rte_eal_mcfg_mem_read_lock(void)
> +{
> +	struct rte_mem_config *mcfg = rte_eal_get_configuration()->mem_config;
> +	rte_rwlock_read_lock(&mcfg->memory_hotplug_lock);
> +}
> +

We should also make eal configuration private but that is another battle.


More information about the dev mailing list