net/szedata2: localize handling of PCI resources
authorJan Blunck <jblunck@infradead.org>
Fri, 23 Dec 2016 15:58:06 +0000 (16:58 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 25 Dec 2016 22:20:22 +0000 (23:20 +0100)
commit8acba705b1199347157873da38fce0a2aeab7ec1
treeea969e5636e3ecfcde31b6e7e4f4643dfb357490
parent230862e88ab0296afbd162d542ec87ab8a26f7d3
net/szedata2: localize handling of PCI resources

This changes the driver to handle the PCI resource directly instead
of repeatedly going through eth_dev.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
drivers/net/szedata2/rte_eth_szedata2.c
drivers/net/szedata2/rte_eth_szedata2.h