From 6d239dd5295a8249a296ae9f0a5bc9802fea073e Mon Sep 17 00:00:00 2001 From: Pavan Nikhilesh Date: Wed, 10 Jan 2018 16:40:12 +0530 Subject: [PATCH] examples/eventdev: rename example Rename eventdev_pipeline_sw_pmd to eventdev_pipeline as it is no longer specific underlying event device. Signed-off-by: Pavan Nikhilesh Acked-by: Harry van Haaren --- MAINTAINERS | 4 ++-- .../{eventdev_pipeline_sw_pmd.rst => eventdev_pipeline.rst} | 6 +++--- doc/guides/sample_app_ug/index.rst | 2 +- examples/Makefile | 2 +- .../Makefile | 2 +- .../{eventdev_pipeline_sw_pmd => eventdev_pipeline}/main.c | 0 .../pipeline_common.h | 0 .../pipeline_worker_generic.c | 0 .../pipeline_worker_tx.c | 0 9 files changed, 8 insertions(+), 8 deletions(-) rename doc/guides/sample_app_ug/{eventdev_pipeline_sw_pmd.rst => eventdev_pipeline.rst} (97%) rename examples/{eventdev_pipeline_sw_pmd => eventdev_pipeline}/Makefile (94%) rename examples/{eventdev_pipeline_sw_pmd => eventdev_pipeline}/main.c (100%) rename examples/{eventdev_pipeline_sw_pmd => eventdev_pipeline}/pipeline_common.h (100%) rename examples/{eventdev_pipeline_sw_pmd => eventdev_pipeline}/pipeline_worker_generic.c (100%) rename examples/{eventdev_pipeline_sw_pmd => eventdev_pipeline}/pipeline_worker_tx.c (100%) diff --git a/MAINTAINERS b/MAINTAINERS index d39d2d9940..b9908e78c9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -718,8 +718,8 @@ Software Eventdev PMD M: Harry van Haaren F: drivers/event/sw/ F: doc/guides/eventdevs/sw.rst -F: examples/eventdev_pipeline_sw_pmd/ -F: doc/guides/sample_app_ug/eventdev_pipeline_sw_pmd.rst +F: examples/eventdev_pipeline/ +F: doc/guides/sample_app_ug/eventdev_pipeline.rst Software OPDL Eventdev PMD M: Liang Ma diff --git a/doc/guides/sample_app_ug/eventdev_pipeline_sw_pmd.rst b/doc/guides/sample_app_ug/eventdev_pipeline.rst similarity index 97% rename from doc/guides/sample_app_ug/eventdev_pipeline_sw_pmd.rst rename to doc/guides/sample_app_ug/eventdev_pipeline.rst index 01a5f9b21e..ff6d2f0b0c 100644 --- a/doc/guides/sample_app_ug/eventdev_pipeline_sw_pmd.rst +++ b/doc/guides/sample_app_ug/eventdev_pipeline.rst @@ -29,8 +29,8 @@ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -Eventdev Pipeline SW PMD Sample Application -=========================================== +Eventdev Pipeline Sample Application +==================================== The eventdev pipeline sample application is a sample app that demonstrates the usage of the eventdev API using the software PMD. It shows how an @@ -74,7 +74,7 @@ these settings is shown below: .. code-block:: console - ./build/eventdev_pipeline_sw_pmd --vdev event_sw0 -- -r1 -t1 -e4 -w FF00 -s4 -n0 -c32 -W1000 -D + ./build/eventdev_pipeline --vdev event_sw0 -- -r1 -t1 -e4 -w FF00 -s4 -n0 -c32 -W1000 -D The application has some sanity checking built-in, so if there is a function (eg; the RX core) which doesn't have a cpu core mask assigned, the application diff --git a/doc/guides/sample_app_ug/index.rst b/doc/guides/sample_app_ug/index.rst index 3d04cf7a02..85dc6f5ca2 100644 --- a/doc/guides/sample_app_ug/index.rst +++ b/doc/guides/sample_app_ug/index.rst @@ -74,7 +74,7 @@ Sample Applications User Guides netmap_compatibility ip_pipeline test_pipeline - eventdev_pipeline_sw_pmd + eventdev_pipeline dist_app vm_power_management tep_termination diff --git a/examples/Makefile b/examples/Makefile index 5840b2128c..17ecf7f64c 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -103,6 +103,6 @@ $(info vm_power_manager requires libvirt >= 0.9.3) endif endif -DIRS-y += eventdev_pipeline_sw_pmd +DIRS-y += eventdev_pipeline include $(RTE_SDK)/mk/rte.extsubdir.mk diff --git a/examples/eventdev_pipeline_sw_pmd/Makefile b/examples/eventdev_pipeline/Makefile similarity index 94% rename from examples/eventdev_pipeline_sw_pmd/Makefile rename to examples/eventdev_pipeline/Makefile index c099adff3c..94b4c86fd6 100644 --- a/examples/eventdev_pipeline_sw_pmd/Makefile +++ b/examples/eventdev_pipeline/Makefile @@ -11,7 +11,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc include $(RTE_SDK)/mk/rte.vars.mk # binary name -APP = eventdev_pipeline_sw_pmd +APP = eventdev_pipeline # all source are stored in SRCS-y SRCS-y := main.c diff --git a/examples/eventdev_pipeline_sw_pmd/main.c b/examples/eventdev_pipeline/main.c similarity index 100% rename from examples/eventdev_pipeline_sw_pmd/main.c rename to examples/eventdev_pipeline/main.c diff --git a/examples/eventdev_pipeline_sw_pmd/pipeline_common.h b/examples/eventdev_pipeline/pipeline_common.h similarity index 100% rename from examples/eventdev_pipeline_sw_pmd/pipeline_common.h rename to examples/eventdev_pipeline/pipeline_common.h diff --git a/examples/eventdev_pipeline_sw_pmd/pipeline_worker_generic.c b/examples/eventdev_pipeline/pipeline_worker_generic.c similarity index 100% rename from examples/eventdev_pipeline_sw_pmd/pipeline_worker_generic.c rename to examples/eventdev_pipeline/pipeline_worker_generic.c diff --git a/examples/eventdev_pipeline_sw_pmd/pipeline_worker_tx.c b/examples/eventdev_pipeline/pipeline_worker_tx.c similarity index 100% rename from examples/eventdev_pipeline_sw_pmd/pipeline_worker_tx.c rename to examples/eventdev_pipeline/pipeline_worker_tx.c -- 2.20.1