From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 28 Apr 2016 22:30:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,550,1455004800"; d="scan'208";a="794782556" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by orsmga003.jf.intel.com with ESMTP; 28 Apr 2016 22:30:23 -0700 Date: Thu, 28 Apr 2016 22:33:08 -0700 From: Yuanhan Liu To: Jianfeng Tan Cc: dev@dpdk.org, huawei.xie@intel.com 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 Content-Disposition: inline In-Reply-To: <1461890926-16727-3-git-send-email-jianfeng.tan@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v3 2/2] virtio: fix memory leak of virtqueue memzones 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, 29 Apr 2016 05:30:25 -0000 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