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 3E235A04B3; Tue, 28 Jan 2020 10:09:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E09121C19E; Tue, 28 Jan 2020 10:09:34 +0100 (CET) Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by dpdk.org (Postfix) with ESMTP id 0A0BB1C19C for ; Tue, 28 Jan 2020 10:09:34 +0100 (CET) Received: by mail-io1-f68.google.com with SMTP id c16so13416710ioh.6 for ; Tue, 28 Jan 2020 01:09:33 -0800 (PST) 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=DlnN+Du4eahvzUbsDRLUc+zOVd75Dea9HibN7NB7jLY=; b=Fc9PyfDg7A49+fqZeMPIqpKOyf5RJG8lA8/Cyo3AHCm+vPQzFI8AFCnHzuoxC3N1vI 8GqY853TatPf/wLUI7SwN7QvNWfKinMd8dajWeA/jXcNw4anhkfzfmGSY0wDySN2tM4o d/HTMuLVArQaCJP6BvrWITWhPEumXZ9XCTUR46ctt7XlVQLGauHjQSetgCqVnvWtflFY g05TkktLFawsCNJKTDC+XM4QlJTsJzmIe6FwLf0vgEDaQALf6yOn55CSXcBy9PuwNS1Z 08tShLHqvhX8wEqJQYExUbwS8Blo+Y6CRZKDpcU/aN3dx6r2oM98/FqEgWKMTgQR7ram snAw== 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=DlnN+Du4eahvzUbsDRLUc+zOVd75Dea9HibN7NB7jLY=; b=n24eAVDGlomht04Lseku56+cmhMIIJRMRUAAefzn38kGAFIZCo4dd61PJWtq1Vswyz a1xsr+sOVYa9N0pa82IH54cQbDu+9B3jQKZFr45xPQB3AiJadYjXNOu4ODw5f040sVf0 dsSKUOGnUkZKAlt0toSrLfGvzMsgo0dlvWfm0n7yFbrpbYA+xxNXpPapgdlWBz6ptWm8 74GRlzJIu4yqtomxnyNNQTI7GFq1mDlSRTVc95Y8gRjMki9Zmz0aC068rtcc7ZOLOew2 Zj3ZdGnZsgyVZQ+7pCQHbga7bgn0aT+Eff49S7eJg5c2L2hH8xYERNAT6cRXKwEwQC+R H5PA== X-Gm-Message-State: APjAAAVy5n7rtxmIDpwfyqZhYqryXlT/7M+eLOmUQ0Vy1vtO2+Cjd/IU jr0CwNHfC0PrLmWrOb72BIrWjhBB07e5yhVeqdI= X-Google-Smtp-Source: APXvYqxO+QE+55FdSnRZM7K8qhHby5UM0HeouWcYg+sIxXcB9vNNhhhR3ELvzY07GDfc4SGtacLoVznBUe+2wruoFiA= X-Received: by 2002:a5e:8516:: with SMTP id i22mr16514404ioj.130.1580202573337; Tue, 28 Jan 2020 01:09:33 -0800 (PST) MIME-Version: 1.0 References: <20200124040542.2360--1-pbhagavatula@marvell.com> <20200128053506.2173-1-pbhagavatula@marvell.com> In-Reply-To: <20200128053506.2173-1-pbhagavatula@marvell.com> From: Jerin Jacob Date: Tue, 28 Jan 2020 14:39:16 +0530 Message-ID: To: Pavan Nikhilesh Cc: Jerin Jacob , "Ananyev, Konstantin" , dpdk-dev Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v6 00/11] example/l3fwd: introduce event device support 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 Tue, Jan 28, 2020 at 11:05 AM wrote: > > From: Pavan Nikhilesh > > This patchset adds support for event mode in l3fwd. > The poll mode is still the default mode of operation. > > The following new command line parameters are added: > --mode: Dictates the mode of operation either poll or event. If unset then > by default poll mode is used. > --eventq_sched: Dictates event synchronization mode i.e. either ordered, > atomic or parallel. > --event-eth-rxqs: Number of ethernet RX queues per device. > > 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. > > v6 Changes: > ---------- > - Fix typo in comments. > > v5 Changes: > ---------- > - Update release notes and MAINTAINERS file. > - Fix typo in doc. > > v4 Changes: > ---------- > - Update documentation about --event-eth-rxqs. (Jerin) > - Add validation for command line options that are specific to event/poll mode. > - Fix event device service initialization. > > v3 Changes: > ---------- > - Unify argument parsing. > - Segregate poll mode and event mode initialization. > - Simplify event resource creation and accesses. > - Integrate http://patches.dpdk.org/project/dpdk/list/?series=8002 series. > - Reduce code duplication in lpm. > > v2 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. > - Add parallel mode support. > - Fix missing eventdev args parsing. > > > Pavan Nikhilesh (7): > examples/l3fwd: add event device configuration > examples/l3fwd: add event eth Rx/Tx adapter setup > examples/l3fwd: add service core setup based on caps > examples/l3fwd: add event lpm main loop > examples/l3fwd: add event em main loop > examples/l3fwd: add graceful teardown for eventdevice > doc: update l3fwd user guide to support eventdev > > Sunil Kumar Kori (4): > examples/l3fwd: add framework for event device > examples/l3fwd: split pipelines based on capability > examples/l3fwd: add ethdev setup based on eventdev > examples/l3fwd: add event port and queue setup Series-Acked-by: Jerin Jacob Series applied to dpdk-next-eventdev/master. Thanks. > > MAINTAINERS | 1 + > doc/guides/rel_notes/release_20_02.rst | 5 + > doc/guides/sample_app_ug/l3_forward.rst | 79 ++++- > examples/l3fwd/Makefile | 3 +- > examples/l3fwd/l3fwd.h | 30 ++ > examples/l3fwd/l3fwd_em.c | 177 +++++++++++ > examples/l3fwd/l3fwd_em.h | 159 +++++++--- > examples/l3fwd/l3fwd_em_hlm.h | 131 ++++++++ > examples/l3fwd/l3fwd_em_sequential.h | 26 ++ > examples/l3fwd/l3fwd_event.c | 263 ++++++++++++++++ > examples/l3fwd/l3fwd_event.h | 86 ++++++ > examples/l3fwd/l3fwd_event_generic.c | 303 ++++++++++++++++++ > examples/l3fwd/l3fwd_event_internal_port.c | 279 +++++++++++++++++ > examples/l3fwd/l3fwd_lpm.c | 203 ++++++++++++ > examples/l3fwd/main.c | 341 +++++++++++++++++---- > examples/l3fwd/meson.build | 5 +- > 16 files changed, 1976 insertions(+), 115 deletions(-) > create mode 100644 examples/l3fwd/l3fwd_event.c > create mode 100644 examples/l3fwd/l3fwd_event.h > create mode 100644 examples/l3fwd/l3fwd_event_generic.c > create mode 100644 examples/l3fwd/l3fwd_event_internal_port.c > > -- > 2.17.1 >