From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 613975677 for ; Fri, 15 Jul 2016 16:03:29 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 15 Jul 2016 07:03:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,368,1464678000"; d="scan'208";a="846934060" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by orsmga003.jf.intel.com with ESMTP; 15 Jul 2016 07:03:00 -0700 Received: from irsmsx109.ger.corp.intel.com ([169.254.13.193]) by IRSMSX107.ger.corp.intel.com ([169.254.10.204]) with mapi id 14.03.0248.002; Fri, 15 Jul 2016 15:03:00 +0100 From: "Pattan, Reshma" To: Raja Jayapal CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] capture packets on VM Thread-Index: AQHR3l3PBM/NNSIisUSz4M/pXmgUeKAZg6mg Date: Fri, 15 Jul 2016 14:02:58 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F0105A1B4@IRSMSX109.ger.corp.intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWYzYjI2YzktODM2Yi00MjQ1LWE5YzctMmNhZWI3MTYyNjVjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjR3Q3RXMDIrOHhjS1VyRVJMQldtK1p1TER2WlpNM0FUTDA4MlwvQUlTUWZNPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] capture packets on VM 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: Fri, 15 Jul 2016 14:03:29 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Raja Jayapal > Sent: Friday, July 15, 2016 6:55 AM > To: dev@dpdk.org > Subject: [dpdk-dev] capture packets on VM >=20 > Hi All, >=20 > I have installed dpdk on VM and would like to know how to capture the pac= kets > on dpdk ports. > I am sending traffic from host=A0 and want to know how to confirm whether= the > packets are flowing via dpdk ports. > I tried with tcpdump and wireshark but could not capture the packets insi= de VM. > setup : bridge1(Host)------- VM(Guest with DPDK) ----- bridge2(Host) >=20 Hi, On DPDK you can capture packets with app/pdump/ tool. This tool is availabl= e for use from 16.07RC1.=20 What you can do is run testpmd and see if packets are seen in testpmd, that= confirms if packets are landing on dpdk ports or not. If you also want to capture packet for analysis, you need to run app/pdump/= tool along with testpmd.=20 The pdump tool captures the packet to pcap file, so you can use tcpdump -ni= to view the packets.=20 More about the tool usage can be found under doc/guides/sample_app_ug/pdump= .rst Let me know if you need further help on this. Thanks, Reshma