DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] DPDK with Ubuntu 14.04?
@ 2014-07-10 22:56 Matt Laswell
  2014-07-11  0:07 ` Wiles, Roger Keith
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Laswell @ 2014-07-10 22:56 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] DPDK with Ubuntu 14.04?
  2014-07-10 22:56 [dpdk-dev] DPDK with Ubuntu 14.04? Matt Laswell
@ 2014-07-11  0:07 ` Wiles, Roger Keith
  2014-07-11 13:17   ` Matt Laswell
  0 siblings, 1 reply; 4+ messages in thread
From: Wiles, Roger Keith @ 2014-07-11  0:07 UTC (permalink / raw)
  To: Matt Laswell; +Cc: dev

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

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

On Jul 10, 2014, at 5:56 PM, Matt Laswell <laswell@infiniteio.com<mailto:laswell@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] DPDK with Ubuntu 14.04?
  2014-07-11  0:07 ` Wiles, Roger Keith
@ 2014-07-11 13:17   ` Matt Laswell
  2014-07-11 14:29     ` Wiles, Roger Keith
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Laswell @ 2014-07-11 13:17 UTC (permalink / raw)
  To: Wiles, Roger Keith; +Cc: dev

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@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
>
> [image: Powering 30 Years of Innovation]
> <http://www.windriver.com/announces/wr30/>
>
>  On Jul 10, 2014, at 5:56 PM, Matt Laswell <laswell@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
>
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] DPDK with Ubuntu 14.04?
  2014-07-11 13:17   ` Matt Laswell
@ 2014-07-11 14:29     ` Wiles, Roger Keith
  0 siblings, 0 replies; 4+ messages in thread
From: Wiles, Roger Keith @ 2014-07-11 14:29 UTC (permalink / raw)
  To: Matt Laswell; +Cc: dev

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@infiniteio.com<mailto:laswell@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@windriver.com<mailto:keith.wiles@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@infiniteio.com<mailto:laswell@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-11 14:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-10 22:56 [dpdk-dev] DPDK with Ubuntu 14.04? Matt Laswell
2014-07-11  0:07 ` Wiles, Roger Keith
2014-07-11 13:17   ` Matt Laswell
2014-07-11 14:29     ` Wiles, Roger Keith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).