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=-15.1 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 07C70C433B4 for ; Tue, 27 Apr 2021 15:08:01 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id 05AD5613C1 for ; Tue, 27 Apr 2021 15:07:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 05AD5613C1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ashroe.eu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F1623410FD; Tue, 27 Apr 2021 17:07:58 +0200 (CEST) Received: from dal1relay131.mxroute.com (dal1relay131.mxroute.com [199.181.239.131]) by mails.dpdk.org (Postfix) with ESMTP id C7B64410D8 for ; Tue, 27 Apr 2021 17:07:57 +0200 (CEST) Received: from filter004.mxroute.com ([149.28.56.236] filter004.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by dal1relay131.mxroute.com (ZoneMTA) with ESMTPSA id 17913df5f39000881b.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Tue, 27 Apr 2021 15:07:56 +0000 X-Zone-Loop: 42e658d349716646a0d757e3b7800b6216c0c4a567b0 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:Cc:To:Subject:Sender:Reply-To: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=UDJYYck3l2VOCwnzovrzRpwm05TM2zTyx/X0FAi9bjQ=; b=gwgYajjR4zq/+wdpuxFzZLlUg/ fws5Yey+D5rSfGq7mptE18b6ixtD0t7GV74dEbzU6P8ABXMg/HdDtqg8wAFa4Fve51pgka5gD9GQc kJuvEstl/RjDAuHgXMpgHCma8+jnb9GQ02nwYwBJsbRtCPQWlHhvxR4sThvUnTGzjWDU9k8EaOBj3 eKjbvQtWggWygtbv2MlhRwVgkdzmm2knJFuUhGu/oBQTedtj6fgkgfHS1JDdQBcmNIYI93Hto7Lwm 9lPz9YNtybvWddyNsWqNMkvPSOBtZrYeoTCX+Gys5O6RUpdhLRPRw28AEo2sfm+j19c1hNtH66Mr3 N27uGl5A==; To: Haiyue Wang , dev@dpdk.org Cc: qi.z.zhang@intel.com, liang-min.wang@intel.com, david.marchand@redhat.com, Neil Horman , Gaetan Rivet References: <20210421050243.130585-1-haiyue.wang@intel.com> <20210427133912.261993-1-haiyue.wang@intel.com> <20210427133912.261993-2-haiyue.wang@intel.com> From: "Kinsella, Ray" Message-ID: Date: Tue, 27 Apr 2021 16:07:53 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <20210427133912.261993-2-haiyue.wang@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 v4 1/3] bus/pci: set PCI master in command register 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 27/04/2021 14:39, Haiyue Wang wrote: > Add the API to set 'Bus Master Enable' bit to be enabled or disabled in > the PCI command register. > > Signed-off-by: Haiyue Wang > --- > drivers/bus/pci/pci_common.c | 28 ++++++++++++++++++++++++++++ > drivers/bus/pci/rte_bus_pci.h | 14 ++++++++++++++ > drivers/bus/pci/version.map | 3 +++ > lib/pci/rte_pci.h | 4 ++++ > 4 files changed, 49 insertions(+) > Acked-by: Ray Kinsella