DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Jincheng Miao <jincheng.miao@gmail.com>
Cc: dev@dpdk.org, barak@saguna.net
Subject: Re: [dpdk-dev] [PATCH] kni: fix build for CentOS 6.6
Date: Thu, 18 Dec 2014 23:04:01 +0100	[thread overview]
Message-ID: <3374859.ZpZN08uFzM@xps13> (raw)
In-Reply-To: <1418885429-11891-1-git-send-email-jincheng.miao@gmail.com>

> From CentOS 6.6, function skb_set_hash is introduced, this breaks
> the previous assumption. So modify RHEL_RELEASE_VERSION from 7.0
> to 6.6 to fix build for rte_kni.ko.
> 
> Related mail from Barak Enat:
> http://dpdk.org/ml/archives/dev/2014-December/010124.html
> 
> building error likes:
>   CC [M]  /root/dpdk-source/build/build/lib/librte_eal/linuxapp/kni/e1000_82575.o
> In file included from /root/dpdk-source/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_osdep.h:41,
>                  from /root/dpdk-source/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_hw.h:31,
>                  from /root/dpdk-source/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.h:31,
>                  from /root/dpdk-source/build/build/lib/librte_eal/linuxapp/kni/e1000_82575.c:38:
> /root/dpdk-source/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3870: error: conflicting types for ‘skb_set_hash’
> include/linux/skbuff.h:620: note: previous definition of ‘skb_set_hash’ was here
> make[8]: *** [/root/dpdk-source/build/build/lib/librte_eal/linuxapp/kni/e1000_82575.o] Error 1
> 
> Signed-off-by: Jincheng Miao <jincheng.miao@gmail.com>

Applied

Thanks
-- 
Thomas

      reply	other threads:[~2014-12-18 22:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-18  6:50 Jincheng Miao
2014-12-18 22:04 ` Thomas Monjalon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3374859.ZpZN08uFzM@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=barak@saguna.net \
    --cc=dev@dpdk.org \
    --cc=jincheng.miao@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).