kni: fix build on SLE12 SP3
authorNirmoy Das <ndas@suse.de>
Mon, 9 Oct 2017 22:04:09 +0000 (23:04 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Oct 2017 22:12:18 +0000 (23:12 +0100)
commit47b1119fd1a0c79eeadb5e96e1903d6f4b738f36
tree4721cf90c4d3d99a9197e8ec76eaa7c2b299cf63
parentf8277965139def57beba1d9f4e4cec13e6721ce1
kni: fix build on SLE12 SP3

build error:
build/lib/librte_eal/linuxapp/kni/kni_net.c:215:5: error:
‘struct net_device’ has no member named ‘trans_start’
  dev->trans_start = jiffies;

Signed-off-by: Nirmoy Das <ndas@suse.de>
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/linuxapp/kni/compat.h