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 29746A04B1; Tue, 29 Sep 2020 20:46:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F21EF1D579; Tue, 29 Sep 2020 20:46:46 +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 A771A1BEEA for ; Tue, 29 Sep 2020 20:46:45 +0200 (CEST) Received: by mail-io1-f68.google.com with SMTP id g7so5880151iov.13 for ; Tue, 29 Sep 2020 11:46:45 -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=9sbr6WunHnHY0DQaxDCdosUouU9McjHv3RkWeASsHjY=; b=CiBkRJG9QJi44gzNo466c0X7OlAr0hsFaAwZTELh2KJK6gUwHFn+OWnYM8e79ivZj+ Viphoo2wiqRm6jchgBOeudcflZsl/jIIhFcf5PMs1rMOtgAzhlACnF7jPps/79VOtotH EL1eqEotiWIl6pVHwqs1XfwdTbtF8eO4kXLlWCf/eqrFw9i/aVa07r31fSai3iU2GaOy advc4Rj/vkTJvpf5WiOxJt56AVCCsrulb9M9KBHfeaqGLhNhfrZrVmMSrazb8DfAyDmm O3wF62FL1oShErSLH7VFPT8NqQ+gEPONpAPUm1fBAVQwjXTEknYUaNHPz+Mv37B2ddth I+NA== 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=9sbr6WunHnHY0DQaxDCdosUouU9McjHv3RkWeASsHjY=; b=Zdydlf8T21OWVcEBzeKakvl0URVLcFeukk5ALnx4ovXNM3xl16vfRu1rYYn4Zf75T1 rpDustZbEGqumAD2Cfma13bME+sRg251gIB6xu+0oK7hXzyNnysR3c5m0///c/nNonYr +tVzhSh/mArS/rYYGLQcweZUh8Gw06U1Y2E97y3kDJGtPTwbvEEthaJ6XMm+tzA31a8N yXf9ebqU3xDiLnfR0x1/7nJBb8Hi/vhMTWjkRerRhy3gx/YVXL0/QDMTsgDWk4QNCgJi oMz61YqHNY+KYVfGvaW7j12Ft2OaSoRNyZcSB3KhyZUyoI4yvlLEGh10TdTQv+edpqe+ O2pg== X-Gm-Message-State: AOAM532b3XZmRDdb2Qe0I4pzmY/n8kBLiXi/0AE6eDYrJQscma1Gs/4H PfxiZX+1Kc6NvBVLE/iOhFbtS1y4a7y73hk9TW4= X-Google-Smtp-Source: ABdhPJxmOA01PMnSlDUmxM34D6ae0uqy6vCwM/oU8TzeU5viXq/3yAJWWQnIVZwQ9X3oQjfxrwkQwhWPq1Tbedbne/Y= X-Received: by 2002:a05:6602:2a45:: with SMTP id k5mr3589409iov.1.1601405203984; Tue, 29 Sep 2020 11:46:43 -0700 (PDT) MIME-Version: 1.0 References: <1599855987-25976-1-git-send-email-timothy.mcdaniel@intel.com> In-Reply-To: <1599855987-25976-1-git-send-email-timothy.mcdaniel@intel.com> From: Jerin Jacob Date: Wed, 30 Sep 2020 00:16:27 +0530 Message-ID: To: Timothy McDaniel , Thomas Monjalon , David Marchand , Liang Ma Cc: dpdk-dev , Erik Gabriel Carrillo , Gage Eads , "Van Haaren, Harry" , Jerin Jacob Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 00/22] Add DLB2 PMD 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 Sat, Sep 12, 2020 at 2:00 AM Timothy McDaniel wrote: > > The following patch series adds support for a new eventdev PMD. The DLB2 > PMD adds support for the Intel Dynamic Load Balancer 2.0 (DLB2) > hardware. > The DLB2 is a PCIe device that provides load-balanced, prioritized > scheduling of core-to-core communication. The device consists of > queues and arbiters that connect producer and consumer cores, and > implements load-balanced queueing features including: > - Lock-free multi-producer/multi-consumer operation. > - Multiple priority levels for varying traffic types. > - 'Direct' traffic (i.e. multi-producer/single-consumer) > - Simple unordered load-balanced distribution. > - Atomic lock-free load balancing across multiple consumers. > - Queue element reordering feature allowing ordered load-balanced > distribution. > > The DLB2 hardware supports both load balanced and directed ports and > queues. Unlike other eventdev devices already in the repo, not all > DLB2 ports and queues are equally capable. In particular, directed > ports are limited to a single link, and must be connected to a > directed queue. Additionally, even though LDB ports may link multiple queues, > the number of queues that may be linked is limited by hardware. > > While reviewing the code, please be aware that this PMD has full > control over the DLB2 hardware. Intel will be extending the DLB2 PMD > in the future (not as part of this first series) with a mode that we > refer to as the bifurcated PMD. The bifurcated PMD communicates with a > kernel driver to configure the device, ports, and queues, and memory > maps device MMIO so datapath operations occur purely in user-space. > Note that the DLB2 hardware is a successor of the DLB hardware, and > as such is structured similarly, both in terms of code layout and > implementation. > > The framework to support both the PF PMD and bifurcated PMD exists in > this patchset, and is why the iface.[ch] layer is present. > > Depends-on: patch-77466 ("eventdev: add PCI probe named convenience function") > Depends-on: series-12160 ("Eventdev ABI changes") > Depends-on: patch-77460 ("eal: add umonitor umwait to x86 cpuflags") Cc: Thomas and David There is a duplicate for patch-77460 as https://patches.dpdk.org/patch/76554/ from different authors, and both are open comments to be closed. @McDaniel, Timothy and @Liang Ma , We need to have this eal patch on master before I merge this patch series in eventdev-next. Please check. >