From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f175.google.com (mail-ob0-f175.google.com [209.85.214.175]) by dpdk.org (Postfix) with ESMTP id 8A3448E7F for ; Thu, 21 Jan 2016 10:42:42 +0100 (CET) Received: by mail-ob0-f175.google.com with SMTP id vt7so30450819obb.1 for ; Thu, 21 Jan 2016 01:42:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ZEoYxTtcS21vg5udU+JKGLnBdxU4eMGUsRUdxDBdY9o=; b=XJsS0gT8HZVKqErdFIn2K6tn3UtnHEr2GIoWRF+aDIyigrhz/zi4Yixf5ZbPbLj+Y2 ASRIcCPMzrh4LCRlo0jjkMnk/9uT8Oy41+QrjVeUqb7l84TWsJuTvCTRY9ony9fqPzFg dzcdkc0GFeyPf1fBHaMwu95L7NyLygTC09HwWwnwXMajvGd/1Rwtm/Js7119d9AUtKEM UMdFoT+N3rnE7EVICQaIaI6YEMvSk/nzfYAF4SWrLsg14MjCamza/QpnV3+Ma1JGoRHN Ijbc+SIkFPKmHP2pU2y8U+ntOgZ48rTRsAuLOqHHljGGqnhNj+LaZaDxX6WoIJiMzjjG r7+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=ZEoYxTtcS21vg5udU+JKGLnBdxU4eMGUsRUdxDBdY9o=; b=WWJhyxmRymsjeWUQF1NIXll5D6qjG//fgqvN2drwejJYKIjQb4DyQxw76k/xZphyyd XnlQeI8qFczAHAkvUs+B4I2gud2bnj5+fdexOqeBaQbg9uv1XuMeLJVWgz9SjiKFAaKd lsBlDL/iyN0vE1jqzLjxoRCF9PIlFSqahPx9wO+8pgE8yPI2F4GIkhY23AKfkSYqv22e bSRHBaBw5/CSJecwLy9ip0hjZSaawk1NGJJrsX7pZAWxYSz8vBX/ZIITxvJGiOGRLnGN Z20SlRdOT8iCYNSpvXQ7jO/VRuyGYAj3UEZuMPYEhoJmI00+sOpXZNAphIF3jAccP+2N JnUw== X-Gm-Message-State: ALoCoQlHC1v6WqbEGH/ZHt7julx2o3tPhQCgbConGfOyAbVABLc3i8E2wpn2u6SEco42sbvYw3k3gSvL/DNmi6HnUPa+IB1KrkT8NUjSKQpOoj2uwtJ9/+U= X-Received: by 10.60.232.194 with SMTP id tq2mr30816417oec.64.1453369361987; Thu, 21 Jan 2016 01:42:41 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.180.72 with HTTP; Thu, 21 Jan 2016 01:42:22 -0800 (PST) In-Reply-To: <1453203972-24855-6-git-send-email-sshukla@mvista.com> References: <1453203972-24855-1-git-send-email-sshukla@mvista.com> <1453203972-24855-6-git-send-email-sshukla@mvista.com> From: David Marchand Date: Thu, 21 Jan 2016 10:42:22 +0100 Message-ID: To: Santosh Shukla Content-Type: text/plain; charset=UTF-8 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v5 05/11] eal: pci: vfio: add rd/wr func for pci bar space 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: Thu, 21 Jan 2016 09:42:42 -0000 Santosh, On Tue, Jan 19, 2016 at 12:46 PM, Santosh Shukla wrote: > Introducing below api for pci bar space rd/wr. Currently used for > pci iobar rd/wr. > > Api's are: > - rte_eal_pci_read_bar > - rte_eal_pci_write_bar > > virtio when used for vfio-mode then virtio driver will use these api > to do rd/wr operation on ioport pci bar. > > Signed-off-by: Santosh Shukla > --- > v4--> v5: > - added switch case in rd/wr pci_bar routine, as per Yuan comment > > lib/librte_eal/common/include/rte_pci.h | 38 ++++++++++++++++++++++++++++ > lib/librte_eal/linuxapp/eal/eal_pci.c | 34 +++++++++++++++++++++++++ > lib/librte_eal/linuxapp/eal/eal_pci_init.h | 6 +++++ > lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 28 ++++++++++++++++++++ > 4 files changed, 106 insertions(+) - What about BSD ? Empty stub ? - Those are new symbols, you must update rte_eal_version.map. Regards, -- David Marchand