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: Thu, 28 Apr 2016 22:33:08 -0700 Message-ID: <20160429053308.GC5641@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> 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 mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 22C3F5592 for ; Fri, 29 Apr 2016 07:30:24 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1461890926-16727-3-git-send-email-jianfeng.tan@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" 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