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 A6243A04B5; Wed, 4 Dec 2019 16:16:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 401541BF6F; Wed, 4 Dec 2019 16:16:24 +0100 (CET) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by dpdk.org (Postfix) with ESMTP id A39551BE84 for ; Wed, 4 Dec 2019 16:16:23 +0100 (CET) Received: by mail-io1-f67.google.com with SMTP id z23so8331623iog.11 for ; Wed, 04 Dec 2019 07:16:23 -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=Zfkw9N4yCx5q0Il+ncU9eC3es2nec7W3BUr7K4B9Tig=; b=OoIc9PzQe+aun+OfgKZ9hCzXDAhxuBSOgR6v7MFpGFRcKWae3fyzynpEhMWsyMm9+o tfnRw8idZGuud34uR3zDKQblrl5XNaGrSf3lDpiI8/kHbzBRLH5UXUVCL9H3Bb6DFDzL tMdN35QhBEG1KvlO0JRC/doq4zKH/4gNF/FNbMsILHZjERLj70gLpn/7itpnKs9s/Pah yGuIdCY9qiG6dQFPXh8Or20gTcNVHj8lBG6BduDqKs8M04yR5YByEe77ff+8Dy0v0ErK Jpt+HY6U96CForHl5YEjZxfwW7BoUKiUe0e1+EF01CwAGR2vFGo+7rLsdE7H0/C61Y6R KP/w== 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=Zfkw9N4yCx5q0Il+ncU9eC3es2nec7W3BUr7K4B9Tig=; b=JB0Uyo5VihsBV/ucJ7LAgfZq8+4mEc6k0jcEHdD1yF2X7unaB2UvWS/s7j+MoE+89W 4vXo6XddmJKTuRnKUte9SpiWEF3q52KAb1wgt3QAFA6l5Gg+5wvuq7LQOciY7kkqGeEW SkEOa158PrPKqtnOTpTkqJRJ+/orMtHret/2EqJ+Khpn8/EqqkvWAvD7tYH9dJHI7PJO Wdi6WPt7kjAGoLKGQZjmMB6EnonPtxNACS0reIFvQXQsFUTYMfehIvB7Wm3jhsj5i0Ev O6X3ght/mJXNtlu4R9yGd/gsAnf/+WSXFMWl/4yaxze0kDK80zV+ijRObpn3TlBr+Ce6 PxnQ== X-Gm-Message-State: APjAAAXLYNuegEtKrr/amAQdH8HuqizTGJsyQOxNK0wm65ECRXuVa/9M P/B5TRjbypWo01nacYc/BF2WU6JSt6TYfCpdfu4= X-Google-Smtp-Source: APXvYqxC/aCCoMzZAEVxjF1PfbqA1zsGgDqq1E+GnkrNRfHC09+qINwfZaxK/nAsGU2Z+53vl6ylUXZRwR89wC6pu6Y= X-Received: by 2002:a02:b00c:: with SMTP id p12mr3484044jah.112.1575472582403; Wed, 04 Dec 2019 07:16:22 -0800 (PST) MIME-Version: 1.0 References: <20191204144345.5736-1-pbhagavatula@marvell.com> In-Reply-To: <20191204144345.5736-1-pbhagavatula@marvell.com> From: Jerin Jacob Date: Wed, 4 Dec 2019 20:46:06 +0530 Message-ID: To: Pavan Nikhilesh Cc: Jerin Jacob , dpdk-dev , "Ananyev, Konstantin" , Thomas Monjalon , "Richardson, Bruce" , Hemant Agrawal Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 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 Wed, Dec 4, 2019 at 8:13 PM 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. > > 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. > > 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. Since there is no maintainer for l3fwd and tech board decided to have a unified l3fwd application for poll mode and event mode, I request to have the review for the common code change(at least 8/11 and 9/11 patches). This series has been pushed from the last release to this release to have enough review. We would like to merge this patch for this release. Request a timely review.