[ovs-dev] [dpdk-ovs] OVS 2.5.0 is incompatible with latest dpdk-16.04
Wang, Alex
alex.wang at intel.com
Mon Apr 18 02:50:46 UTC 2016
Thank you so much Kevin, Michal's patch works well for DPDK16.04.
Best Regards,
Alex
-----Original Message-----
From: Traynor, Kevin
Sent: Tuesday, April 12, 2016 5:07 PM
To: Wang, Alex <alex.wang at intel.com>; Xu, Qian Q <qian.q.xu at intel.com>
Cc: dev at openvswitch.org; Zheng, HaiyanX <haiyanx.zheng at intel.com>; Qiu, Michael <michael.qiu at intel.com>; Qian, Xiaobing <xiaobing.qian at intel.com>; Weglicki, MichalX <michalx.weglicki at intel.com>
Subject: RE: [ovs-dev] [dpdk-ovs] OVS 2.5.0 is incompatible with latest dpdk-16.04
Hi Alex,
> -----Original Message-----
> From: Wang, Alex
> Sent: Tuesday, April 12, 2016 6:50 AM
> To: Traynor, Kevin <kevin.traynor at intel.com>; Xu, Qian Q
> <qian.q.xu at intel.com>
> Cc: dev at openvswitch.org; Zheng, HaiyanX <haiyanx.zheng at intel.com>;
> Qiu, Michael <michael.qiu at intel.com>; Qian, Xiaobing
> <xiaobing.qian at intel.com>
> Subject: [ovs-dev] [dpdk-ovs] OVS 2.5.0 is incompatible with latest
> dpdk-
> 16.04
>
> Hi Kevin,
>
> Latest official DPDK-16.04 has been released and we're trying to use
> OVS(v2.5.0) with this version DPDK. However current OVS cannot support
> dpdk16.04 and we hit the incompatible issue which caused OVS failed to
> build with dpdk16.04.
You are in a hurry - it was only released 10 hours ago :)
>
> According to the failure message, corresponding code updates are also
> needed in OVS to support DPDK16.04. I would like to know do we have
> any plan to implement the fix/patch to support DPDK16.04?
Yes, Michal has a patch almost ready to submit. I think it just a needs a final test run now that DPDK 16.04 is released.
The patch will be for OVS master, not for OVS 2.5 branch. We haven't typically backported newer versions of DPDK, although I suspect it would apply if you wanted to use it with OVS 2.5.
Kevin.
>
> lib/netdev-dpdk.c: In function 'netdev_dpdk_get_features':
> lib/netdev-dpdk.c:1569:29: error: 'ETH_LINK_AUTONEG_DUPLEX' undeclared
> (first use in this function)
> if (link.link_duplex == ETH_LINK_AUTONEG_DUPLEX) {
> ^
> lib/netdev-dpdk.c:1569:29: note: each undeclared identifier is
> reported only once for each function it appears in
> lib/netdev-dpdk.c:1574:32: error: 'ETH_LINK_SPEED_10' undeclared
> (first use in this function)
> if (link.link_speed == ETH_LINK_SPEED_10) {
> ^
> lib/netdev-dpdk.c:1577:32: error: 'ETH_LINK_SPEED_100' undeclared
> (first use in this function)
> if (link.link_speed == ETH_LINK_SPEED_100) {
> ^
> lib/netdev-dpdk.c:1580:32: error: 'ETH_LINK_SPEED_1000' undeclared
> (first use in this function)
> if (link.link_speed == ETH_LINK_SPEED_1000) {
> ^
> lib/netdev-dpdk.c:1593:32: error: 'ETH_LINK_SPEED_10000' undeclared
> (first use in this function)
> if (link.link_speed == ETH_LINK_SPEED_10000) {
> ^
> Makefile:4026: recipe for target 'lib/netdev-dpdk.lo' failed
> make[2]: *** [lib/netdev-dpdk.lo] Error 1
> make[2]: Leaving directory '/home/openvswitch-2.5.0'
> Makefile:4678: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/openvswitch-2.5.0'
> Makefile:2619: recipe for target 'all' failed
> make: *** [all] Error 2
> [root at localhost openvswitch-2.5.0]#
>
> Our test configurations:
>
> OS kernel: Fedora 23 + Kernel 4.4.6
> Motherboard: Intel WildCat Pass
> BIOS: D0016
> OVS version: 2.5.0
> DPDK version: 16.04
>
> Best Regards,
> Alex
More information about the dev
mailing list