[dpdk-stable] [PATCH 18.11] Revert "eal/freebsd: fix config creation"

Kevin Traynor ktraynor at redhat.com
Fri Jan 31 10:37:30 CET 2020


On 29/01/2020 13:45, Kevin Traynor wrote:
> This reverts commit 0d39a496a6be090f3f3288080c66cd04c566b185.
> 
> Reverted commit is a fix for dpdk master commit:
> b149a7064261 ("eal/freebsd: add config reattach in secondary process")
> which is not backported to DPDK 18.11 stable branch at this time.
> 
> Reverted commit can be re-applied if the fixed commit is
> backported to the stable branch.
> 
> Signed-off-by: Kevin Traynor <ktraynor at redhat.com>
> Cc: Anatoly Burakov <anatoly.burakov at intel.com>
> ---

Applied

>  lib/librte_eal/bsdapp/eal/eal.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c
> index e85c26ae64..30b4cf7bf0 100644
> --- a/lib/librte_eal/bsdapp/eal/eal.c
> +++ b/lib/librte_eal/bsdapp/eal/eal.c
> @@ -254,9 +254,4 @@ rte_eal_config_create(void)
>  	memcpy(rte_mem_cfg_addr, &early_mem_config, sizeof(early_mem_config));
>  	rte_config.mem_config = rte_mem_cfg_addr;
> -
> -	/* store address of the config in the config itself so that secondary
> -	 * processes could later map the config into this exact location
> -	 */
> -	rte_config.mem_config->mem_cfg_addr = (uintptr_t) rte_mem_cfg_addr;
>  }
>  
> 



More information about the stable mailing list