summaryrefslogtreecommitdiff
path: root/app/pdump
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2017-02-23 16:41:59 +0000
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-03-08 16:05:09 +0100
commit40f1806e233e009d69635eabe6b06f9c9512df7c (patch)
tree57dbb67e77ce28f7b08af58eced6be1b7e3c7bf6 /app/pdump
parentb2fba636909e57f99d6e10781fbed95954128b22 (diff)
downloaddpdk-40f1806e233e009d69635eabe6b06f9c9512df7c.zip
dpdk-40f1806e233e009d69635eabe6b06f9c9512df7c.tar.gz
dpdk-40f1806e233e009d69635eabe6b06f9c9512df7c.tar.xz
app/pdump: fix duplicate macro definition
RTE_RING_SZ_MASK is redefined here with the original definition in rte_ring.h. Since rte_ring.h is already included, just remove the duplicate definition here. Fixes: caa7028276b8 ("app/pdump: add tool for packet capturing") Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'app/pdump')
-rw-r--r--app/pdump/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/pdump/main.c b/app/pdump/main.c
index f3ef181..b88090d 100644
--- a/app/pdump/main.c
+++ b/app/pdump/main.c
@@ -92,7 +92,6 @@
#define BURST_SIZE 32
#define NUM_VDEVS 2
-#define RTE_RING_SZ_MASK (unsigned)(0x0fffffff) /**< Ring size mask */
/* true if x is a power of 2 */
#define POWEROF2(x) ((((x)-1) & (x)) == 0)