> I mean the step configure was successful (./configure --with-
> dpdk=/home/ubuntu/dpdk-2.0.0/x86_64-native-linuxapp-gcc) .

It's been a while since I've used OVS 2.4 but from what I remember with DPDK 
2.0 it used vhost cuse and there were extra steps required to enable the vhost 
cuse interfaces in DPDK which could crop up at compilation as you are seeing, 
I'm wondering is this the issue your hitting.

Have you followed the build instruction from the 2.0 documentation, 
specifically install the fuse and fuse-devel (libfuse-dev for ubuntu) and then 
updating the config/common-linuxapp file in DPDK with the following.

CONFIG_RTE_BUILD_COMBINE_LIBS=y
CONFIG_RTE_LIBRTE_VHOST=y

Steps to build are also available in the link below.

https://github.com/openvswitch/ovs/blob/branch-2.4/INSTALL.DPDK.md

It might be worth giving it a shot. (Please note vhost-cuse support has since 
been removed from OVS with DPDK and replaced with vhostuser) 
> 
> The GTP protocol functionality is implemented in OVS 2.4.0 code base. So I
> have to use OVS 2.4.0 since merging the GTP packet handling code to OVS
> 2.8.0 due to lot code changes between OVS 2.4.0 and 2.8.0

A lot of work has been put in to cleaning up the DPDK aspect of OVS to make 
sure it plays nicely when hitting issues like this, normally I would encourage 
users to move to 2.8 but it seems that's not an option for you unfortunately.

Ian
> 
> Regards,
> Ranjith
> 
> -----Original Message-----
> From: Ben Pfaff [mailto:b...@ovn.org]
> Sent: Thursday, September 14, 2017 11:45 AM
> To: Ranjith Kumar D <ranjith.ku...@radisys.com>
> Cc: disc...@openvswitch.org
> Subject: Re: [ovs-discuss] Compilation error : lib/netdev-dpdk.c:55:28:
> fatal error: rte_virtio_net.h: No such file or directory
> 
> I'm confused, then.  How did you successfully link DPDK 2.0 to OVS 2.4.0
> without first compiling it?  Why is OVS 2.8 mentioned?
> 
> On Thu, Sep 14, 2017 at 06:05:52AM +0000, Ranjith Kumar D wrote:
> > Hi Ben Pfaff,
> >
> > I am building with OVS 2.4.0.
> >
> > Regards,
> > Ranjith
> >
> > -----Original Message-----
> > From: Ben Pfaff [mailto:b...@ovn.org]
> > Sent: Thursday, September 14, 2017 11:33 AM
> > To: Ranjith Kumar D <ranjith.ku...@radisys.com>
> > Cc: disc...@openvswitch.org
> > Subject: Re: [ovs-discuss] Compilation error :
> > lib/netdev-dpdk.c:55:28: fatal error: rte_virtio_net.h: No such file
> > or directory
> >
> > On Thu, Sep 14, 2017 at 05:58:07AM +0000, Ranjith Kumar D wrote:
> > > Hello All,
> > >
> > > We have GTP packet handling functionality with OVS 2.4.0  and it's
> > > very hard to merge changes to OVS 2.8.0
> > >
> > > I have installed DPDK 2.0 and successfully linked with OVS 2.4.0, but
> compilation is failing with below error:
> > >
> > > lib/netdev-dpdk.c:55:28: fatal error: rte_virtio_net.h: No such file
> > > or directory
> >
> > It isn't clear whether you're building OVS 2.4 or 2.8, but OVS 2.8 works
> with DPDK 17.05.1 (not 2.0).
> _______________________________________________
> discuss mailing list
> disc...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to