The patch has been included in DPDK 2.2.0:
http://www.dpdk.org/browse/dpdk/commit/?id=261f0390841d1531d1d0fe88e2375e254cb63716

                                       - Lee Roberts


-----Original Message-----
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Sundar Ramakrishnan
Sent: Friday, January 08, 2016 2:17 PM
To: dev at dpdk.org
Subject: [dpdk-dev] DPDK 2.1 on CentOS 7

Hi All,
I am facing an issue while compiling DPDK 2.1 on CentOS 7. Following is a 
snapshot -
CC [M] 
?/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_hwmon.o?
 CC [M] 
?/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.o/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:
 In function 
?igb_ndo_bridge_getlink?:/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:2284:2:
 error: too few arguments to function ?ndo_dflt_bridge_getlink?? return 
ndo_dflt_bridge_getlink(skb, pid, seq, dev, mode);? ^In file included from 
/usr/src/kernels/3.10.0-327.4.4.el7.x86_64/include/net/dst.h:13:0,? ? ? ? ? ? ? 
? ?from /usr/src/kernels/3.10.0-327.4.4.el7.x86_64/include/net/sock.h:68,? ? ? 
? ? ? ? ? ?from 
/usr/src/kernels/3.10.0-327.4.4.el7.x86_64/include/linux/tcp.h:23,? ? ? ? ? ? ? 
? ?from 
/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:34:/usr/src/kernels/3.10.0-327.4.4.el7.x86_64/include/linux/rtnetlink.h:87:12:
 note: declared here?extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, 
u32 pid, u32 seq,? ? ? ? ? ? 
^/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:
 In function 
?igb_xmit_frame_ring?:/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:5498:2:
 error: implicit declaration of function ?vlan_tx_tag_present? 
[-Werror=implicit-function-declaration]? if (vlan_tx_tag_present(skb)) {? 
^/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:5500:3:
 error: implicit declaration of function ?vlan_tx_tag_ge ? 
[-Werror=implicit-function-declaration]? ?tx_flags |= (vlan_tx_tag_get(skb) << 
IGB_TX_FLAGS_VLAN_SHIFT);? 
?^/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:
 In function 
?igb_ndo_get_vf_config?:/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:9467:5:
 error: ?struct ifla_vf_info? has no member named ?tx_rate?? ivi->tx_rate = 
adapter->vf_data[vf].tx_rate;? ? 
?^/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:
 In function 
?igb_ndo_bridge_getlink?:/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:2286:1:
 error: control reaches end of non-void function [-Werror=return-type]?}?^cc1: 
all warnings being treated as errorsmake[10]: *** 
[/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.o]
 Error 1make[9]: *** 
[_module_/home/dpdk-2.1.0/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni]
 Error 2make[8]: *** [sub-make] Error 2make[7]: *** [rte_kni.ko] Error 
2make[6]: *** [kni] Error 2make[5]: *** [linuxapp] Error 2make[4]: *** 
[librte_eal] Error 2make[3]: *** [lib] Error 2make[2]: *** [all] Error 
2make[1]: *** [x86_64-native-linuxapp-gcc_install] Error 2make: *** [install] 
Error 2
>?

Can you please help me resolve this issue?
Thanks-sundar

Reply via email to