X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_ethdev%2Frte_ethdev.h;h=24f4b93b754d1b62ea2f25e24e52756bc0107105;hb=c85cdf2b0efe3784e206523aabcca11a6bd55d04;hp=36e3984eaca39c88511ca82ea8bd6a72a100a3b0;hpb=26c7de39fbd5353fe3d9a2b288095ea2f8b78f33;p=dpdk.git diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index 36e3984eac..24f4b93b75 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -159,6 +159,11 @@ extern "C" { #include "rte_eth_ctrl.h" #include "rte_dev_info.h" +extern int rte_eth_dev_logtype; + +#define RTE_ETHDEV_LOG(level, ...) \ + rte_log(RTE_LOG_ ## level, rte_eth_dev_logtype, "" __VA_ARGS__) + struct rte_mbuf; /**