[dpdk-dev] DPDK with Ubuntu 14.04?

Wiles, Roger Keith keith.wiles at windriver.com
Fri Jul 11 16:29:40 CEST 2014


Hi Matt,

I normal only compile the core DPDK code and then compile my Pktgen traffic generator application
(git clone https://github.com/Pktgen/Pktgen-DPDK) which uses a fair amount of functions from DPDK.

Thanks
++Keith

Keith Wiles, Principal Technologist with CTO office, Wind River
mobile 972-213-5533

[Powering 30 Years of Innovation]<http://www.windriver.com/announces/wr30/>

On Jul 11, 2014, at 8:17 AM, Matt Laswell <laswell at infiniteio.com<mailto:laswell at infiniteio.com>> wrote:

Thanks Roger,

We saw similar issues with regard to kcompat.h.  Can I ask if you've done anything beyond the example applications under 14.04?

--
Matt Laswell
infinite io


On Thu, Jul 10, 2014 at 7:07 PM, Wiles, Roger Keith <keith.wiles at windriver.com<mailto:keith.wiles at windriver.com>> wrote:
The one problem I had with 14.04 was the kcompat.h file. It looks like a hash routine has changed its arguments. I edited the kcompat.h file and was about to change the code to allow DPDK to build. It is not affix but it worked for me.

lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h

/* #### Changed the next line to use (3,13,8) instead of (3,14,0) KeithW */
#if ( LINUX_VERSION_CODE < KERNEL_VERSION(3,13,8) )
#if (!(RHEL_RELEASE_CODE && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7,0)))
#ifdef NETIF_F_RXHASH
#define PKT_HASH_TYPE_L3 0

Hope that works.

Keith Wiles, Principal Technologist with CTO office, Wind River
mobile 972-213-5533<tel:972-213-5533>

[Powering 30 Years of Innovation]<http://www.windriver.com/announces/wr30/>

On Jul 10, 2014, at 5:56 PM, Matt Laswell <laswell at infiniteio.com<mailto:laswell at infiniteio.com>> wrote:

Hey Folks,

I know that official support hasn't moved past Ubuntu 12.04 LTS yet, but
does anybody have any practical experience running with 14.04 LTS?  My team
has run into one compilation error so far with 1.7, but other than that
things look OK at first blush.  I'd like to move my product to 14.04 for a
variety of reasons, but would hate to spend time chasing down subtle
incompatibilities.  I'm guessing we're not the first ones to try this...

Thanks.

--
Matt Laswell
infinite io





More information about the dev mailing list