examples/multi_process: remove l2fwd fork example
PATCH 1/1 examples/multi_process: remove l2fwd fork example
l2fwd_fork relies on a multiprocess model that that DPDK does not support (calling rte_eal_init() before fork()), in particular in light of recent EAL changes like the multiproess communication channel.
This example can mislead users into thinking this is a supported multiprocess model; hence, this commit removes this example and the corresponding user guide documentation as well.
--- doc/guides/sample_app_ug/img/master_slave_proc.png | Bin 195232 -> 0 bytes doc/guides/sample_app_ug/img/slave_proc_recov.png | Bin 85287 -> 0 bytes doc/guides/sample_app_ug/index.rst | 4 - doc/guides/sample_app_ug/multi_process.rst | 406 ------- examples/multi_process/Makefile | 1 - examples/multi_process/l2fwd_fork/Makefile | 22 - examples/multi_process/l2fwd_fork/flib.c | 280 ----- examples/multi_process/l2fwd_fork/flib.h | 120 -- examples/multi_process/l2fwd_fork/main.c | 1258 -------------------- 9 files changed, 2091 deletions(-) delete mode 100644 doc/guides/sample_app_ug/img/master_slave_proc.png delete mode 100644 doc/guides/sample_app_ug/img/slave_proc_recov.png delete mode 100644 examples/multi_process/l2fwd_fork/Makefile delete mode 100644 examples/multi_process/l2fwd_fork/flib.c delete mode 100644 examples/multi_process/l2fwd_fork/flib.h delete mode 100644 examples/multi_process/l2fwd_fork/main.c
doc/guides/sample_app_ug/img/master_slave_proc.png deleted binary +0 -0
doc/guides/sample_app_ug/img/slave_proc_recov.png deleted binary +0 -0
doc/guides/sample_app_ug/index.rst +0 -4
@@ -83,10 +83,6 @@ Sample Applications User Guides :numref:`figure_client_svr_sym_multi_proc_app` :ref:`figure_client_svr_sym_multi_proc_app` -:numref:`figure_master_slave_proc` :ref:`figure_master_slave_proc` - -:numref:`figure_slave_proc_recov` :ref:`figure_slave_proc_recov` - :numref:`figure_qos_sched_app_arch` :ref:`figure_qos_sched_app_arch` :numref:`figure_pipeline_overview` :ref:`figure_pipeline_overview`
doc/guides/sample_app_ug/multi_process.rst +0 -406
409 lines not on this page · raw message
examples/multi_process/Makefile +0 -1
@@ -13,6 +13,5 @@ include $(RTE_SDK)/mk/rte.vars.mk DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += client_server_mp DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += simple_mp DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += symmetric_mp -DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += l2fwd_fork include $(RTE_SDK)/mk/rte.extsubdir.mk
examples/multi_process/l2fwd_fork/Makefile deleted +0 -22
@@ -1,22 +0,0 @@ -# SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2010-2014 Intel Corporation - -# binary name -APP = l2fwd-fork - -# all source are stored in SRCS-y -SRCS-y := main.c flib.c - -ifeq ($(RTE_SDK),) -$(error "Please define RTE_SDK environment variable") -endif - -# Default target, can be overridden by command line or environment -RTE_TARGET ?= x86_64-native-linuxapp-gcc - -include $(RTE_SDK)/mk/rte.vars.mk - -CFLAGS += -O3 -CFLAGS += $(WERROR_FLAGS) - -include $(RTE_SDK)/mk/rte.extapp.mk
examples/multi_process/l2fwd_fork/flib.c deleted +0 -280
280 lines not on this page · raw message
examples/multi_process/l2fwd_fork/flib.h deleted +0 -120
120 lines not on this page · raw message
examples/multi_process/l2fwd_fork/main.c deleted +0 -1258
1,258 lines not on this page · raw message
Signature · 1 line
2.13.6
Quoted 10 lines · Gage Eads
l2fwd_forkrelies on a multiprocess model that that DPDK does not support (callingrte_eal_init()beforefork()), in particular in light of recent EAL changes like the multiproess communication channel.This example can mislead users into thinking this is a supported multiprocess model; hence, this commit removes this example and the corresponding user guide documentation as well.
Signed-off-by Gage Eads <[email protected]>---
Hi Gage,
Maybe the commit message should reference the earlier discussion on the mailing list.
Signature · 2 lines
Thanks, Anatoly
Quoted 17 lines
-----Original Message-----
From: Burakov, Anatoly
Sent: Monday, July 30, 2018 3:53 AM
To: Eads, Gage <[email protected]>; [email protected]
Subject: Re: [PATCH] examples/multi_process: remove l2fwd fork exampleQuoted 8 lines · Gage Eads
l2fwd_forkrelies on a multiprocess model that that DPDK does not support (callingrte_eal_init()beforefork()), in particular in light of recent EAL changes like the multiproess communication channel.This example can mislead users into thinking this is a supported multiprocess model; hence, this commit removes this example and the corresponding user guide documentation as well.
Quoted 7 lines
Quoted 2 lines
Signed-off-by Gage Eads <[email protected]>---
Hi Gage,
Maybe the commit message should reference the earlier discussion on the mailing list.
Certainly, will do.
Thanks,
Gage
Quoted 4 lines
--
Thanks,
Anatoly
PATCH v2 1/1 examples/multi_process: remove l2fwd fork example
In reply to Gage Eadsl2fwd_fork relies on a multiprocess model that that DPDK does not support (calling rte_eal_init() before fork()), in particular in light of recent EAL changes like the multiproess communication channel.
This example can mislead users into thinking this is a supported multiprocess model; hence, this commit removes this example and the corresponding user guide documentation as well.
This patch was made following this mailing list discussion:
http://mails.dpdk.org/archives/dev/2018-July/108106.html
---
v2: Added reference to mailing list discussion
doc/guides/sample_app_ug/img/master_slave_proc.png | Bin 195232 -> 0 bytes doc/guides/sample_app_ug/img/slave_proc_recov.png | Bin 85287 -> 0 bytes doc/guides/sample_app_ug/index.rst | 4 - doc/guides/sample_app_ug/multi_process.rst | 406 ------- examples/multi_process/Makefile | 1 - examples/multi_process/l2fwd_fork/Makefile | 22 - examples/multi_process/l2fwd_fork/flib.c | 280 ----- examples/multi_process/l2fwd_fork/flib.h | 120 -- examples/multi_process/l2fwd_fork/main.c | 1258 -------------------- 9 files changed, 2091 deletions(-) delete mode 100644 doc/guides/sample_app_ug/img/master_slave_proc.png delete mode 100644 doc/guides/sample_app_ug/img/slave_proc_recov.png delete mode 100644 examples/multi_process/l2fwd_fork/Makefile delete mode 100644 examples/multi_process/l2fwd_fork/flib.c delete mode 100644 examples/multi_process/l2fwd_fork/flib.h delete mode 100644 examples/multi_process/l2fwd_fork/main.c
doc/guides/sample_app_ug/img/master_slave_proc.png deleted binary +0 -0
doc/guides/sample_app_ug/img/slave_proc_recov.png deleted binary +0 -0
doc/guides/sample_app_ug/index.rst +0 -4
@@ -83,10 +83,6 @@ Sample Applications User Guides :numref:`figure_client_svr_sym_multi_proc_app` :ref:`figure_client_svr_sym_multi_proc_app` -:numref:`figure_master_slave_proc` :ref:`figure_master_slave_proc` - -:numref:`figure_slave_proc_recov` :ref:`figure_slave_proc_recov` - :numref:`figure_qos_sched_app_arch` :ref:`figure_qos_sched_app_arch` :numref:`figure_pipeline_overview` :ref:`figure_pipeline_overview`
doc/guides/sample_app_ug/multi_process.rst +0 -406
409 lines not on this page · raw message
examples/multi_process/Makefile +0 -1
@@ -13,6 +13,5 @@ include $(RTE_SDK)/mk/rte.vars.mk DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += client_server_mp DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += simple_mp DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += symmetric_mp -DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += l2fwd_fork include $(RTE_SDK)/mk/rte.extsubdir.mk
examples/multi_process/l2fwd_fork/Makefile deleted +0 -22
@@ -1,22 +0,0 @@ -# SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2010-2014 Intel Corporation - -# binary name -APP = l2fwd-fork - -# all source are stored in SRCS-y -SRCS-y := main.c flib.c - -ifeq ($(RTE_SDK),) -$(error "Please define RTE_SDK environment variable") -endif - -# Default target, can be overridden by command line or environment -RTE_TARGET ?= x86_64-native-linuxapp-gcc - -include $(RTE_SDK)/mk/rte.vars.mk - -CFLAGS += -O3 -CFLAGS += $(WERROR_FLAGS) - -include $(RTE_SDK)/mk/rte.extapp.mk
examples/multi_process/l2fwd_fork/flib.c deleted +0 -280
280 lines not on this page · raw message
examples/multi_process/l2fwd_fork/flib.h deleted +0 -120
120 lines not on this page · raw message
examples/multi_process/l2fwd_fork/main.c deleted +0 -1258
1,258 lines not on this page · raw message
Signature · 1 line
2.13.6
Thomas Monjalon
Applied30/07/2018 17:10, Gage Eads:
Quoted 4 lines
l2fwd_forkrelies on a multiprocess model that that DPDK does not support (callingrte_eal_init()beforefork()), in particular in light of recent EAL changes like the multiproess communication channel.
Quoted 8 lines
This example can mislead users into thinking this is a supported multiprocess model; hence, this commit removes this example and the corresponding user guide documentation as well.
This patch was made following this mailing list discussion:
http://mails.dpdk.org/archives/dev/2018-July/108106.htmlSigned-off-by Gage Eads <[email protected]>
Applied, thanks