From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by dpdk.org (Postfix) with ESMTP id BFE558E95 for ; Thu, 21 Jan 2016 11:08:08 +0100 (CET) Received: by mail-pa0-f47.google.com with SMTP id cy9so20966101pac.0 for ; Thu, 21 Jan 2016 02:08:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mvista-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GViZy7nSgYTgKhRHQSz706FMEGnpOjy3AwQ0Is3/4lg=; b=Ms2H5MEQP5Wo0vmnfVXHJvIwKa+DgVEfPNt6T+iXKoxmg9gBtiM2b/87/smNFcYVYg +4SxvkSf5jXx4lC9u+gMjVknwRx4ETwg2W/d3g2KopWz10rhKKrCFXr5x/fPnI3VeLgF D2XPvoHeRl/kwhO/+HFtwO3MIsKA8zSRafNxf5cboSJvrF5kCoNzuEMtif/OjXwd5UKq 8xfJtT7MMQiDdyBV3eJcUdSPuNJdVEnJJMHdZjaX14V+CvUR0eINYcytWf8ZDmzQOsUt Fkqv0hOHHApqB35w751RcGc2USsEJmgchYB7T402SE303Cc3xuzp0hkjwi2fbLbusq5L lwyA== 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:date :message-id:subject:from:to:cc:content-type; bh=GViZy7nSgYTgKhRHQSz706FMEGnpOjy3AwQ0Is3/4lg=; b=Q1zxoTwKgI7aNkjbPSQVAaRCe2l1YBbVFdyGgU1WuMv3U0oI1x3+CeQ/fRhhDQUF7q jiOn/HHLItYpCoMmoHtgA2nfiby5aImQvS6HdkVyPU72pP6b8UNUEMyGjQwWjN9nxkAZ kbaJDqE5IHyzFGaZfv8eYskKRoCgg1dkPrvTZZGQi1ZffXaSysYGODwQe2HcutwpwzlB N7Q5LAh8BBLt7SmUuDV3PEX3Z5o4ndZ5sQ29xu3vxlr1LEHCTCl6fG5khqz8DajkU8tU EU4SbbnaAOThKixFlmlgSNroc8ep7FjVNdLLFTAU2M8twP260YslR7/sNX0x8rbIcLpz WzHQ== X-Gm-Message-State: ALoCoQlp0i1cAuIUS5Rbm0Cd26jND5I2lG4OGj9JoaZSXWf4dRrqCg1fOqzh22SUW0yh3jE1xghzJFTbp5DAHIij0tVqShiaBQg+6o964gWPPOVzg/Zw6/c= MIME-Version: 1.0 X-Received: by 10.66.140.79 with SMTP id re15mr58090082pab.127.1453370888146; Thu, 21 Jan 2016 02:08:08 -0800 (PST) Received: by 10.66.196.81 with HTTP; Thu, 21 Jan 2016 02:08:08 -0800 (PST) In-Reply-To: References: <1453203972-24855-1-git-send-email-sshukla@mvista.com> <1453203972-24855-6-git-send-email-sshukla@mvista.com> Date: Thu, 21 Jan 2016 15:38:08 +0530 Message-ID: From: Santosh Shukla To: David Marchand 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 10:08:09 -0000 On Thu, Jan 21, 2016 at 3:12 PM, David Marchand wrote: > 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. > > for both, agreed. Sending v6 for this patch now, Thanks! > Regards, > -- > David Marchand