/*-
* BSD LICENSE
*
- * Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
+ * Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
#include <rte_debug.h>
#include <rte_pci.h>
#include <ctype.h>
+#ifdef RTE_LIBRTE_PMD_RING
+#include <rte_eth_ring.h>
+#endif
+#ifdef RTE_LIBRTE_PMD_PCAP
+#include <rte_eth_pcap.h>
+#endif
#include "eal_private.h"
static char dev_list_str[4096];
{
#define NUM_PREFIXES (sizeof(non_pci_prefixes)/sizeof(non_pci_prefixes[0]))
static const char *non_pci_prefixes[] = {
+#ifdef RTE_LIBRTE_PMD_RING
+ RTE_ETH_RING_PARAM_NAME,
+#endif
+#ifdef RTE_LIBRTE_PMD_PCAP
+ RTE_ETH_PCAP_PARAM_NAME,
+#endif
"-nodev-" /* dummy value to prevent compiler warnings */
};
static uint8_t prefix_counts[NUM_PREFIXES] = {0};