From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 812D81B1C7 for ; Tue, 9 Jan 2018 18:58:20 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2018 09:58:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,336,1511856000"; d="scan'208";a="17912007" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.48]) ([10.237.220.48]) by FMSMGA003.fm.intel.com with ESMTP; 09 Jan 2018 09:58:18 -0800 To: Wenzhuo Lu , dev@dpdk.org Cc: Jingjing Wu References: <1515140505-38655-1-git-send-email-wenzhuo.lu@intel.com> <1515388414-16214-1-git-send-email-wenzhuo.lu@intel.com> <1515388414-16214-3-git-send-email-wenzhuo.lu@intel.com> From: Ferruh Yigit Message-ID: <7b024a2c-5acb-91e8-8107-47ad76625cc8@intel.com> Date: Tue, 9 Jan 2018 17:58:17 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <1515388414-16214-3-git-send-email-wenzhuo.lu@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v5 02/14] net/avf: initialization of avf PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2018 17:58:20 -0000 On 1/8/2018 5:13 AM, Wenzhuo Lu wrote: > From: Jingjing Wu > > Signed-off-by: Jingjing Wu <...> > @@ -226,6 +226,11 @@ CONFIG_RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y > CONFIG_RTE_LIBRTE_FM10K_INC_VECTOR=y > > # > +# Compile burst-oriented AVF PMD driver > +# > +CONFIG_RTE_LIBRTE_AVF_PMD=y is 32bit supported? I am getting following errors [1] .../drivers/net/avf/base/avf_common.c: In function ‘avf_aq_set_arp_proxy_config’: .../drivers/net/avf/base/avf_common.c:1262:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] CPU_TO_LE32(AVF_HI_DWORD((u64)proxy_config)); ^ .../i686-native-linuxapp-gcc/include/rte_byteorder.h:73:30: note: in definition of macro ‘rte_cpu_to_le_32’ #define rte_cpu_to_le_32(x) (x) ^ .../drivers/net/avf/base/avf_common.c:1262:7: note: in expansion of macro ‘CPU_TO_LE32’ CPU_TO_LE32(AVF_HI_DWORD((u64)proxy_config)); ^~~~~~~~~~~ .../drivers/net/avf/base/avf_common.c:1262:19: note: in expansion of macro ‘AVF_HI_DWORD’ CPU_TO_LE32(AVF_HI_DWORD((u64)proxy_config)); ^~~~~~~~~~~~ .../drivers/net/avf/base/avf_common.c:1264:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] CPU_TO_LE32(AVF_LO_DWORD((u64)proxy_config)); ^ .../i686-native-linuxapp-gcc/include/rte_byteorder.h:73:30: note: in definition of macro ‘rte_cpu_to_le_32’ #define rte_cpu_to_le_32(x) (x) ^ .../drivers/net/avf/base/avf_common.c:1264:7: note: in expansion of macro ‘CPU_TO_LE32’ CPU_TO_LE32(AVF_LO_DWORD((u64)proxy_config)); ^~~~~~~~~~~ .../drivers/net/avf/base/avf_common.c:1264:19: note: in expansion of macro ‘AVF_LO_DWORD’ CPU_TO_LE32(AVF_LO_DWORD((u64)proxy_config)); ^~~~~~~~~~~~