kni: fix build on RHEL 7
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Thu, 12 Jun 2014 08:09:54 +0000 (08:09 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 1 Jul 2014 14:25:35 +0000 (16:25 +0200)
commit9998f315d57f0ea24cce0941f073f3aec0219067
treece53f7df560c8a3e812697dde62505a271d13383
parent2950a769315e4716b7884ece85f85946d7693eed
kni: fix build on RHEL 7

Compilation in RHEL7 is failed. This fixes the build issue.

RHEL7 has skb_set_hash, the kernel version is 3.10 though.
Don't define skb_set_hash for RHEL7.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Reviewed-by: Hayato Momma <h-momma@ce.jp.nec.com>
Tested-by: Waterman Cao <waterman.cao@intel.com>
lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h