From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by dpdk.org (Postfix) with ESMTP id 88C175A6B for ; Mon, 2 Nov 2015 08:30:31 +0100 (CET) Received: by wikq8 with SMTP id q8so45230291wik.1 for ; Sun, 01 Nov 2015 23:30:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=V7SjFaXhyuiyRAs2jXINCnOLkcM518VAR4oMOkdLjQA=; b=fI3b3TxqrPeuH6In1PEq2z8qheh5v+/tRh0hH+nHPMQwf9fkRCReP2U0zK0Avxg7ET 2GBh/8MFCT5cDVfaFSbTvMduiREIET5r3QEYz66vK3RTbKpBj22fxNEKGcQ2ICEe58X+ dIAeTYFEWm0MXRWpLvLGYdVB/ADVkQ7/G3K2BY52ln0oU/uWfur/o/4S2FtAQjw3vE+O NBWUD138yb9ChMzAElInShBwxUcRQw7I9FokAzNjdncHfZilkp/hFt3zaUaegWcygPHy PpvAXN2Y1e+6w7pjPtbCNI1TSzrqAF6qV2RqKCqadEhQf42wmn6VbQ9yMt9QVfq17H8u 23WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=V7SjFaXhyuiyRAs2jXINCnOLkcM518VAR4oMOkdLjQA=; b=DvlFVEImg0N8UerMOkclul2B3s+6U+BkViVkbrL9tKqloK63Jasi9y/M+6ZtpnAIHS 7h7YXe34BKE583PZ3gD5cqplTnjT0h7suuJasUYSvq++JWhodq0Hgva1w+cy77YE4Mhy XRl8Lw7ZRUZD9MrXOB/XWYNucoo28e+KvE0XQ4GH8T+MY0ZUVhq7WK5oe89hX5QwqX/0 uFKuw5B2ZyUWJENXnc8VrjDStarQWk8Jme5tgi3HPlE4j7xfqSINz4eK28HD+Obzo7ce zd7CxFCoy1VJsWOXRd2XeR0t8Xx8jwe1afk7DpzuL2MLyvO/K8zVh7QINddq3u5TXs9Q +xpw== X-Gm-Message-State: ALoCoQmTqj+apIJ331ohHwnRnVWHDvT2sGFWGACOUEgBfeHwjwJZQkDeRvHXChx9dSSbcxpZVysF X-Received: by 10.194.179.165 with SMTP id dh5mr25835735wjc.134.1446449431457; Sun, 01 Nov 2015 23:30:31 -0800 (PST) Received: from xps13.localnet (158.20.90.92.rev.sfr.net. [92.90.20.158]) by smtp.gmail.com with ESMTPSA id b1sm20751465wjx.12.2015.11.01.23.30.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Nov 2015 23:30:30 -0800 (PST) From: Thomas Monjalon To: "Xie, Huawei" Date: Mon, 02 Nov 2015 08:28:51 +0100 Message-ID: <2074733.DLSOutviVq@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1443537953-23917-1-git-send-email-huawei.xie@intel.com> <27298667.Vrp1X8IJFV@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v6 5/8] virtio: virtio vec 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, 02 Nov 2015 07:30:31 -0000 2015-11-02 02:18, Xie, Huawei: > On 10/31/2015 2:21 AM, Thomas Monjalon wrote: > > Sorry, there is a clang error. > > > > 2015-10-29 22:53, Huawei Xie: > >> + _mm_prefetch((const void *)rused, _MM_HINT_T0); > > virtio_rxtx_simple.c:197:2: error: cast from 'const void *' to > > 'void *' drops const qualifier > This is weird. This conversion is actually from 'void *' to 'const void > *', not the opposite, so there should be no error. > I checked clang build, it doesn't report error. > clang version 3.3 (tags/RELEASE_33/rc2) I'm using clang 3.6.2. Anybody else to check please?