examples/ethtool: include PCI header directly
authorThomas Monjalon <thomas@monjalon.net>
Fri, 7 Jul 2017 00:04:26 +0000 (02:04 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 8 Jul 2017 22:05:42 +0000 (00:05 +0200)
commit17fd714e803e7bdb40b2b5012cf1987a22d183e5
treec0afdd79f8fdb13a4c1b4adc6e2b1a46251dd86d
parent9eda3a7c4e83cb61887d2ea17257c7c4e12682e7
examples/ethtool: include PCI header directly

In devargs rework, rte_pci.h won't be included by rte_ethdev.h
(via rte_devargs.h) anymore.

rte_ethtool_get_drvinfo() could use rte_devargs.name instead of
creating equivalent bus specific name.
For now, it is workarounded by just including rte_pci.h.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
examples/ethtool/lib/rte_ethtool.c