summaryrefslogtreecommitdiff
path: root/app/Makefile
diff options
context:
space:
mode:
authorReshma Pattan <reshma.pattan@intel.com>2016-06-15 15:06:23 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-06-16 23:40:21 +0200
commitcaa7028276b85a4b25431cdd471438faf82793f6 (patch)
treebab723f8cc37b60fac2327f65b1cc6c67b0c7081 /app/Makefile
parent278f945402c55497c614de3f46b1a7660782eaf9 (diff)
downloaddpdk-caa7028276b85a4b25431cdd471438faf82793f6.zip
dpdk-caa7028276b85a4b25431cdd471438faf82793f6.tar.gz
dpdk-caa7028276b85a4b25431cdd471438faf82793f6.tar.xz
app/pdump: add tool for packet capturing
The new pdump tool is added for packet capturing on dpdk. This tool runs as secondary process by default. Tool facilitates the command line options like port, device_id, queue which user should pass on to the tool to request the packet capture on those devices. Tool creates the rte ring, mempool and pcap vdev and calls the enable API of the pdump library with port/device_id, queue, ring and mempool as arguments to enable the packet capture on specific devices and gets the packets from the primary process over the ring. Once the packets are received, those packets will be send to the pcap vdev. Tool can be terminated by using ctrl+c(SIGINT) upon which tool calls the disable API of the pdump library to disable the packet capture and dequeues the rest of the packets from the ring and sends them on to the pcap vdev, then after releases all allocated resources. Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'app/Makefile')
-rw-r--r--app/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Makefile b/app/Makefile
index 1151e09..30ec292 100644
--- a/app/Makefile
+++ b/app/Makefile
@@ -37,5 +37,6 @@ DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) += test-pipeline
DIRS-$(CONFIG_RTE_TEST_PMD) += test-pmd
DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += cmdline_test
DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += proc_info
+DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += pdump
include $(RTE_SDK)/mk/rte.subdir.mk