Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1007625pxb; Tue, 9 Feb 2021 19:50:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJycVYe3f8Tr766XnSZrxHP4d98L+V0VbbNBe69ZRYgQ4VVL113JWck837qP+sLK8HsH8Lqo X-Received: by 2002:a05:6402:1711:: with SMTP id y17mr1282622edu.72.1612929015603; Tue, 09 Feb 2021 19:50:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612929015; cv=none; d=google.com; s=arc-20160816; b=Ajm8kuIJlfAS6yPDmjVG5RM17k5j9mJCMRlA8db6RaXRhwWJsP5ivKmJ0tpOweo4zu pHeCdZYyFBztdvqUgMjyRajKphMPoSQfgJR9zVXdJnCW2dbIWv2oOpwQDTtzxNiw3XKO +rg5v5sLfBv07JqqD82mGxZmrmf1DxC+GRwWZugKRx6eG7/x91KSyiD+KPU1KM0y0nu3 qdGv2UnrIkPeAUsL6da24YpnsYVivDz1JJ/T2KDWYCgUlMI6X/CrqgQT83zrZELoJaFf MT6ptW3aRA6WZc+/G5+M5LpC/En+x538svkm4vc2WXoirUJHhdnoPFA8mE12Dy34Cumr BXvA== 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=s+478TseKM0q2foVzfe2pnFmnDOGz2CdOKdUvbQwhMM=; b=Gmdu2Aj4eogpHyQmQ+M/HXkYafDQo1Lu+ztBA8UPRVulGspuOk97isYcNmpsiGxBRC 7ZIWVF/wAEIe9iroa0cDAmDtAs64EMZBdEurzsGUb8KoiBIvXWHjn4ag1S405Q+5rHMZ is9ONJY98AavCYX9NbZwW8iQFE2C8irOCgoOEF/dX8m0ypyCfzdz0wZ2adEko9diy03U kDUd0pH8Umb4aKdEBAaqT5tFknvIxOZimYmN3B9kvSktAPS12zyX5hWW/+TbhhTC6k6h OoCk5LaOSF1+nvBXr65o22QUW+E6zPRFQ0bKObPwaJxmUVi7hq239iD+zndiFDT+OlnJ VZFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="f7I6F/qV"; 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 hc41si486272ejc.381.2021.02.09.19.49.51; Tue, 09 Feb 2021 19:50:15 -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="f7I6F/qV"; 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 S231348AbhBINh7 (ORCPT + 99 others); Tue, 9 Feb 2021 08:37:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:44652 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230080AbhBINhZ (ORCPT ); Tue, 9 Feb 2021 08:37:25 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3D03C64ECC; Tue, 9 Feb 2021 13:36:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612877799; bh=aCMDFgriYUqM7ObWJ2eF1msupqikQ0hVEHs5rlbVExE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f7I6F/qVo+KtBHio0909wvtJWvsN7C4SBlErYV8Om+uaN0DHuCsNb2hWwHwPrmpSO xcw6CMPsFsVlyOn8d9wS8cQfrdTXdJZ+5CGAcueIKsoYOon4MKnl3Nsy9xTJu+5FtP 0bf08C9ZvSMibh+qcIFX+BEsIo62PYOPxUOyJ9ok= Date: Tue, 9 Feb 2021 14:36:37 +0100 From: Greg KH To: Mike Ximing Chen Cc: linux-kernel@vger.kernel.org, arnd@arndb.de, dan.j.williams@intel.com, pierre-louis.bossart@linux.intel.com, Gage Eads Subject: Re: [PATCH v10 01/20] dlb: add skeleton for DLB driver Message-ID: References: <20210127225641.1342-1-mike.ximing.chen@intel.com> <20210127225641.1342-2-mike.ximing.chen@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210127225641.1342-2-mike.ximing.chen@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 27, 2021 at 04:56:22PM -0600, Mike Ximing Chen wrote: > Add basic driver functionality (load, unload, probe, and remove callbacks) > for the DLB driver. > > Add documentation which describes in detail the hardware, the user > interface, device interrupts, and the driver's power-management strategy. > For more details about the driver see the documentation in the patch. > > Add a DLB entry to the MAINTAINERS file. > > Signed-off-by: Gage Eads > Signed-off-by: Mike Ximing Chen > Reviewed-by: Magnus Karlsson > Reviewed-by: Dan Williams > --- > Documentation/misc-devices/dlb.rst | 259 +++++++++++++++++++++++++++ > Documentation/misc-devices/index.rst | 1 + > MAINTAINERS | 8 + > drivers/misc/Kconfig | 1 + > drivers/misc/Makefile | 1 + > drivers/misc/dlb/Kconfig | 18 ++ > drivers/misc/dlb/Makefile | 9 + > drivers/misc/dlb/dlb_hw_types.h | 32 ++++ > drivers/misc/dlb/dlb_main.c | 156 ++++++++++++++++ > drivers/misc/dlb/dlb_main.h | 37 ++++ > 10 files changed, 522 insertions(+) > create mode 100644 Documentation/misc-devices/dlb.rst > create mode 100644 drivers/misc/dlb/Kconfig > create mode 100644 drivers/misc/dlb/Makefile > create mode 100644 drivers/misc/dlb/dlb_hw_types.h > create mode 100644 drivers/misc/dlb/dlb_main.c > create mode 100644 drivers/misc/dlb/dlb_main.h > > 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. As this is a networking related thing, I would like you to get the proper reviews/acks from the networking maintainers before I can take this. Or, if they think it has nothing to do with networking, that's fine too, but please do not try to route around them. thanks, greg k-h