From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 21A152C6E for ; Thu, 28 Apr 2016 08:06:28 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP; 27 Apr 2016 23:06:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,545,1455004800"; d="scan'208";a="964394797" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by orsmga002.jf.intel.com with ESMTP; 27 Apr 2016 23:06:27 -0700 Date: Wed, 27 Apr 2016 23:09:02 -0700 From: Yuanhan Liu To: "Wang, Zhihong" Cc: "dev@dpdk.org" , "Xie, Huawei" Message-ID: <20160428060902.GG25677@yliu-dev.sh.intel.com> References: <1461645951-14603-1-git-send-email-yuanhan.liu@linux.intel.com> <8F6C2BD409508844A0EFC19955BE09410342FBFF@SHSMSX103.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8F6C2BD409508844A0EFC19955BE09410342FBFF@SHSMSX103.ccr.corp.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH 0/7] vhost/example cleanup/fix 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 Apr 2016 06:06:29 -0000 On Thu, Apr 28, 2016 at 05:45:16AM +0000, Wang, Zhihong wrote: > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yuanhan Liu > > Sent: Tuesday, April 26, 2016 12:46 PM > > To: dev@dpdk.org > > Cc: Xie, Huawei ; Yuanhan Liu > > > > Subject: [dpdk-dev] [PATCH 0/7] vhost/example cleanup/fix > > > > I'm starting to work on the vhost ABI refactoring, that I also have to > > touch the vhost example code, to make it work. The vhost example code, > > however, is very messy, full of __very__ long lines. This would make > > a later diff to apply the new vhost API be very ugly, therefore, not > > friendly for review. This is how this cleanup comes. > > > I think this patch is great effort to clean the messy code and make clearer > logic, only one suggestion: do you think a complete cleanup would help more? Yes, but I will stop here, and maybe do the left in near future, as I have more important thing to do now. I even thought about to make the VMDq and VLAN stuff optional, to not let our example connect with those hardware feature that tight. So, feel free to make patches to clean it further if you have time. --yliu