[ovs-discuss] Compilation error : lib/netdev-dpdk.c:55:28: fatal error: rte_virtio_net.h: No such file or directory

Ranjith Kumar D Ranjith.Kumar at radisys.com
Thu Sep 14 06:22:05 UTC 2017


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

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

Regards,
Ranjith

-----Original Message-----
From: Ben Pfaff [mailto:blp at ovn.org] 
Sent: Thursday, September 14, 2017 11:45 AM
To: Ranjith Kumar D <Ranjith.Kumar at radisys.com>
Cc: discuss at 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:blp at ovn.org]
> Sent: Thursday, September 14, 2017 11:33 AM
> To: Ranjith Kumar D <Ranjith.Kumar at radisys.com>
> Cc: discuss at 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).


More information about the discuss mailing list