git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update Intel copyright years to 2014
[dpdk.git]
/
lib
/
librte_eal
/
common
/
eal_common_whitelist.c
diff --git
a/lib/librte_eal/common/eal_common_whitelist.c
b/lib/librte_eal/common/eal_common_whitelist.c
index
d5fdd3e
..
0592757
100644
(file)
--- a/
lib/librte_eal/common/eal_common_whitelist.c
+++ b/
lib/librte_eal/common/eal_common_whitelist.c
@@
-1,7
+1,7
@@
/*-
* BSD LICENSE
*
/*-
* BSD LICENSE
*
- * Copyright(c) 2010-201
3
Intel Corporation. All rights reserved.
+ * Copyright(c) 2010-201
4
Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-48,6
+48,9
@@
#ifdef RTE_LIBRTE_PMD_RING
#include <rte_eth_ring.h>
#endif
#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];
#include "eal_private.h"
static char dev_list_str[4096];
@@
-96,6
+99,9
@@
is_valid_wl_entry(const char *device_str, size_t dev_buf_len)
static const char *non_pci_prefixes[] = {
#ifdef RTE_LIBRTE_PMD_RING
RTE_ETH_RING_PARAM_NAME,
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 */
};
#endif
"-nodev-" /* dummy value to prevent compiler warnings */
};