From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f175.google.com (mail-we0-f175.google.com [74.125.82.175]) by dpdk.org (Postfix) with ESMTP id 939275942 for ; Thu, 28 Aug 2014 22:54:42 +0200 (CEST) Received: by mail-we0-f175.google.com with SMTP id k48so1329445wev.6 for ; Thu, 28 Aug 2014 13:58:53 -0700 (PDT) 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=tQLVLob5TtlB+mSzlOQAbPIc+aph63joDe+qLoWol/Y=; b=Z5Q2BQftT3xU/ZDR/21w+vS9hWkmyyPnFwSGiBcNjLNfxKHuFcu9blhqpUtSM8TF37 1qYz3i6WZ7j0jfW2R3RR0WqYdqSP2UCEtG4hoW/axPs+dfwbaLu0qTKb5VmOaF4MtCqK MecGo5X83Gd5uNhqOz2FX6LN+LsCN2+w4ZHOe8jgNzUOMltYzcKJwvepEHrnHzR2vDPi 8nanVL4ZzsT95EJj/YkXONZylgIkOHuitaHwUXuBdd+ZTurFwC82Q+sf6G85L+FzItCm zuUaMuXS4UAm0AjT+qsSbW+DvLeS6IsawxPsEV0jF3/pGA1ryf5vIS3d3BkgKXg8h13x Gdpw== X-Gm-Message-State: ALoCoQktmvltITiiMmBjUBxugVstC8hOsTmCFFGSNyfb87onqAiGQ2rxDcyD7FjBuhbYSZYMCexU X-Received: by 10.180.39.140 with SMTP id p12mr755298wik.40.1409259533085; Thu, 28 Aug 2014 13:58:53 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id u10sm18662157wix.2.2014.08.28.13.58.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Aug 2014 13:58:52 -0700 (PDT) From: Thomas Monjalon To: Huawei Xie Date: Thu, 28 Aug 2014 22:15:44 +0200 Message-ID: <2341626.4ghOyc4mVt@xps13> Organization: 6WIND User-Agent: KMail/4.13.3 (Linux/3.15.8-1-ARCH; KDE/4.13.3; x86_64; ; ) In-Reply-To: <1407254033-23848-2-git-send-email-huawei.xie@intel.com> References: <1407254033-23848-1-git-send-email-huawei.xie@intel.com> <1407254033-23848-2-git-send-email-huawei.xie@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 v3] lib/librte_vhost: vhost library support to facilitate integration with DPDK accelerated vswitch. 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, 28 Aug 2014 20:54:42 -0000 > config/common_linuxapp | 7 + > lib/Makefile | 1 + > lib/librte_vhost/Makefile | 48 ++ > lib/librte_vhost/eventfd_link/Makefile | 39 + > lib/librte_vhost/eventfd_link/eventfd_link.c | 194 +++++ > lib/librte_vhost/eventfd_link/eventfd_link.h | 40 + > lib/librte_vhost/rte_virtio_net.h | 192 +++++ > lib/librte_vhost/vhost-net-cdev.c | 363 ++++++++++ > lib/librte_vhost/vhost-net-cdev.h | 109 +++ > lib/librte_vhost/vhost_rxtx.c | 292 ++++++++ > lib/librte_vhost/virtio-net.c | 1002 ++++++++++++++++++++++++++ It would help if you made a first patch to move existing code, another patch to convert it into a lib, and a last one for the new example. So it would show how you transform the old example code and would be easier to review. Thanks -- Thomas