From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v3 2/2] virtio: fix memory leak of virtqueue memzones Date: Wed, 4 May 2016 20:27:50 -0700 Message-ID: <20160505032750.GW5641@yliu-dev.sh.intel.com> References: <1461673932-128879-1-git-send-email-jianfeng.tan@intel.com> <1461890926-16727-1-git-send-email-jianfeng.tan@intel.com> <1461890926-16727-3-git-send-email-jianfeng.tan@intel.com> <20160429053308.GC5641@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, huawei.xie@intel.com To: Jianfeng Tan Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 86472568E for ; Thu, 5 May 2016 05:24:04 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20160429053308.GC5641@yliu-dev.sh.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" ping... On Thu, Apr 28, 2016 at 10:33:08PM -0700, Yuanhan Liu wrote: > On Fri, Apr 29, 2016 at 12:48:46AM +0000, Jianfeng Tan wrote: > > @@ -447,6 +453,7 @@ int virtio_dev_queue_setup(struct rte_eth_dev *dev, > > > > hw->vtpci_ops->setup_queue(hw, vq); > > > > + vq->started = 1; > > Judging that this is in the "_queue_setup" stage, and we have another > stage called "_dev_start", naming it to "started" seems confusing then. > > So, how about naming it to something like "configured"? Besides that, > this patch set looks good to me. If you agree the name change, or have > better idea, I could fix it while applying it. > > --yliu