rumpkernel / drv-netif-dpdk

DPDK interface driver for userspace TCP/IP stack
Other
197 stars 54 forks source link

Update to use DPDK v1.7.1 #9

Closed alexanderguy closed 10 years ago

alexanderguy commented 10 years ago

Updated the tree to work with a newer DPDK release. Tested examples/tcp_http_get/webbrowser with the following hardware/drivers:

Network devices using DPDK-compatible driver
============================================
0000:01:00.0 'Ethernet Controller 10-Gigabit X540-AT2' drv=igb_uio unused=
0000:01:00.1 'Ethernet Controller 10-Gigabit X540-AT2' drv=igb_uio unused=
0000:05:00.0 'I210 Gigabit Network Connection' drv=igb_uio unused=

Note: in my test environment, I cherry-picked buildrump.sh:107fc448 into the older buildrump.sh:8fa8071c submodule to get things to work with my DHCP server.

anttikantee commented 10 years ago

Can you have a look at the travis build issue? https://travis-ci.org/rumpkernel/dpdk-rumptcpip/builds/38196459

alexanderguy commented 10 years ago

Yah, it looks like maybe something upstream in DPDK v1.7.1 when building on Ubuntu 12.04 LTS:

  CC [M]  /home/travis/build/rumpkernel/dpdk-rumptcpip/dpdk/build/build/lib/librte_eal/linuxapp/kni/e1000_82575.o
In file included from /home/travis/build/rumpkernel/dpdk-rumptcpip/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_osdep.h:41:0,
                 from /home/travis/build/rumpkernel/dpdk-rumptcpip/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_hw.h:31,
                 from /home/travis/build/rumpkernel/dpdk-rumptcpip/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.h:31,
                 from /home/travis/build/rumpkernel/dpdk-rumptcpip/dpdk/build/build/lib/librte_eal/linuxapp/kni/e1000_82575.c:38:
/home/travis/build/rumpkernel/dpdk-rumptcpip/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3864:63: error: macro "UBUNTU_KERNEL_VERSION" requires 5 arguments, but only 1 given
make[9]: *** [/home/travis/build/rumpkernel/dpdk-rumptcpip/dpdk/build/build/lib/librte_eal/linuxapp/kni/e1000_82575.o] Error 1

I'm putting together an Ubuntu build environment to reproduce.