From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=3xkcbCn7m/xqLaYL9KayUX9mF0aMzLAgR8akRlB5odw=; b=ue9jkhfU2r7D9ChIIm/EWUfE5VJVK9QUBeQf39SBkejfu3Tk9L+lMSueJpZjurlAOW qC/oPvtTQ5Bs7ysAr5VFmAG1wPvXYbNdHaN9Ptgnm5u4GgHbEf0OV9dv10tMpC8MRkzp /m9BFbgbWNvqc2Ob7kjIKei/rpj4JlVEcGVlS1CaR7B5QEiovo/ux/sL/3fTUliM6TH5 hnmlunfN0ma1ypKrPLC/qTKY90DuJwbEfj8F8wgzO3lNBqFKuKj+eB5m4+rWzP0u9j3u gH4WRZqfvB+s64USIYXTrcA93oSexQ1neRNFuq47ZzxIWoXam6/kRAZ2HE+5u9t5OtNA tK0Q== 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=3xkcbCn7m/xqLaYL9KayUX9mF0aMzLAgR8akRlB5odw=; b=dyiCgsZ1ZPctyD8nf8aE43v3iBWWqnC4v0ENG3j5Ozn0KUkqG3IOs6zgV2mMj7J5HT e/t4ncmCBtbo4GkmZTBaUcoDNBNtDcNLOcpKcOXl7gNxLdT2jmP9FGrsMZhlzOFYtnDb vREJCvb9MVsU5dGt5U1UnHtiRNEOymNY3oHAjwR6e7B4jZmP7WvsjIVParexxlHMraqm Zy32gggKYi6YqHidLefBI7JfbtUMqTzRDcWoXzxcwd5aeBpjY1N028qT0Fi5CHM6+9YT ePg1QZzOXp1zUMToEqDV5o6nKiEeIjXzTNl1mIQbPg4aIg46micPEMUofT1WFsFdyc7m rUsA== X-Gm-Message-State: AG10YORtL4ot8RY9+2SemUpFhbi7JJoRMHGTK6sjQP5c21N2HbZ5cNsmSSXQAiecKcWo1IKi X-Received: by 10.28.186.87 with SMTP id k84mr4446507wmf.13.1454512237852; Wed, 03 Feb 2016 07:10:37 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id os7sm6987171wjc.18.2016.02.03.07.10.36 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 03 Feb 2016 07:10:36 -0800 (PST) From: Thomas Monjalon To: Yuanhan Liu Date: Wed, 03 Feb 2016 16:09:24 +0100 Message-ID: <2922936.WdZZBmviWP@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1454420900-10605-1-git-send-email-yuanhan.liu@linux.intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v7 0/9] virtio 1.0 enabling for virtio pmd driver 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: Wed, 03 Feb 2016 15:10:38 -0000 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