X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flibrte_ether%2Frte_ethdev.h;h=d118c05b91ee623f4309d824affd79ed9a07140a;hb=3fd7797fcda9531885f6242c0e076e8ea65f296f;hp=2784ad17e7a2cfcd34b4c6c32cfe51b863f4b104;hpb=a6793d47f328354d0a3a3984060bbfb967e4f91d;p=dpdk.git diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 2784ad17e7..d118c05b91 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -1048,6 +1048,8 @@ TAILQ_HEAD(rte_eth_dev_cb_list, rte_eth_dev_callback); } \ } while (0) +#define RTE_ETH_DEV_TO_PCI(eth_dev) RTE_DEV_TO_PCI((eth_dev)->device) + /** * l2 tunnel configuration. */