patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 18.11] Revert "eal/freebsd: fix config creation"
@ 2020-01-29 13:45 Kevin Traynor
  2020-01-31  9:37 ` Kevin Traynor
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Traynor @ 2020-01-29 13:45 UTC (permalink / raw)
  To: stable; +Cc: Kevin Traynor, Anatoly Burakov

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@redhat.com>
Cc: Anatoly Burakov <anatoly.burakov@intel.com>
---
 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;
 }
 
-- 
2.21.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-31  9:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-29 13:45 [dpdk-stable] [PATCH 18.11] Revert "eal/freebsd: fix config creation" Kevin Traynor
2020-01-31  9:37 ` Kevin Traynor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).