Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7095854pxb; Thu, 18 Feb 2021 00:57:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxAIc6pGHpyOKupix20GbAfJzXiep81XYdeaPCVJ88eQuOJ6WLEP7xrsRPbS9XscMkFm4qu X-Received: by 2002:a17:906:d89:: with SMTP id m9mr3075741eji.509.1613638648486; Thu, 18 Feb 2021 00:57:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613638648; cv=none; d=google.com; s=arc-20160816; b=yA987AbT8vGf7JE1BNNLFktTR6WWZpFs/Ykf46vWCQDv4jCQ12DLESFGZV0WcvLO9C JcD5Xw4iUZLeC8Ed0hlGD81vBehJXETMaC/7NA+s0STmJtiJLmF7RDTz1uQb13JfFJzr 0PB+BRLGb1+7NfCGx7nmCt95/Qgs7L33Ncv+wb0PCX0WY8vYepQnykV+by2iC4vwVVYo Mj+kZGCCI8FrgL/YtwS5GjaLoJm1Lk4ruQOwvuQjfU1KT145HnhmMrr6TirJgrdPtKm8 SIy3j5ux+WLQ+N+3PMtmI58xJGp3dmrV5AuI92i1fFEWTUYtc+iiwYRFJ1ZrT8/no6s/ y2LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DIgwNZHaj3qs1mjYosLjfX3cye3d9owAZJ02P2Gu1do=; b=buE3iz2g3D6wq256jOepTt4ThXaL+Y3QkuJdOvrjZngFRBas72I1pL/BfXrSmp3PH+ Pzp/EyNL4YOhBWJMyfeqP7Bmh4XYKIdL0oH0RJJKNxDq9i3jfTmuznfKR3dWV9I7NoLI Vg5EJWeGu7CsHVR6NTTo/NbtbGgB18MzL0MeaOmLirhjtxxW2UX0quV2chSRSiCa5+Tb ZcI81AcXIJBEIv6zdI6ymsb0I5rV4qsTeouJpHmyT809/kyBl98wr6wOyOKxP+O0KtGs TkWc9QVqJ5vw8j3e7F1Vqz2CkEYhEy8luPuhhmLeK2KOhF1LGj6uN2VI41Y9YRKiGZfF PRNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oA31Cx1Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o9si3767663ejr.220.2021.02.18.00.57.03; Thu, 18 Feb 2021 00:57:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oA31Cx1Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230303AbhBRIzn (ORCPT + 99 others); Thu, 18 Feb 2021 03:55:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:40430 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231265AbhBRHxf (ORCPT ); Thu, 18 Feb 2021 02:53:35 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 177BF64DE9; Thu, 18 Feb 2021 07:52:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1613634760; bh=rLN+7DPINUiBgTQ4NfBgonhFTc+9821s3j0bzu1XLlc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oA31Cx1Y92D9jR6pfPwYTuyJImrLHb/9sCwF8VVeRoXSazC+ap56YgvGMTexUxG02 DiMEDpMWG+2/O5AU8QMdJPzcGIO7Fedtheb0AET04sArdWactZqNT4ddNp/U9DlukF /4uShqyyi7OUsjWvqQMu+rAh2j/yPltkaJOuTB2U= Date: Thu, 18 Feb 2021 08:52:37 +0100 From: "gregkh@linuxfoundation.org" To: "Chen, Mike Ximing" Cc: "netdev@vger.kernel.org" , Linux Kernel Mailing List , "davem@davemloft.net" , "kuba@kernel.org" , "arnd@arndb.de" , "Williams, Dan J" , "pierre-louis.bossart@linux.intel.com" Subject: Re: [PATCH v10 01/20] dlb: add skeleton for DLB driver Message-ID: References: <20210210175423.1873-1-mike.ximing.chen@intel.com> <20210210175423.1873-2-mike.ximing.chen@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 18, 2021 at 07:34:31AM +0000, Chen, Mike Ximing wrote: > > > > -----Original Message----- > > From: Mike Ximing Chen > > Sent: Wednesday, February 10, 2021 12:54 PM > > To: netdev@vger.kernel.org > > Cc: davem@davemloft.net; kuba@kernel.org; arnd@arndb.de; > > gregkh@linuxfoundation.org; Williams, Dan J ; pierre- > > louis.bossart@linux.intel.com; Gage Eads > > Subject: [PATCH v10 01/20] dlb: add skeleton for DLB driver > > > > diff --git a/Documentation/misc-devices/dlb.rst b/Documentation/misc- > > devices/dlb.rst > > new file mode 100644 > > index 000000000000..aa79be07ee49 > > --- /dev/null > > +++ b/Documentation/misc-devices/dlb.rst > > @@ -0,0 +1,259 @@ > > +.. SPDX-License-Identifier: GPL-2.0-only > > + > > +=========================================== > > +Intel(R) Dynamic Load Balancer Overview > > +=========================================== > > + > > +:Authors: Gage Eads and Mike Ximing Chen > > + > > +Contents > > +======== > > + > > +- Introduction > > +- Scheduling > > +- Queue Entry > > +- Port > > +- Queue > > +- Credits > > +- Scheduling Domain > > +- Interrupts > > +- Power Management > > +- User Interface > > +- Reset > > + > > +Introduction > > +============ > > + > > +The Intel(r) Dynamic Load Balancer (Intel(r) DLB) is a PCIe device that > > +provides load-balanced, prioritized scheduling of core-to-core communication. > > + > > +Intel DLB is an accelerator for the event-driven programming model of > > +DPDK's Event Device Library[2]. The library is used in packet processing > > +pipelines that arrange for multi-core scalability, dynamic load-balancing, and > > +variety of packet distribution and synchronization schemes. > > + > > +Intel DLB device consists of queues and arbiters that connect producer > > +cores and consumer cores. The device 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. > > + > > Hi Jakub/Dave, > This is a device driver for a HW core-to-core communication accelerator. It is submitted > to "linux-kernel" for a module under device/misc. Greg suggested (see below) that we > also sent it to you for any potential feedback in case there is any interaction with > networking initiatives. The device is used to handle the load balancing among CPU cores > after the packets are received and forwarded to CPU. We don't think it interferes > with networking operations, but would appreciate very much your review/comment on this. It's the middle of the merge window, getting maintainers to review new stuff until after 5.12-rc1 is out is going to be a very difficult thing to do. In the meantime, why don't you all help out and review submitted patches to the mailing lists for the subsystems you all are trying to get this patch into. I know maintainers would appreciate the help, right? thanks, greg k-h