From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81539C433F5 for ; Mon, 13 Sep 2021 12:00:08 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id C0F8560F44 for ; Mon, 13 Sep 2021 12:00:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C0F8560F44 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ashroe.eu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0642C40151; Mon, 13 Sep 2021 14:00:07 +0200 (CEST) Received: from mail-108-mta76.mxroute.com (mail-108-mta76.mxroute.com [136.175.108.76]) by mails.dpdk.org (Postfix) with ESMTP id D031C4014F for ; Mon, 13 Sep 2021 14:00:05 +0200 (CEST) Received: from filter004.mxroute.com ([149.28.56.236] filter004.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta76.mxroute.com (ZoneMTA) with ESMTPSA id 17bdf07486e00074ba.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Mon, 13 Sep 2021 12:00:01 +0000 X-Zone-Loop: 94c9ac18c099e7a552683442c67f0318afc89a3ab19e X-Originating-IP: [149.28.56.236] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ashroe.eu; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=m9EiRWqU249XEvqlrFsq0NQPxk/RyWZcFLXNi2aIHMU=; b=YFMvnMA8K0PfkIzPyjU26eWR+W RaqGvjkDBkXwNiBOjPdY5YymDXlLmxVayyTSh75qstqJmt2NXejDDQrvv4ltpMpF4SLpH7MTYoN8y 76zuGBuLpjj5A8VHqXVrLvqWQwTFnlBv9CL5sspfiG0jSf3MvP53H9Z9mX/uN2IQOAeArkxdOajHw argKKokatz5HHjka/D3oynJU3Z7pXSRa9lkxl73Y6+cWrsQb1zOdXNS5QoplKJ+hlSVCoBG/mL8wX GJJkSkA/FpReBomlmgY6FPreh2a+8tG8yPv37+ik+Wzkq4eOpcQnwYhY8YOIqoxyIHRHTlsxvjxUl GJ7NmtaQ==; To: Chenbo Xia , dev@dpdk.org References: <20210910022402.26620-1-chenbo.xia@intel.com> <20210910022402.26620-2-chenbo.xia@intel.com> From: "Kinsella, Ray" Message-ID: Date: Mon, 13 Sep 2021 12:59:57 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20210910022402.26620-2-chenbo.xia@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-AuthUser: mdr@ashroe.eu Subject: Re: [dpdk-dev] [PATCH 1/8] bus/pci: add new memory resource access APIs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 10/09/2021 03:23, Chenbo Xia wrote: > Some applications wants to access PCI memory resource. Currently > applications use struct rte_pci_device to access it. Since the > structure will be made internal later, this patch adds two APIs > for memory resource access. > > Signed-off-by: Chenbo Xia > --- > doc/guides/rel_notes/release_21_11.rst | 5 ++ > drivers/bus/pci/pci_common.c | 78 ++++++++++++++++++++++++++ > drivers/bus/pci/rte_bus_pci.h | 36 ++++++++++++ > drivers/bus/pci/version.map | 4 ++ > 4 files changed, 123 insertions(+) > Acked-by: Ray Kinsella