From patchwork Mon Jul 3 14:17:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Pattan, Reshma" X-Patchwork-Id: 26243 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id BF586325A; Mon, 3 Jul 2017 16:18:03 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id DFD0E20F for ; Mon, 3 Jul 2017 16:18:02 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP; 03 Jul 2017 07:18:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.40,303,1496127600"; d="scan'208"; a="1167591739" Received: from sivswdev02.ir.intel.com (HELO localhost.localdomain) ([10.237.217.46]) by fmsmga001.fm.intel.com with ESMTP; 03 Jul 2017 07:18:00 -0700 From: Reshma Pattan To: dev@dpdk.org Cc: Reshma Pattan Date: Mon, 3 Jul 2017 15:17:58 +0100 Message-Id: <1499091478-20984-1-git-send-email-reshma.pattan@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH] doc: update note on packet capture framework initialization X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Updated note to make users aware that the packet capture framework is initialized by default only in testpmd. Other primary applications need to explicitly modify the code to do this initialization. Signed-off-by: Reshma Pattan --- doc/guides/tools/pdump.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/tools/pdump.rst b/doc/guides/tools/pdump.rst index 57097e4..b46a92f 100644 --- a/doc/guides/tools/pdump.rst +++ b/doc/guides/tools/pdump.rst @@ -38,6 +38,12 @@ a DPDK secondary process and is capable of enabling packet capture on dpdk ports .. Note:: * The ``dpdk-pdump`` tool can only be used in conjunction with a primary application which has the packet capture framework initialized already. + In dpdk, only the ``testpmd`` is modified to initialize packet capture + framework, other applications remain untouched. So, if the ``dpdk-pdump`` + tool has to be used with any application other than the testpmd, user + needs to explicitly modify that application to call packet capture + framework initialization code. Refer ``app/test-pmd/testpmd.c`` + code to see how this is done. * The ``dpdk-pdump`` tool depends on libpcap based PMD which is disabled by default in the build configuration files,