From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4D562A3168 for ; Wed, 16 Oct 2019 14:39:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 00AD71E925; Wed, 16 Oct 2019 14:39:05 +0200 (CEST) Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by dpdk.org (Postfix) with ESMTP id B250E1E920 for ; Wed, 16 Oct 2019 14:39:03 +0200 (CEST) Received: by mail-io1-f68.google.com with SMTP id q10so53699067iop.2 for ; Wed, 16 Oct 2019 05:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1JMqsOXHZZAMuO/UblmYXd8XVLfWdYJj80Uh3IaLQR0=; b=CCzUDEsBpfL9riOE6dnM7EbOi0tQEpflbn5T9sZYikoAtsBC/v5dI2Y6iB9fQ5E+/z sGrIXplsio/pwMuRth7+JwoSpxi9wnUkjIjJTIskT1Gde+8AL68muGnPuXNJOSJUYADR 3Kck8Ue+w3Tl2UtwEvDAj0Vj4YTJVKexWamfUEtLBlVhNLc58fOCw0yldxNcTDJG6+V4 qYwm2WpkVRrup6kGs2O78vv41JX7BRDAu3YZ5GeUVVyA4ZR07ltEAM5zd4hFL3dcXmZ1 lM/phBz+/PE688nXXzLxbIin3J3puPTgHwLe4HB2FHpiEuRtXC05TE8dvvuMSE6XQEN9 mtHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1JMqsOXHZZAMuO/UblmYXd8XVLfWdYJj80Uh3IaLQR0=; b=ZvNsA5+EafjhwUmk0t2UUV4DEGqJpvwC0VckmDzRKMAa5A+NGWWFPSyBRTt3JGOuDQ ZIVbBeNPQfYnjfTNAU5gvta1aakdtaIEgDz7Rf7rAiuKLpUOjs/fRWzRSjhEJ+h6hCE7 o5rul+Hmm4Rvk1q25TkaV7Hagx/BUV4PQtwk15GULOOsh6HMdztXRLj4jPgYRGYRrS6V Kyu30zfHbKLQXuFw6YeVESDANMxvt6+lyZm3E+P51vpEa+2hoAZV+/dC4keNJvA6zXSq q3Y+UqF6+PWCre7TiCwzJ37tcwlBcTrLi9SbddBnTbUFUgmDKJPza8y4Pt0AS9kWGxzX q8/w== X-Gm-Message-State: APjAAAVkT/9Aet/msIq0Wjq3R/8Bro1t8jHBUtojxWDgkfQO/HasYYQm FfsCsAfXCuNZ+Ih/f0Qux/oy9yXGZ8euihq5GgY= X-Google-Smtp-Source: APXvYqwURKd64ViK7p1eJqTsZfhjjcYir9VYJoWciss+0uwBqinfppx8iY0SQx2dDCChcY33sii0dMYI5CW5cyAp/HU= X-Received: by 2002:a6b:6508:: with SMTP id z8mr19996839iob.271.1571229542771; Wed, 16 Oct 2019 05:39:02 -0700 (PDT) MIME-Version: 1.0 References: <20191002205754.11746-1-pbhagavatula@marvell.com> <20191014182247.961-1-pbhagavatula@marvell.com> In-Reply-To: <20191014182247.961-1-pbhagavatula@marvell.com> From: Jerin Jacob Date: Wed, 16 Oct 2019 18:08:51 +0530 Message-ID: To: Pavan Nikhilesh , Nipun Gupta , Marko Kovacevic , Sunil Kumar Kori , "Rao, Nikhil" , "Van Haaren, Harry" , Ori Kam , anoobj@marvell.com, lbartosik@marvell.com Cc: Jerin Jacob , "Richardson, Bruce" , Hemant Agrawal , dpdk-dev , mattias.ronnblom@ericsson.com, Erik Gabriel Carrillo , liang.j.ma@intel.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v6 00/10] example/l2fwd-event: introduce l2fwd-event example X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Oct 14, 2019 at 11:52 PM wrote: > > From: Pavan Nikhilesh > > This patchset adds a new application to demonstrate the usage of event > mode. The poll mode is also available to help with the transition. > > The following new command line parameters are added: > --mode: Dictates the mode of operation either poll or event. > --eventq_sched: Dictates event scheduling mode ordered, atomic or > parallel. > > Based on event device capability the configuration is done as follows: > - A single event device is enabled. > - The number of event ports is equal to the number of worker > cores enabled in the core mask. Additional event ports might > be configured based on Rx/Tx adapter capability. > - The number of event queues is equal to the number of ethernet > ports. If Tx adapter doesn't have internal port capability then > an additional single link event queue is used to enqueue events > to Tx adapter. > - Each event port is linked to all existing event queues. > - Dedicated Rx/Tx adapters for each Ethernet port. + Adding all eventdev PMD maintainers. # Got the ACK from NXP after testing with their HW. # I will merge this patch after the RC1. i.e End of next week if there are no more review comments. # Thanks Anoob and Lukas for the initial versions of this l2fwd-event support. > > v6 Changes: > - Shorten the structure name `s/event_rsrc/evt_rsrc` `s/l2fwd_rsrc/rsrc`. > - Use rte_panic instead of rte_exit. > - Rebase on top of Tx adapter change http://patches.dpdk.org/patch/60971. > - Update documentation and fix error, spellcheck. > - Fix meson build. > - Split functions into smaller functions for redability. > - Add parallel mode support. > > v5 Changes: > - Redo poll mode datapath by removing all the static globals. > - Fix event queue configuration when required queues are not available. > - Fix Rx/Tx adapter creation based on portmask. > - Update release notes. > - Unroll macro used to generate event mode functions. > > v4 Changes: > - Fix missing eventdev args parsing. > > v3 Changes: > - Remove unwanted change to example/l2fwd. > - Fix checkpatch issue > http://mails.dpdk.org/archives/test-report/2019-September/098053.html > > v2 Changes: > - Remove global variables. > - Split patches to make reviews friendlier. > - Split datapath based on eventdev capability. > > Pavan Nikhilesh (5): > examples/l2fwd-event: add default poll mode routines > examples/l2fwd-event: add infra for eventdev > examples/l2fwd-event: add service core setup > examples/l2fwd-event: add eventdev main loop > examples/l2fwd-event: add graceful teardown > > Sunil Kumar Kori (5): > examples/l2fwd-event: add infra to split eventdev framework > examples/l2fwd-event: add event device setup > examples/l2fwd-event: add eventdev queue and port setup > examples/l2fwd-event: add event Rx/Tx adapter setup > doc: add application usage guide for l2fwd-event > > MAINTAINERS | 6 + > doc/guides/rel_notes/release_19_11.rst | 6 + > doc/guides/sample_app_ug/index.rst | 1 + > doc/guides/sample_app_ug/intro.rst | 5 + > doc/guides/sample_app_ug/l2_forward_event.rst | 711 ++++++++++++++++++ > examples/Makefile | 1 + > examples/l2fwd-event/Makefile | 62 ++ > examples/l2fwd-event/l2fwd_common.c | 144 ++++ > examples/l2fwd-event/l2fwd_common.h | 133 ++++ > examples/l2fwd-event/l2fwd_event.c | 431 +++++++++++ > examples/l2fwd-event/l2fwd_event.h | 73 ++ > examples/l2fwd-event/l2fwd_event_generic.c | 315 ++++++++ > .../l2fwd-event/l2fwd_event_internal_port.c | 294 ++++++++ > examples/l2fwd-event/l2fwd_poll.c | 193 +++++ > examples/l2fwd-event/l2fwd_poll.h | 25 + > examples/l2fwd-event/main.c | 456 +++++++++++ > examples/l2fwd-event/meson.build | 18 + > examples/meson.build | 2 +- > 18 files changed, 2875 insertions(+), 1 deletion(-) > create mode 100644 doc/guides/sample_app_ug/l2_forward_event.rst > create mode 100644 examples/l2fwd-event/Makefile > create mode 100644 examples/l2fwd-event/l2fwd_common.c > create mode 100644 examples/l2fwd-event/l2fwd_common.h > create mode 100644 examples/l2fwd-event/l2fwd_event.c > create mode 100644 examples/l2fwd-event/l2fwd_event.h > create mode 100644 examples/l2fwd-event/l2fwd_event_generic.c > create mode 100644 examples/l2fwd-event/l2fwd_event_internal_port.c > create mode 100644 examples/l2fwd-event/l2fwd_poll.c > create mode 100644 examples/l2fwd-event/l2fwd_poll.h > create mode 100644 examples/l2fwd-event/main.c > create mode 100644 examples/l2fwd-event/meson.build > > -- > 2.17.1 >