From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1DF5643AFB for ; Sat, 17 Feb 2024 16:36:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C936C400D7; Sat, 17 Feb 2024 16:36:14 +0100 (CET) Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by mails.dpdk.org (Postfix) with ESMTP id 2CF9342E10 for ; Wed, 14 Feb 2024 23:44:51 +0100 (CET) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41EMK2UL011924 for ; Wed, 14 Feb 2024 22:44:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= from:to:subject:date:message-id:content-type:mime-version; s= qcppdkim1; bh=UwiD9TbODO+xquSesmnyJ8RbX+pb4u1HkBNV8QPwnRU=; b=Jv ljlzX7J5jP33Bo9zvyv+YB6rV4Bcuy2In5mmBnG3s7eWe7RRDgsc2xchMirg60Zm xdpV54aAnkwDOCh/5lJcIoaTDUx0JGa1T4jM7Yry3U/AMM1/CJhONYe3sdcQrn2X +XThzSz46w8wGsl/O/F/lryptOy5clV+oM8YKLjFxt1b4vFbZhhH8W2vt5u7nNzv 4ON7tBjPsezLNf6H0CTtnZbA+1AY4peDNEggnINaRXec+vhrXbsjrIDfhT0Ofc35 lfxnxTSTOO6RWDFzVEomKz8uCJBvcEKELlh2N+hp+IC1DN/sUYU4mXxBRW0DSAD5 wbt9gxJ27+jHGmtG4Eug== Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2101.outbound.protection.outlook.com [104.47.58.101]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w9435r9hh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 14 Feb 2024 22:44:50 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ofAkraiLEXR2k3EIrhg5DLVOJpChqJvpGqrU4WZ9/UNDl5POJn9+OT5vJRgZA++0IbXvP+Tnb0vhQCHGV63EmazJEKgyY6Ynjvu3ZtZ0DTRVDnWhi1kpoYG0xPmv2hyFjVCAqo0ahdy4JyFSdfNqZ/xXsfHlZMLKvX/2td64IM9tTjZ1Pocloa01qSh8WU78/PZXGRLghrMNH7Zz7DGeNdBYdNxd2FOeHAqa9sR41nFIe+4sd9xFpOI9UD6ctV9wS4hu57ND5wSg41iJkC2WA78z5sw/nGZnOqZSaQi841BYqRD5BXMQMQipm1nI2PkYV9wrqrYA1AEufuqvoSJx3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UwiD9TbODO+xquSesmnyJ8RbX+pb4u1HkBNV8QPwnRU=; b=Et3EflXdsZE8E0vivDnK0UOLlZ9FGh6ptNeD6jpgVmXDPWkNRczQAcbStfmsYcT/DKqnh80fyt7EsSP3m6Oj7pyOF8zJPn4wm3KpbvowMtkgV+B1N+9ujPipWjt7ROQdmg9drIqbZuEEGkrqlYM/kVArfjcigtdIq1IfD6qzRzgHYxe2ElkiAVnVTdT6mI90EDH/S5qNsfJau9wWd8oIfm1uxv7Vwx00U/RYwuwjNS0xMW3qCnpvKnY0719JrsRIqpwU57PFU8wyKxhcF33VdhUdOiDMIKMLsfvnLsuYnsxzKipdhEbj6JFuqiG7970hd3otkqFp1rM4TcZ4BNdMQg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=qti.qualcomm.com; dmarc=pass action=none header.from=qti.qualcomm.com; dkim=pass header.d=qti.qualcomm.com; arc=none Received: from CO6PR02MB8721.namprd02.prod.outlook.com (2603:10b6:303:134::12) by CH3PR02MB9490.namprd02.prod.outlook.com (2603:10b6:610:122::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.27; Wed, 14 Feb 2024 22:44:47 +0000 Received: from CO6PR02MB8721.namprd02.prod.outlook.com ([fe80::b13b:ad27:1580:6444]) by CO6PR02MB8721.namprd02.prod.outlook.com ([fe80::b13b:ad27:1580:6444%7]) with mapi id 15.20.7292.027; Wed, 14 Feb 2024 22:44:47 +0000 From: Sameer Vaze To: "users@dpdk.org" Subject: DPDK Pdump tool is not able to attach to DPDK test pmd primary application Thread-Topic: DPDK Pdump tool is not able to attach to DPDK test pmd primary application Thread-Index: Adpfkp7TBun73ni5To21ysF3VYaTmg== Date: Wed, 14 Feb 2024 22:44:46 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR02MB8721:EE_|CH3PR02MB9490:EE_ x-ms-office365-filtering-correlation-id: ef9282c6-158c-4dc4-da85-08dc2dae8ba9 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UULblfnH8TkmQ62BDY9UWN17ifHEnbFAAPNvV5K3NQoGjuCrHgrGE5ob2/eNF06gKByap4lBuhlV58FiCdZqsPlArntWBTkNWu6FGr9pumsvJ+P1M1ysT25QOxLWxMAEKbIjOwMmVky+bhWfbRdUrWzRQnB9ylpPqSB6rYuSzZBjI13Hfn9pYhmcZA9d9qpoFMAaVPJHmPyUiUoV7c4gxCHe6uWHMFplGkbthBp31AnqVt6njc+JKKOkZZHtHz1lX/0/98ukjzvbjkysqS10w1ahTG9RNJ1GfuHJNjm0lg1pQZBKvk8PUqwcRZsmLKNyGxXGWsNrKNdXiFcMUyH5qocu0gt+B+Ur4PULZ8yQSkHSNTjFXWvr9BFVFYTxiFdd3sf2C6UK232Ja+B6TVMqdhRB/4KX1xUPKs6OeZUWtpMjVqN2tnZ4c3PQnH3EQlXc4hHsIHYYhF3jQ0RSq2lAklqnNxJuR3/laBPuTgZUSk2CaV7twGZGkltwHUItKJOzdEVnCT+4n8xc17cNj4pZEmiOP78QnUk/T6oBMBtI519lQbMH4bGJ+G3e7DRHL03CVUjz+xeFajMT5mn8DSr3+bsLqI3oNgqN1nLWZdYxRP5LWPIWgbA7cWXQKWUzP/Qk x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR02MB8721.namprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(396003)(39860400002)(346002)(366004)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(33656002)(86362001)(83380400001)(122000001)(55016003)(38100700002)(2906002)(5660300002)(4744005)(38070700009)(66556008)(66476007)(66446008)(52536014)(64756008)(66946007)(76116006)(41300700001)(8936002)(6916009)(8676002)(71200400001)(316002)(7696005)(9686003)(6506007)(478600001)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vrXsZOxR/A/4Os3VMCeW9zd6HaqLPEtVbf3TJyLwT+pQzWek6wAC6zAKpCuk?= =?us-ascii?Q?c4Gr4/ZvymC55p1ctvtfG9YmAZShh7vvyAe0Iv5jWxTP0kO+DC1GRqOml4Tt?= =?us-ascii?Q?CvfKXiAYlNo0e75c5XcxSKPJOWZIxu7bRFSx6IaAYvz+ky6IApTCK2aVALhP?= =?us-ascii?Q?Kcj1Y80XZjP8mGvvkv4Y6HoNnSUFWFt1kugLou6pKZrH/JQzrl8M1cb86Wux?= =?us-ascii?Q?t1y9TsAEU4FlLO4C+Bxt986dB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LGxPnwQq20U?= =?us-ascii?Q?Q7NrmZckpG1TR9JZZPIDWKFgQGk9JnoaPp6WgSjJaQ8PTj/OFiSUmrN0F+R6?= =?us-ascii?Q?ngT5aldTWFiawRBPMy7JQIr3e7gNJISz2my/TJWQvJhUDJFsylGjf6WxlMzx?= =?us-ascii?Q?nUHQZqc0GcYiJggywWkZm+aQVwAB7C5XlU8Iocxb+8Rst0eEhNpUHrFNI12q?= =?us-ascii?Q?um2BmyJamS/PvwBVT3CdrQigBWO5oaqHwRKmdJTU1RC+inCuj3AXQxY4zl2e?= =?us-ascii?Q?wcpRkPdveQjUdINM94rtrf2EjdQYxoA36UtqwpCFN8CT01h93/lhsTSX+6Mu?= =?us-ascii?Q?a28UyOjm/6byI6LTaKfjAEkLoFVg8q30WYzLOBq06+iO5Q+PMxB14H90X77R?= =?us-ascii?Q?+WQMFDxAni2bk7tAw7oGpzdMl6eZrKJSD/AwrUrNtfVpEC0CJqDVPfeSujQ4?= =?us-ascii?Q?xJkE4ZXgXb65gA3HVBbR8zZmSm8UkMRMTI14nSZZ?= Content-Type: multipart/alternative; boundary="_000_CO6PR02MB872118D47DA2B1D875E79183894E2CO6PR02MB8721namp_" MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: QM7AOwyvkh06qUw0zwvSHM2Bq/DWabFcpcZh+GKv4kQw+asvhIgwgcM4bmB8VfAETzTTqMoSjAvRHCcOMcjmT1NTe+2FGFNyGLnCP9SfV8q7AxXFKqMadmqiN4CF8uP6Ru95ofbV0nH/8u8EgfX1hwov2rqEcdnAqxnXOqmNZQ8FHbFzGiphxwjd7oDTODGrkiV0dvLW88ArJxIY3L4+JqE3mI0ef2+2BPZAVpFu/Iyl/oO8VGSoc/iRiAS6Oz/ViwSFyIrfEwgcfnpDMf3d6MA7W0e5yfgnYSWvbCs4BPgk2u4c0hAMNDPpHesCWZPY6MQc2IPVUoMT31Ha421YznLP8QqctZRobMBrDuji0FMUsM/nfKkRAyfDPKLwl9AHNp5+Mhkb6Y6apMSjqxqiBau3CGZJPTKwdOKXXnIt9/1CIXfQnWMpmiidY2L81UtpS7LiYq1pFuL3KEnAF4lJAFZ+8bVy7x2DxCsqbAG52bnWv7dj30JCwW62iGhDKs3Sl/6q3FB27h9wjB/IzCMdfdXQiqfVkIwL9w0ETbQ06hSvu7aIFJMQF3EsZycM/5uHZmTXoqfPFnau/6ubqI1xkP+T8vBgZm7F14TV+6xk4LagOHgUiPcOMdcxLzwzEFzz X-OriginatorOrg: qti.qualcomm.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR02MB8721.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef9282c6-158c-4dc4-da85-08dc2dae8ba9 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Feb 2024 22:44:47.0066 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 98e9ba89-e1a1-4e38-9007-8bdabc25de1d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YZbPlYm1RySlq+yC40wYz6kuIOaUfxr4dEvMZExVh8HWimRWOhLFlfzWTn4bSeOddfcjNF53g5JOGgUQX8AUGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR02MB9490 X-Proofpoint-GUID: O-E8zWCMziSaB8DskUOoGAMbbwrbD5rR X-Proofpoint-ORIG-GUID: O-E8zWCMziSaB8DskUOoGAMbbwrbD5rR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-14_14,2024-02-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 suspectscore=0 spamscore=0 priorityscore=1501 malwarescore=0 adultscore=0 bulkscore=0 mlxlogscore=999 clxscore=1011 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402140172 X-Mailman-Approved-At: Sat, 17 Feb 2024 16:36:13 +0100 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_CO6PR02MB872118D47DA2B1D875E79183894E2CO6PR02MB8721namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hey Folks, I see the following message when I attempt to attach pdump to the testpmd s= ample application: Pdump output: EAL: Failed to hotplug add device EAL: Error - exiting with code: 1 Cause: vdev creation failed:create_mp_ring_vdev:695 Testpmd output: Reached maximum number of Ethernet ports EAL: Driver cannot attach the device (net_pcap_rx_0) EAL: Failed to hotplug add device on primary The primary and secondary applications were run using the following command= s: Primary: sudo ./dpdk-testpmd --proc-type=3Dprimary --file-prefix=3Dtest -d = /path/to/pmd Secondary: sudo ./dpdk-pdump --proc-type=3Dsecondary --file-prefix=3Dtest -= d /path/to/pmd -- --pdump 'port=3D0,queue=3D1,rx-dev=3D./rx.pcap,tx-dev=3D.= /tx.pcap' DPDK version: 22.11.1 Is this a known issue? Is there any known fix for this? Thanks Sameer Vaze --_000_CO6PR02MB872118D47DA2B1D875E79183894E2CO6PR02MB8721namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hey Folks,

 

I see the following message when I attempt to attach= pdump to the testpmd sample application:

 

Pdump output:

EAL: Failed to hotplug add device

EAL: Error - exiting with code: 1

  Cause: vdev creation failed:create_mp_ring_vd= ev:695

 

Testpmd output:

Reached maximum number of Ethernet ports<= /p>

EAL: Driver cannot attach the device (net_pcap_rx_0)=

EAL: Failed to hotplug add device on primary

 

The primary and secondary applications were run usin= g the following commands:

 

Primary: sudo ./dpdk-tes= tpmd --proc-type=3Dprimary --file-prefix=3Dtest -d /path/to/pmd<= /span>

Secondary: sudo ./dpdk-pdump --proc-type=3Dsecondary= --file-prefix=3Dtest -d /path/to/pmd -- --pdump 'port=3D0,queue= =3D1,rx-dev=3D./rx.pcap,tx-dev=3D./tx.pcap'

=  

DPDK = version: 22.11.1

=  

Is th= is a known issue? Is there any known fix for this?

=  

Thank= s
Sameer Vaze

--_000_CO6PR02MB872118D47DA2B1D875E79183894E2CO6PR02MB8721namp_--