Add APIs to access dpdk information 55/755/3
authorTodd Foggoa (tfoggoa) <tfoggoa@cisco.com>
Thu, 17 Mar 2016 20:54:30 +0000 (16:54 -0400)
committerDave Barach <openvpp@barachs.net>
Mon, 25 Apr 2016 13:25:22 +0000 (13:25 +0000)
commita30d40d33c308c254414835e116db1d72c204b50
treedb2c53231f957d70258101f942ccbd93ecf3e960
parent2acdb58d92291297b3f30a797a7054f0136f50ef
Add APIs to access dpdk information

- Add an API to get the number of DPDK mbufs
- Add an API to detemrine if the io thread has been released
- Add an API to get the DPKD pmd type
- Add an API to get the cpu socket of a device

Change-Id: I926401891fb6053c676125c9d0621cc9ed1f80bb
Signed-off-by: Todd Foggoa (tfoggoa) <tfoggoa@cisco.com>
vnet/vnet/devices/dpdk/device.c
vnet/vnet/devices/dpdk/dpdk.h