On 11-Sep-20 8:07 PM, Stephen Hemminger wrote:
Simple replacement.
Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
Acked-by: Anatoly Burakov <anatoly.bura...@intel.com>
With below fix
diff --git a/examples/ipsec-secgw/ipsec-secgw.c
b/examples/ipsec-secgw/ipsec-secgw.c
index 8ba15d23c7e8..49d8a93a12cc 100644
--- a/examples/ipsec-secgw/ipsec-secgw.c
+++ b/examples/ipsec-secgw/ipsec-secgw.c
@@ -2992,7 +2992,7 @@ main(int32_t argc, char **argv)
#endif /* STATS_INTERVAL */
/* launch per-lcore init on every lcore */
- rte_eal_mp_remote_launch(ipsec_launch_one_lcore, eh_conf, CALL_MASTER);
+ rte_eal_mp_remote_launch(ipsec_launch_one_lcore, eh_conf, CALL_MAIN);
RTE_LCORE_FOREACH_SLAVE(lcore_id) {
Missed updating the macro.
if (rte_eal_wait_lcore(lcore_id) < 0)
return -1;
--
Thanks,
Anatoly