X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fcommon%2Feal_common_whitelist.c;h=0592757c120f918c7ad38930bf09cd2162e53f4c;hb=e9d48c0072d36eb6423b45fba4ec49d0def6c36f;hp=d5fdd3e4c21fe1587d2261452485848107c09722;hpb=e1e4017751f1a7ed4807269559b8a9bedb9cd73a;p=dpdk.git diff --git a/lib/librte_eal/common/eal_common_whitelist.c b/lib/librte_eal/common/eal_common_whitelist.c index d5fdd3e4c2..0592757c12 100644 --- a/lib/librte_eal/common/eal_common_whitelist.c +++ b/lib/librte_eal/common/eal_common_whitelist.c @@ -1,7 +1,7 @@ /*- * 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 @@ -48,6 +48,9 @@ #ifdef RTE_LIBRTE_PMD_RING #include #endif +#ifdef RTE_LIBRTE_PMD_PCAP +#include +#endif #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, +#endif +#ifdef RTE_LIBRTE_PMD_PCAP + RTE_ETH_PCAP_PARAM_NAME, #endif "-nodev-" /* dummy value to prevent compiler warnings */ };