On 2016-04-12 08:49, Wang, Alex wrote:
Hi Kevin,

Latest official DPDK-16.04<http://www.dpdk.org/download> 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.

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?

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@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

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Hi,

Yeah I was looking at this problem last night and it seems it was caused by these DPDK commits

http://dpdk.org/browse/dpdk/commit/?id=39fd068a27237ff0f825d8efd9ba9ed9a28cacb0
http://dpdk.org/browse/dpdk/commit/?id=82113036e4e54a82ec485a05acce9a43ceb60552

I was recently told that DPDK-2.2 is still the required dependency
(http://openvswitch.org/pipermail/dev/2016-March/068441.html) but it should be easy enough (based on these two DPDK commits) to make OVS build against 16.04. Whether that would run normally, I don't know ;)

--
SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to