net/ixgbe: localize mapping of ethdev to PCI device
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 23 Dec 2016 15:57:57 +0000 (16:57 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sat, 24 Dec 2016 17:54:41 +0000 (18:54 +0100)
commit032e9958642608e20c30db9998b507faed49b776
tree2e1884c9652e72e6220e569095c0c6aaf57957a5
parent2e8aad98faa9527fc2439b9f28042d5bd935af6c
net/ixgbe: localize mapping of ethdev to PCI device

Since later changes will change where PCI information is,
localize mapping in one macro.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Jan Blunck <jblunck@infradead.org>
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/ixgbe/ixgbe_ethdev.h
drivers/net/ixgbe/ixgbe_pf.c