From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 512AEADA7 for ; Tue, 14 Jun 2016 21:56:03 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id v199so135790971wmv.0 for ; Tue, 14 Jun 2016 12:56:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=o+I3aj6GeI4cC+9Yk1xzkEdOosA7y4AY3PNEqLI6Upc=; b=jGV/bSiXA9zU0hEpyWOPvFZPTUVxALMo7VqVprIVxTz/weium4F4pGnawqapf5V+t2 t6ARfru85X82ENNdVD9Qre0nQfFJAlJQ8TilXgVQdDZaw+W9R4AgR0Lq3UrBoHEMPdpc K9UlVbYx9r4txHztycEsPDHJ6yCJtmB1dCVdA/aH0DZQRsWdYMVTyyhi67dMmaA6qwNp o65rf1i4zV2kopXd8o3fqpiARIwakxjCYBxU7a56WgSsTfC/hHXzwyU/hIJqxvltfEfE f66nFFA9H0mqhPO1iKSBjrqD8eaWKr8DgYpMF+XMAyNqqyabEjz+a4JqR71hiDJl6E/6 98hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=o+I3aj6GeI4cC+9Yk1xzkEdOosA7y4AY3PNEqLI6Upc=; b=eMzWvyUvLq2RHVAsialNlqcRNi55pBWbVu24DZ03olXKcjiVpGb6mFDi54Z+4o50vp Nc27h/gC2XO2AX1d6AoECLZp2fQuwPtW1Fpj3s5XZ069i1quxgxJxUGFU2G1AGXXwnff MSFjQ6oEOOl4Af3C4oXF3jRcrdaSFA+16zIHwsMc1+Vkj32SSXYxhXiHR9DnU7PKxs1/ 7WRBXv5xkm1zfdYYD7HtQVUouKTJR9jmmVsmS6nkCfzNIlKUPPgB/TUSO+ElFFXNkyuy MIkz1CHCM6XsfaiS30FbypjppJuy1hTfnUzX7oHN1YVXKULGDtML3KqlaKD+2VAehYGF rWTQ== X-Gm-Message-State: ALyK8tKMdWzkPL4wB+OeEgK7jBDpMew85v4UE/qfbA3n6dw1rUMTqCbXwn/BlTyyK1OIJ8/V X-Received: by 10.194.37.40 with SMTP id v8mr7676247wjj.161.1465934162891; Tue, 14 Jun 2016 12:56:02 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id u64sm5750145wmd.8.2016.06.14.12.56.01 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Jun 2016 12:56:01 -0700 (PDT) Date: Tue, 14 Jun 2016 12:56:01 -0700 (PDT) X-Google-Original-Date: Tue, 14 Jun 2016 21:56 +0200 From: Thomas Monjalon To: Reshma Pattan Cc: dev@dpdk.org Message-ID: <7622564.Y5NIsWpo6J@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1465897108-26548-7-git-send-email-reshma.pattan@intel.com> References: <1465575534-23605-1-git-send-email-reshma.pattan@intel.com> <1465897108-26548-1-git-send-email-reshma.pattan@intel.com> <1465897108-26548-7-git-send-email-reshma.pattan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v9 6/8] app/pdump: add pdump tool for packet capturing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2016 19:56:03 -0000 2016-06-14 10:38, Reshma Pattan: > New tool added for packet capturing on dpdk. > This tool supports command line options. > This tool runs as secondary process by default. > > Command line supports various parameters to capture > the packets. > > User should pass on a)port and queue (or) b)pci address > and queue (or) c)device name and queue to capture > the packets. > > Users also need to pass on either pcap file name or > any linux iface, on to which packets captured from dpdk > ports will be sent on for the users to view using tcpdump. > > Users have option to capture packets either a) in Rx > direction, b)(or) in Tx direction c)(or) from both the > directions. > > User can pass on ring_size and mempool parameters using > command line, but these are optional parameters. > These are used to create ring and mempool objects for packet > mirroring from primary application to tool. If user doesn't > provide any values, default values will be used internally > for the creation of the ring and mempool. The explanations should be in an user guide. > --- 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_EXEC_ENV_LINUXAPP) += pdump Why Linux only? There is a build error if CONFIG_RTE_LIBRTE_PDUMP is disabled.