[dpdk-dev] [PATCH v5 02/14] net/avf: initialization of avf PMD
Ferruh Yigit
ferruh.yigit at intel.com
Tue Jan 9 18:58:17 CET 2018
On 1/8/2018 5:13 AM, Wenzhuo Lu wrote:
> From: Jingjing Wu <jingjing.wu at intel.com>
>
> Signed-off-by: Jingjing Wu <jingjing.wu at intel.com>
<...>
> @@ -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));
^~~~~~~~~~~~
More information about the dev
mailing list