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 9708828FD for ; Fri, 4 Nov 2016 15:14:26 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP; 04 Nov 2016 07:14:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,443,1473145200"; d="scan'208";a="1055205724" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by orsmga001.jf.intel.com with ESMTP; 04 Nov 2016 07:14:25 -0700 Date: Fri, 4 Nov 2016 22:15:18 +0800 From: Yuanhan Liu To: "Mcnamara, John" Cc: "dev@dpdk.org" Message-ID: <20161104141518.GA12283@yliu-dev.sh.intel.com> References: <1478056501-9321-1-git-send-email-yuanhan.liu@linux.intel.com> <1478056501-9321-4-git-send-email-yuanhan.liu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH 3/3] vhost: update comments 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: Fri, 04 Nov 2016 14:14:27 -0000 On Fri, Nov 04, 2016 at 01:28:45PM +0000, Mcnamara, John wrote: > > > > -----Original Message----- > > From: Yuanhan Liu [mailto:yuanhan.liu@linux.intel.com] > > Sent: Wednesday, November 2, 2016 3:15 AM > > To: dev@dpdk.org > > Cc: Mcnamara, John ; Yuanhan Liu > > > > Subject: [PATCH 3/3] vhost: update comments > > > > vhost-cuse is removed, update corresponding comments that are still > > referencing it. > > > > Signed-off-by: Yuanhan Liu > > > > ... > > > > /* > > - * Backend-specific cleanup. Defined by vhost-cuse and vhost-user. > > + * Backend-specific cleanup. > > + * > > + * TODO: fix it; we have one backend now > > */ > > void vhost_backend_cleanup(struct virtio_net *dev); > > In general it is not a good idea to leave TODOs/Fixmes around unless they > that a better explanation of why they are there. Agreed. In this case, if you look at the delete line, you will find we have such function implemented both in vhost-user and vhost-cuse. Now we get one only. So, we may could just rename it to vhost_user_cleanup(). Or even, remove it completely by doing some small refactors. It's obvious that we need do that in another patch. Thus, the TODO is been added. --yliu > > Apart from that: > > > Acked-by: John McNamara >