From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v7 0/9] virtio 1.0 enabling for virtio pmd driver Date: Wed, 03 Feb 2016 16:09:24 +0100 Message-ID: <2922936.WdZZBmviWP@xps13> References: <1453967697-3757-1-git-send-email-yuanhan.liu@linux.intel.com> <1454420900-10605-1-git-send-email-yuanhan.liu@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Yuanhan Liu Return-path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 28EE056B7 for ; Wed, 3 Feb 2016 16:10:38 +0100 (CET) Received: by mail-wm0-f51.google.com with SMTP id 128so169971850wmz.1 for ; Wed, 03 Feb 2016 07:10:38 -0800 (PST) In-Reply-To: <1454420900-10605-1-git-send-email-yuanhan.liu@linux.intel.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-02 21:48, Yuanhan Liu: > v7: - make checkpatch a bit happier; few (false) warnings still left. > > - rebase to latest code: fixed a conflict. > > v6: unfold IO_READ/WRITE_DEF macro > > v5: minor fixes: > > - fix wrong type of arg "offset" of read/write_dev_config(): patch 2 > is newly added for that. > > - check "offset + length" overflow > > Almost all difference comes from virtio 1.0 are the PCI layout change: > the major configuration structures are stored at bar space, and their > location is stored at corresponding pci cap structure. Reading/parsing > them is one of the major work of patch 8. > > To make handling virtio v1.0 and v0.95 co-exist well, this patch set > introduces a virtio_pci_ops structure, to add another layer so that > we could keep those vtpci_foo_bar "APIs". With that, we could do the > minimum change to add virtio 1.0 support. Applied, thanks