Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp472078ybg; Fri, 18 Oct 2019 02:40:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzm3k25MhJ0WKUiJOlQOF+MnsWelAcsNUwdIWko0MAJFPkOcYRSkhIhVMAmuU/2Ppg8m6e8 X-Received: by 2002:aa7:d0d5:: with SMTP id u21mr8669523edo.36.1571391638429; Fri, 18 Oct 2019 02:40:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571391638; cv=none; d=google.com; s=arc-20160816; b=GtD0K/vxGe0J8s9JLcucTh6BNgA1gK7ppsH2u04qO7yZudiNzqXIpL4bqFJt7DbHR8 DAvhBv3Dt+FyAbwKpT2IqNg14wUdmAnoZ4e7UqmvMUt3M7Ar1wXBtn0p6/4N9JaXoSI2 XLndlJzX4353H4xw4hU0xbk5QiwFdhVSBtw4dt5BrVgcZQzT2kEaOmQPiBx0k4rx2afh GVezIQytyHk/oqjlcKDW+HhrVDeZtcgzCLrUhgsKiHobd8aq3VWOb4+nsphFrJrOaFpS mUG2NYx1Uhbo28tXMk094TJ42SUU03tLoLBapcLzyHMPuePeWXl1ipb+0hXDNSNdHNdH EAmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Zwfo+NvGpR5T8oR1sNvbLalVkYN955+FFfM4WqG0Ufo=; b=Vs1le9BIqpBBetizN9f4W0JeMdgep5zI4d9mvVNr98bfPf6GJTe00ZEZUiDaCd1ZHV p5/Qn3UfjDcek39If/KUKI2TNzjObz989updOC/BK8zWy5THsaC+gTi2Eui1dxNfQ44U +zPR0gzip0TGrAaxnGmk/h9Kvr3xqAkA9kV9x7WXMCcRpm7FiHGFxkFWIRgrhm6E7v+p DjtNDRrmVEBzlcgiiKb06mto119AZbnzI5QNHhOfpVtf8wvykbFbMSnxlKo22ifUsViY yUPB987t2GkaBSJkU/Ts4SrOIqv47X2CHETMEWT9vzl+AbA1lI/YPzvLRSTCxa8mjbhj HImQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CApPIGjj; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n6si3042045ejj.232.2019.10.18.02.39.43; Fri, 18 Oct 2019 02:40:38 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=CApPIGjj; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407717AbfJQELg (ORCPT + 99 others); Thu, 17 Oct 2019 00:11:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:32984 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407691AbfJQELg (ORCPT ); Thu, 17 Oct 2019 00:11:36 -0400 Received: from localhost (unknown [122.178.218.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 46CBA2067D; Thu, 17 Oct 2019 04:11:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571285495; bh=OG/e9cbDVf6MXuiL6WpjqtCgrty2CJLM5dlbKC/B2s8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CApPIGjjgv7lxeVcwfArS9QvEROVMD8J6i+CPDXVslaZX4+UbSSSjui4ZAW66vKYf EhDhrFllt8RKoDbVjew8WsIsTFPuvVvsqeY8KK4WRrJtgmqvDXU/Q4cWvGz52gmt3l /ZEar8610bvYZJqhBB21DTJLAFN/hqpN2Pk1BXKM= Date: Thu, 17 Oct 2019 09:41:24 +0530 From: Vinod Koul To: Peng Ma Cc: dan.j.williams@intel.com, leoyang.li@nxp.com, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org Subject: Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support Message-ID: <20191017041124.GN2654@vkoul-mobl> References: <20190930020440.7754-1-peng.ma@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190930020440.7754-1-peng.ma@nxp.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30-09-19, 02:04, Peng Ma wrote: > The MC(Management Complex) exports the DPDMAI(Data Path DMA Interface) > object as an interface to operate the DPAA2(Data Path Acceleration > Architecture 2) qDMA Engine. The DPDMAI enables sending frame-based > requests to qDMA and receiving back confirmation response on transaction > completion, utilizing the DPAA2 QBMan(Queue Manager and Buffer Manager > hardware) infrastructure. DPDMAI object provides up to two priorities for > processing qDMA requests. > The following list summarizes the DPDMAI main features and capabilities: > 1. Supports up to two scheduling priorities for processing > service requests. > - Each DPDMAI transmit queue is mapped to one of two service > priorities, allowing further prioritization in hardware between > requests from different DPDMAI objects. > 2. Supports up to two receive queues for incoming transaction > completion confirmations. > - Each DPDMAI receive queue is mapped to one of two receive > priorities, allowing further prioritization between other > interfaces when associating the DPDMAI receive queues to DPIO > or DPCON(Data Path Concentrator) objects. > 3. Supports different scheduling options for processing received > packets: > - Queues can be configured either in 'parked' mode (default), > or attached to a DPIO object, or attached to DPCON object. > 4. Allows interaction with one or more DPIO objects for > dequeueing/enqueueing frame descriptors(FD) and for > acquiring/releasing buffers. > 5. Supports enable, disable, and reset operations. > > Add dpdmai to support some platforms with dpaa2 qdma engine. Applied both, thanks -- ~Vinod