From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m15-11.126.com (m15-11.126.com [220.181.15.11]) by dpdk.org (Postfix) with ESMTP id 34B483195 for ; Mon, 14 Mar 2016 05:38:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=39du8 Y2U576IVGfJGuiucWeb5QCXJ3+bptQwdDo+svQ=; b=qQ8ixD9Dsw4QN0+9NfOE5 9u+gQXf+3aSfUjA4k6IYkKUn8jeZjhly1I2gNXyLdEmHPIZmGUkvDJ7e/2gfuLU4 sYc4fHYHBQxJEiUmAUzlfnU2GqxOrVmRcf8hKyL0KJOOj6VvFlQeuuyRxZe2P2Kl 6D8BF+NHclhq3V06nxoQeQ= Received: from zhangwqh$126.com ( [69.138.24.88, 54.215.2.217, 10.144.1.72] ) by ajax-webmail-wmsvr11 (Coremail) ; Mon, 14 Mar 2016 12:38:04 +0800 (CST) X-Originating-IP: [69.138.24.88, 54.215.2.217, 10.144.1.72] Date: Mon, 14 Mar 2016 12:38:04 +0800 (CST) From: =?GBK?B?1cXOsA==?= To: "Dhana Eadala" Cc: bruce.richardson@intel.com, pablo.de.lara.guarch@intel.com, michael.qiu@intel.com, dev@dpdk.org X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20160223(81157.8522) Copyright (c) 2002-2016 www.mailtech.cn 126com In-Reply-To: <1457921808-14261-1-git-send-email-edreddy@gmail.com> References: <1457921808-14261-1-git-send-email-edreddy@gmail.com> X-CM-CTRLDATA: XkHFsWZvb3Rlcl9odG09MjI0MDQ6NTY= MIME-Version: 1.0 Message-ID: <6973f29e.6e8e.153736aae3b.Coremail.zhangwqh@126.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: C8qowABHYA4tQOZWo8NKAA--.388W X-CM-SenderInfo: x2kd0wxztkqiyswou0bp/1tbiig0s6VXnI-T77wAAsz X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] hash: fix memcmp function pointer in multi-process environment 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: Mon, 14 Mar 2016 04:38:10 -0000 QlRXLCB0aGUgZm9sbG93aW5nIGlzIG15IGJhY2t0cmFjZSB3aGVuIHRoZSBzeXN0ZW0gY3Jhc2hl cy4gCgpQcm9ncmFtIHJlY2VpdmVkIHNpZ25hbCBTSUdTRUdWLCBTZWdtZW50YXRpb24gZmF1bHQu CgoweDAwMDAwMDAwMDA0ODgzYWIgaW4gcnRlX2hhc2hfcmVzZXQgKGg9MHgwKQoKICAgIGF0IC9o b21lL3poYW5nd2VpMTk4NC90aW1vcGVuTmV0Vk0vZHBkay0yLjIuMC9saWIvbGlicnRlX2hhc2gv cnRlX2N1Y2tvb19oYXNoLmM6NDQ0Cgo0NDR3aGlsZSAocnRlX3JpbmdfZGVxdWV1ZShoLT5mcmVl X3Nsb3RzLCAmcHRyKSA9PSAwKQoKKGdkYikgYnQKCiMwICAweDAwMDAwMDAwMDA0ODgzYWIgaW4g cnRlX2hhc2hfcmVzZXQgKGg9MHgwKQoKICAgIGF0IC9ob21lL3poYW5nd2VpMTk4NC90aW1vcGVu TmV0Vk0vZHBkay0yLjIuMC9saWIvbGlicnRlX2hhc2gvcnRlX2N1Y2tvb19oYXNoLmM6NDQ0Cgoj MSAgMHgwMDAwMDAwMDAwNDhmZGZiIGluIHJ0ZV9oYXNoX2xvb2t1cF93aXRoX2hhc2ggKGg9MHg3 ZmZmMzJjY2U3NDAsIGtleT0weDdmZmZmZmZmZTIyMCwgc2lnPTQwMzE4MzYyNCkKCiAgICBhdCAv aG9tZS96aGFuZ3dla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xlbikgPT0gMCkg ewo+KyNlbmRpZgo+IAkJCQlyZW1vdmVfZW50cnkoaCwgYmt0LCBpKTsKPiAKPiAJCQkJLyoKPkBA IC05ODAsNyArMTAwNCwxMSBAQCBsb29rdXBfc3RhZ2UzKHVuc2lnbmVkIGlkeCwgY29uc3Qgc3Ry dWN0IHJ0ZV9oYXNoX2tleSAqa2V5X3Nsb3QsIGNvbnN0IHZvaWQgKiBjbwo+IAl1bnNpZ25lZCBo aXQ7Cj4gCXVuc2lnbmVkIGtleV9pZHg7Cj4gCj4rI2lmZGVmIFJURV9MSUJfTVBfTk9fRlVOQ19Q VFIKPisJaGl0ID0gIW1lbWNtcChrZXlfc2xvdC0+a2V5LCBrZXlzW2lkeF0sIGgtPmtleV9sZW4p Owo+KyNlbHNlCj4gCWhpdCA9ICFoLT5ydGVfaGFzaF9jbXBfZXEoa2V5X3Nsb3QtPmtleSwga2V5 c1tpZHhdLCBoLT5rZXlfbGVuKTsKPisjZW5kaWYKPiAJaWYgKGRhdGEgIT0gTlVMTCkKPiAJCWRh dGFbaWR4XSA9IGtleV9zbG90LT5wZGF0YTsKPiAKPi0tIAo+Mi41LjAKPgoKCgoKCiA= >From yuanhan.liu@linux.intel.com Mon Mar 14 07:44:53 2016 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9167A29CD for ; Mon, 14 Mar 2016 07:44:53 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 13 Mar 2016 23:44:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,334,1455004800"; d="scan'208";a="909649447" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.66.49]) by orsmga001.jf.intel.com with ESMTP; 13 Mar 2016 23:44:51 -0700 Date: Mon, 14 Mar 2016 14:45:30 +0800 From: Yuanhan Liu To: Thomas Monjalon Cc: dev@dpdk.org, huawei.xie@intel.com, Rich Lane Message-ID: <20160314064530.GK979@yliu-dev.sh.intel.com> References: <1455803352-5518-1-git-send-email-yuanhan.liu@linux.intel.com> <1457584366-3036-1-git-send-email-yuanhan.liu@linux.intel.com> <1457584366-3036-4-git-send-email-yuanhan.liu@linux.intel.com> <1720770.PY7soJZohG@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1720770.PY7soJZohG@xps13> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v3 3/8] vhost: refactor virtio_dev_merge_rx 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: Mon, 14 Mar 2016 06:44:54 -0000 On Fri, Mar 11, 2016 at 05:18:54PM +0100, Thomas Monjalon wrote: > This patch does not compile: > lib/librte_vhost/vhost_rxtx.c:386:5: error: ‘dev’ undeclared Oops, I acutally did the basic compile test on every commit and every time I did a rebase. I had a quick look, it turned out that it's a build bug when RTE_LIBRTE_VHOST_DEBUG is enabled. It is disabled by default, and that's why I didn't catch it. Thanks for the report, I will fix it soon. --yliu