Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp47539ybv; Wed, 19 Feb 2020 16:08:24 -0800 (PST) X-Google-Smtp-Source: APXvYqyRFodOSBwhZ5WjtV2qaDwVAZB3tFkrkhvDAtZ7OSJCnK/aakXHK96mOMJ6jBiaimX4oLeO X-Received: by 2002:a05:6808:b29:: with SMTP id t9mr186155oij.69.1582157304165; Wed, 19 Feb 2020 16:08:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582157304; cv=none; d=google.com; s=arc-20160816; b=GjJQxNqOSpZB/Hi6nAIMvSuEa3uQDCNZtLko8SisbB7FeR0JrZBF07k9JVdWVd05/M Osvb9gbRmPa3zg6/6Mxor+EAG3K12bp+4xCwt7lTqs2ycn2TP19jUaD6odxaQet6Ed39 Y8nWzYnItwMrZ6N5FNlFvdPI0kWbukQE5eKyLPMVA4qNe7z+Z5V5/bm+auhJq+SLJFLj Wpap/Y+PPSHVQCL8HpViAGoOBmMhhq1EjBRsQGDHC9EKloOm9J2/V1iHrFC6S+iYBN7n +3qrGYSZ3xLhfLO6mB2wXfjtLTip+H8wtAos1IWqguW+nILSqa2OyeWq20NHndIUdpAD ml1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=fs7aFUGuQDQwKtAq2jogalwziBPX7+a0D4piqySvYe0=; b=r4EI9OccOoK7pK/kfVIrdtd7q0V0m+apNI1RZ6vzbF7ZM4KIFxctoeN6oX1AsBJ8rX ael9Qp03huwknZzyQueCxez8sQR/gxZlL5FHDIUlV/98cVyWmkoqqgLdIBdc9fSuMfYG O4GifDSsQyvDZNXD7J5WPa4V3ZdpbR1BUzbBLass0eDdg2uH5TWe9z39l9MEmPuiaGyL W9ydrpSxIcp7yg5dbkYMyMoaXGuDof/NK2+zBDLW7YgMlQLtkj5sImZZjl/w4NZsYrYi hnalvg0aMsbiHmMCnwdYziAngoMKaObseuUWlwJFUzAQTw5sCefS1NS6DHZ7TG7N4lKv 6qKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j143si10563480oib.16.2020.02.19.16.08.11; Wed, 19 Feb 2020 16:08:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727020AbgBTAH6 (ORCPT + 99 others); Wed, 19 Feb 2020 19:07:58 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:45575 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726613AbgBTAH5 (ORCPT ); Wed, 19 Feb 2020 19:07:57 -0500 Received: by mail-oi1-f193.google.com with SMTP id v19so25718514oic.12 for ; Wed, 19 Feb 2020 16:07:57 -0800 (PST) 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=fs7aFUGuQDQwKtAq2jogalwziBPX7+a0D4piqySvYe0=; b=nccKca0BA6gPOXJUkgcj1h4wqX3gcmTSPfuCBZMuHrpdrGyCm4lMcdDeNyqRbUKo+p wS/O54VYw2gzU1cY6bsW5iG8h0P0UE2QpKUCWR/QsfelA94FmkTHJTmHRtLgSBHm025v MW9uFSDfNqBnv0RnEVZ/RePG8eAzo8PL6L9eZb5bvoXJaYNEuwsabFQlejsGHkB1Jjnw jM2MX+5jBIJp1+ycdAhJ5sszCUdJYjkfBV8NGTHFDKOiVYgx1xypgj9CIRRI9cbZlrVv 01b6aYC3bWEa6ibEw0ruIGL1x1OtRXv0+TDMPf8hFiBVsyqCwjQ/2y3NC00uGHifNj2H R7mQ== X-Gm-Message-State: APjAAAXPSpr8EHRmTi5Q60O+2XLM3ldAhamo7Qm1z8ttunRfayIYjFvY URp2qZzoLAbwbvr/b9JIuvP4a+/b X-Received: by 2002:aca:5303:: with SMTP id h3mr175058oib.109.1582157276613; Wed, 19 Feb 2020 16:07:56 -0800 (PST) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com. [209.85.210.49]) by smtp.gmail.com with ESMTPSA id c21sm512612oiy.11.2020.02.19.16.07.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Feb 2020 16:07:56 -0800 (PST) Received: by mail-ot1-f49.google.com with SMTP id i6so1997283otr.7 for ; Wed, 19 Feb 2020 16:07:55 -0800 (PST) X-Received: by 2002:a05:6830:1c8:: with SMTP id r8mr8886101ota.63.1582157275705; Wed, 19 Feb 2020 16:07:55 -0800 (PST) MIME-Version: 1.0 References: <1576170032-3124-1-git-send-email-youri.querry_1@nxp.com> In-Reply-To: From: Li Yang Date: Wed, 19 Feb 2020 18:07:44 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/3] soc: fsl: dpio: Enable QMAN batch enqueuing To: Roy Pledge Cc: Youri Querry , Roy Pledge , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , Ioana Ciornei , Alexandru Marginean Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 6, 2020 at 2:41 PM Roy Pledge wrote: > > On 12/12/2019 12:01 PM, Youri Querry wrote: > > This patch set consists of: > > - We added an interface to enqueue several packets at a time and > > improve performance. > > - Make the algorithm decisions once at initialization and use > > function pointers to improve performance. > > - Replaced the QMAN enqueue array mode algorithm with a ring > > mode algorithm. This is to make the enqueue of several frames > > at a time more effective. > > > > Youri Querry (3): > > soc: fsl: dpio: Adding QMAN multiple enqueue interface. > > soc: fsl: dpio: QMAN performance improvement. Function pointer > > indirection. > > soc: fsl: dpio: Replace QMAN array mode by ring mode enqueue. > > > > drivers/soc/fsl/dpio/dpio-service.c | 69 +++- > > drivers/soc/fsl/dpio/qbman-portal.c | 766 ++++++++++++++++++++++++++++++++---- > > drivers/soc/fsl/dpio/qbman-portal.h | 158 +++++++- > > include/soc/fsl/dpaa2-io.h | 6 +- > > 4 files changed, 907 insertions(+), 92 deletions(-) > > > Acked-by: Roy Pledge Series applied with some clean up and typo fix in the title/commit message. Regards, Leo