From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=Wg6EKRAYUDkG5rjSnTKy30g/F6k7hEcjGu4+pXD/uCg=; b=AI6nOyHtIKyHPNyjfpsK2b79k/LCqkvwY2P58+/OAiLUqZu/bj2I8fcsMhmkdg9hpG U0EQ4dNaTcJFn6ZVxcryx7jcLiRgNm1L/Ys+W9QsbW+s6OR3mW1ag7ZeIiWCeeOwVx5K 9jGkfeLaHpIsby63EaMxXfKt20Jr8NWioxLpPOv3ToJvVeX1KaTa9pOWHD9b0GxyXKkp 5vWF1y0ZSi8ufaa6CdkKevBiYVxJIiFGWxKkE0GItESxMriMaLaVqFdFTbLGs/P8cPvc 1xyFQur9+ufPzYtthbpGHKtwG0ZsOv1ff5vPcYWwzbqKPhLDs54tP2xr5mYUJ+pujS+l oJKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=Wg6EKRAYUDkG5rjSnTKy30g/F6k7hEcjGu4+pXD/uCg=; b=MtLgeFDxsydCOG1od/BVt0ig93BDQi75OPDTZ0OSJkMSyANZzF703+tlEjkGqefSf6 MYxDODl5mW3qxmupUd4KVGHY8LDKYTx1QBKNtaKWk1DmCTch++P8zwLHFKiGDuxn4x8p BV8fJJfz0x33NRjmR2TlWiLh7dkn0gWgSaLTIGzt9TAd5BI7dDHSK4pUTOE1O8L0An1Q axzUX3KwvI/m/PqJYpKPlG8dLq/pKzEZxoYBTf3tHKvquZvJ5ENjTHJ4/MTGG73/2qhi 7Lz1NTdbUpoFA35wL9mhhIwycmm7s48Y6UsX1ZC2e+ecZfoCn4mFpgraMdL66NJ1SxQZ ARaQ== X-Gm-Message-State: AG10YOQqOCZ9PbedEf9q2MK7huVoxQBTe7RNV1cVlwdWZaRs7o58jneu7vc3efCDePkdMwQC X-Received: by 10.28.174.72 with SMTP id x69mr21215655wme.68.1455660090448; Tue, 16 Feb 2016 14:01:30 -0800 (PST) Received: from xps13.localnet (guy78-1-82-235-116-147.fbx.proxad.net. [82.235.116.147]) by smtp.gmail.com with ESMTPSA id w17sm35385wmw.5.2016.02.16.14.01.29 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Feb 2016 14:01:29 -0800 (PST) From: Thomas Monjalon To: David Marchand Date: Tue, 16 Feb 2016 22:59:57 +0100 Message-ID: <4718948.lVWWKBbPpb@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1455655024-5164-1-git-send-email-david.marchand@6wind.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v4 0/4] rework ioport access for virtio X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 22:01:30 -0000 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