From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4 0/4] rework ioport access for virtio Date: Tue, 16 Feb 2016 22:59:57 +0100 Message-ID: <4718948.lVWWKBbPpb@xps13> References: <1455542666-28895-1-git-send-email-david.marchand@6wind.com> <1455655024-5164-1-git-send-email-david.marchand@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: David Marchand Return-path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 93619BE7C for ; Tue, 16 Feb 2016 23:01:30 +0100 (CET) Received: by mail-wm0-f53.google.com with SMTP id g62so1186547wme.0 for ; Tue, 16 Feb 2016 14:01:30 -0800 (PST) In-Reply-To: <1455655024-5164-1-git-send-email-david.marchand@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-02-16 21:37, David Marchand: > Introduce a new pci ioport api in eal to mask all arch / kernel driver > specifics. > > - rte_eal_pci_ioport_map is responsible for initialising an rte_pci_ioport > object that is used in subsequent calls, this function must be tweaked per > architecture and per kernel driver, > - rte_eal_pci_ioport_read / rte_eal_pci_ioport_write uses a rte_pci_ioport > object to read / write those resources, > - rte_eal_pci_ioport_unmap releases resources used by a rte_pci_ioport > object if necessary. Applied, thanks