kni: fix build on SLES 12
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 15 Jul 2015 15:13:07 +0000 (16:13 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jul 2015 14:52:27 +0000 (16:52 +0200)
commit056b56cb2193887b32e003d66ff08c5e7a9d0e6c
tree2d99b9de12141022cae31d797d750955fd18dd97
parentaf083e9fcc61fe5417a5c7f5561973eeebcc7222
kni: fix build on SLES 12

SLES 12 has kernel 3.12, which original does not have skb_set_hash,
but SuSE has added that function to the kernel integrated on it.
Therefore, the function is not declared when compiling on this OS.

Reported-by: Sotiris Salloumis <sotiris.salloumis@ericsson.com>
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h