Move rte_delay_us_override so it overrides DPDK 19/1219/2
authorTodd Foggoa <tfoggoa@cisco.com>
Sat, 21 May 2016 02:10:34 +0000 (22:10 -0400)
committerDamjan Marion <damarion@cisco.com>
Mon, 23 May 2016 21:16:45 +0000 (21:16 +0000)
commite3eefff5b34a2d18c0827d277d7911319a6282e7
tree99a66b6bd00be595b25911c7fe1274477af74360
parente36af5f3153e27d97021e5ac170c4513c195ed92
Move rte_delay_us_override so it overrides DPDK

The current location in the vnet dynamic library does not override the dpdk
weak function as intented. Moving this function to the main app allows the
linker to find the non-weak symbol and override it.

Change-Id: I96c6dc5af2e511cc1f84bd66419c5a4ac96a9541
Signed-off-by: Todd Foggoa <tfoggoa@cisco.com>
vnet/vnet/devices/dpdk/device.c
vnet/vnet/devices/dpdk/dpdk.h
vpp/vnet/main.c