kni: fix debug build
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 15 Sep 2016 12:06:44 +0000 (13:06 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 21 Sep 2016 16:06:08 +0000 (18:06 +0200)
commitd12bb413599eadb3d79b5dce2d19819d4cbb29d2
treecb5b3d8e1bf83e035d512446b53f5e1fe9395dbf
parente15922d75a8226a0a5af97d39a9f15a2e6163e9d
kni: fix debug build

Fix build error with Linux kernel >= v4.7

Fix compile error because of Linux API change, 'trans_start' field
removed from 'struct net_device'.

Linux: 9b36627acecd ("net: remove dev->trans_start")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/linuxapp/kni/kni_net.c