From: Yuanhan Liu Subject: Re: [PATCH 0/3] vhost coverity issue fixes Date: Fri, 1 Jul 2016 09:56:12 +0800 Message-ID: <20160701015612.GL2831@yliu-dev.sh.intel.com> References: <1467086311-13527-1-git-send-email-yuanhan.liu@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Thomas Monjalon , "dev@dpdk.org" , "Xie, Huawei" To: "Mcnamara, John" Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 22F0A1C52 for ; Fri, 1 Jul 2016 03:55:34 +0200 (CEST) Content-Disposition: inline In-Reply-To: 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 Thu, Jun 30, 2016 at 03:58:31PM +0000, Mcnamara, John wrote: > > -----Original Message----- > > From: Yuanhan Liu [mailto:yuanhan.liu@linux.intel.com] > > Sent: Tuesday, June 28, 2016 4:58 AM > > To: dev@dpdk.org > > Cc: Xie, Huawei ; Mcnamara, John > > ; Yuanhan Liu > > Subject: [PATCH 0/3] vhost coverity issue fixes > > > > This is a small series fixes 3 coverity issues. > > > > John, I'm wondering maybe maybe we could add the next-net and next-virtio > > tree into the coverity test as well? So that we could catch those errors > > as earlier as possible, say, at least before they got merged into > > mainline. > > Hi Yuanhan, > > Good suggestion. I can do that. John, Great! > Are there any additional configs that should > be enabled? Currently the check runs with: > > CONFIG_RTE_LIBRTE_PMD_PCAP=y > CONFIG_RTE_LIBRTE_PMD_QAT=y > CONFIG_RTE_LIBRTE_PMD_AESNI_MB=y > CONFIG_RTE_LIBRTE_PMD_AESNI_GCM=y > CONFIG_RTE_LIBRTE_PMD_SNOW3G=y Non of them are related to vhost/virtio, thus we may don't need them for next-virtio tree. And I just think of one that should be enabled: CONFIG_RTE_LIBRTE_VHOST_NUMA=y OTOH, I'm wondering is it worth to enable those debug options, to cover more codes? One more question: will it cover all branches? I have 2 branches there, master and for-testing. It would be great if the coverity test can cover the two branches. However, it does not matter at all if it just covers one branch only: master. Thanks. --yliu