net/mlx5: check VLAN push/pop support
[dpdk.git] / drivers / net / pcap / pcap_ethdev.c
index 5ff7339..a8774b7 100644 (file)
@@ -16,6 +16,7 @@
 #include <rte_mbuf.h>
 #include <rte_mbuf_dyn.h>
 #include <rte_bus_vdev.h>
+#include <rte_os_shim.h>
 
 #include "pcap_osdep.h"
 
@@ -140,11 +141,7 @@ static struct rte_eth_link pmd_link = {
                .link_autoneg = ETH_LINK_FIXED,
 };
 
-RTE_LOG_REGISTER(eth_pcap_logtype, pmd.net.pcap, NOTICE);
-
-#define PMD_LOG(level, fmt, args...) \
-       rte_log(RTE_LOG_ ## level, eth_pcap_logtype, \
-               "%s(): " fmt "\n", __func__, ##args)
+RTE_LOG_REGISTER_DEFAULT(eth_pcap_logtype, NOTICE);
 
 static struct queue_missed_stat*
 queue_missed_stat_update(struct rte_eth_dev *dev, unsigned int qid)