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 8475FA0506 for ; Tue, 29 Mar 2022 10:21:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 815E2428D8; Tue, 29 Mar 2022 10:21:28 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2075.outbound.protection.outlook.com [40.107.96.75]) by mails.dpdk.org (Postfix) with ESMTP id BD6144013F for ; Fri, 25 Mar 2022 09:00:48 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m6ziIxXvFmk5jZghe2siFiWHaYh/1RlvKXQzHjMpmEGcI3416/c6DydhIr3lwpcbdX606JqoNcdU+ecW86EQi8IB/aNVcSF50qAeSNmEi21cCjO/PDZzRzrOSWzdFNCbZ12MgpLJRT04VDm9OJ+AMLewqI9qEAKltD90f0V8iSXT8oJpYRT4AL+bQlOvMBR1dPqLJJ80xERoOk+iCHaazVYLhJu/yrezXILNWmDgBDKHE3SB0hc/FnniFsrWFuhfGRBGsnmGXZy+/PFrWG5IzFMUbG78I3LnCnq8lz5oVF3H6TdesldRAUt+PjQ63iq+s3GxWJP4cy6DKoAP1u1yAg== 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=0E5f/zebNbjJbgNc3v44NXE3A6pnhkvo2jj7AWWb+A0=; b=dC9yo8BCqnHO3NIA9R2X0VogUifus4AnTxj5DrSdc23nejYZZG/onGGunUPU8WYxzqw7EYNMBpsC5XEAOx1xDY/Ia0hqZJWr/Wqnc4rjqY4TUG4hj0Kbm4Rt2zfSPAsapnC/vaH5y41TG5Hmn5mQtNmTducqSk9C/S61axXlArmSYJudfTL55KtQIaPrHIbqbTl2ehf2Lce8E8rQ/44OFR2pcuPu+KxrC+xMBoeE+0E2WDAy7+5wC6R51YgaSbMuhCc4zLANkW9E1p33od6oWCXfJoIzBcgRuyJGFEKr8pfI3kGQwror3NaYbVyo3v4S8OaEWtUVUXRyiKQqJxMARQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=dreambigsemi.com; dmarc=pass action=none header.from=dreambigsemi.com; dkim=pass header.d=dreambigsemi.com; arc=none Received: from MW3PR22MB2332.namprd22.prod.outlook.com (2603:10b6:303:45::18) by DM5PR2201MB1435.namprd22.prod.outlook.com (2603:10b6:4:34::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.16; Fri, 25 Mar 2022 08:00:46 +0000 Received: from MW3PR22MB2332.namprd22.prod.outlook.com ([fe80::95b6:7235:80ad:e53d]) by MW3PR22MB2332.namprd22.prod.outlook.com ([fe80::95b6:7235:80ad:e53d%6]) with mapi id 15.20.5102.019; Fri, 25 Mar 2022 08:00:45 +0000 From: Ariba Ehtesham To: "users@dpdk.org" Subject: Unable to run dpdk -dumpcap with Mellanox Thread-Topic: Unable to run dpdk -dumpcap with Mellanox Thread-Index: AQHYQBzt29htv3jXqkaJ/guZXmmcfw== Date: Fri, 25 Mar 2022 08:00:45 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: 01cdf135-dffc-16dc-cd05-fa233adfc5ed authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=dreambigsemi.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: aac22f58-d919-410f-1727-08da0e35911f x-ms-traffictypediagnostic: DM5PR2201MB1435:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZEXRVjDhHhzdLdctpvcjmnXcP6wZ24Ox2/NqfmHcpTDnBemAjdHXD/e6lJ6hl7ADJR/EQPYLFn2ZDOrv1z3WgB/R1cTwSCYJSsN9FTcCjglvLi99l7OzDqZklC8AJGnaoC+mPMB4CVGxdeNwTZ4R1Gq3nKbo1Z97eFin6zBvc9wCZIUxNnT1t88TEzjMN2OtT1OFkZWuiVgV7OUdNfJgfvs/+/kEAbirVnQhVZQh0Ip2sHdYip3351erdF1FVOdhi4GHJfSfGh21FEtrR+q1V+ojZ1exqRi3gf36qRYLD29a0L9CSsQtlKV+eYDXKnIGl5sTH9/zZepV/gATkXlxIafCkd/8yTOUi1X/Ub3fuHpc1JDKAdEWD5soDiIvFfsZAe4G371oHovJHc2NPYBWS/8O43Gazp/NqYeMZ58z/H7OwrrZQIDAh/KkYbR6SkPyQe9vVUIMb2Z5/ajpTU/hIQB2sXuJExvajthGvoOrYsGRiEcz6OLeIU6URnsKxNqVihP91owt5hnnofLinL2/q8lN1xdb1DpCb0EDXhXqeGcIG4u9jb0vDC0z0xzCqIdDXul8jbyTamTYpsJtdEOByYOaoMMKiEJYN47jsyXw0Dd9SV+11O2YUFRqui/CW22bqu+gl+k2tyJODbw15alkVZcxHSNAlvFY0jNyZHCYDdgVW2Q8sH/t0/5ZaxWFtyy41i3a2zkxB1SLo9NAQ+Hi/Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW3PR22MB2332.namprd22.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(39830400003)(136003)(346002)(366004)(376002)(396003)(91956017)(33656002)(71200400001)(8676002)(7696005)(86362001)(76116006)(508600001)(66476007)(66446008)(66946007)(66556008)(6916009)(6506007)(186003)(83380400001)(55016003)(316002)(26005)(19627405001)(4743002)(64756008)(9686003)(2906002)(5660300002)(122000001)(52536014)(8936002)(38070700005)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?X08eaAC+2+pVGtOfZyrENaC7kdn9fDhdgQvLYC3Mtq0HUC36v+4EZM+T+e?= =?iso-8859-1?Q?5R0AgJNxsBS2IUc32cxcdDLi8wEuXvVX2AJA0HmOes0OEhVt9zcQq/v7nP?= =?iso-8859-1?Q?4nbMrKOrpkSw1ZxBFFRIWvw3Z81fQmySN+YeT9Uo74BT+ydN080ZZtaH9K?= =?iso-8859-1?Q?GMfJJuHHmCKmg1oH1s6WbP5wpyHeeJPn8kZvFsbqcUBeAgJtp/C00uy4lm?= =?iso-8859-1?Q?nRn8LOdLEXFQllU0yExeNR0I73aMt7TGIH5iUCMrITpTuvVQ/BqdTIBxY7?= =?iso-8859-1?Q?feTSNz8c72Vg4w1H0L2CSj1W2JF/Wr1k23GApBW4oMby9AaH4mTVl0iTMY?= =?iso-8859-1?Q?SmDLsR4tgQ/hA5dtT5bnA26ffI58FhzXw0hVzOMV4zqCM2F6RapOWIE9/c?= =?iso-8859-1?Q?xS4GFerkKD7DL4R6Oz1MnxG/fF9KMZEyZKmG3viqjk6e69xRpTnmfUn4ei?= =?iso-8859-1?Q?bWKYjE7WC7UJE2Z+BWO5KJUhqdweHbcSRi2C4Y9xkNRCEb5PFS9hTWye9K?= =?iso-8859-1?Q?r6SbGFyHd4aqWAbdUl9OAnInF1q1j61uLpVt2A4XnArShYx2XADf5cxk7f?= =?iso-8859-1?Q?PDg1+f5RBqU1ta2+Co647B9GzjrGkwKT1xUxn3jDK3j9OyM/albeIaNyc8?= =?iso-8859-1?Q?Z3A2LCtyhF6qzLFXkly2pD2bi5BqZOoD4+FM9lVNSjhz+hb5yzjrzCd9+d?= =?iso-8859-1?Q?vgh2o7d/LSM1fa7CDx90aS77jExEkX8iG5ktbPLtsW85jc8++jF9gFBmxW?= =?iso-8859-1?Q?XmbQJRTCM9JGCIsmlG/Eiw4aL5yjgFRvtAwBZAcKlxHzxKJF0FhRAt9vPR?= =?iso-8859-1?Q?fyGFen0mkVVT18/PdgbCyQqjzwW22AkSUvr7VPgI0wTgaI8vYUDxaXcYpK?= =?iso-8859-1?Q?fbIqEm7HAk7Rg8BmKYzIe6p57y6gizBGYGLWOakCQ3/J4ZfUG9u4pfrVH9?= =?iso-8859-1?Q?U/6KAZxokLO4FCAPFGVKzD2haNY6U0BmbBVKZyAjCrHLFwFshOcUATfi3C?= =?iso-8859-1?Q?ghRGwsEwmw+UECRfp2vDcSgvScLVWIeV/ewAVP1NlFGIKWEUV6kQfkEpNY?= =?iso-8859-1?Q?5dk/B9aNrw4hXIpee7AWPMe3ujkhnytkjo6qPY1DJZgaGPz8F+X/YKSPkM?= =?iso-8859-1?Q?VpfB1Aiz7rmm83PnV/gaun39wJ5gHKJ7xf57SmiBXR/+HZe/V3zBGjqEiV?= =?iso-8859-1?Q?Xum7Jq2c0KavW3zs6W6vN6nBgApPcA3315CuViIHkyxnoAT1btM+mKi7jW?= =?iso-8859-1?Q?NG4p9sNHL9aAY2bR/3ZQPbmBSZghbvWr/xcWZuZcsnIHp2vOBoI5VJ+5JT?= =?iso-8859-1?Q?KXcDpCoKhwKuoFYz7qU+eAoQCSWpXUFhd1K6Dsp/MxOy4umOJHoZq6GzqW?= =?iso-8859-1?Q?cddTZQQOyrH7CP2Z0jX1Krjvz+fK2ffxn8ExV3oz0Zn6tTjlmEfjNrHjGM?= =?iso-8859-1?Q?VsoKPiFArMyHBUrhZ1SGpRjcwiIxg6ptoWopPTN1QqoXr7nxW4oJ+DdDt2?= =?iso-8859-1?Q?YgavqxO6uW4ABZibVWPCbd?= Content-Type: multipart/alternative; boundary="_000_MW3PR22MB2332D050C9F7F1EA2EE7D68CCD1A9MW3PR22MB2332namp_" MIME-Version: 1.0 X-OriginatorOrg: dreambigsemi.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW3PR22MB2332.namprd22.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aac22f58-d919-410f-1727-08da0e35911f X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Mar 2022 08:00:45.6354 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f492af1f-9d8c-414b-ac8c-6732fc0649d5 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: iTElD4cGFKhHibAdCscmiPJk4UTcEcOP5uVH1DuCM9olt2J93Rojmd1itxEDO/rdRnafdeB1qkrpFqsIXvakRg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2201MB1435 X-Mailman-Approved-At: Tue, 29 Mar 2022 10:21:27 +0200 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_MW3PR22MB2332D050C9F7F1EA2EE7D68CCD1A9MW3PR22MB2332namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi , Can someone please guide me about dpdk dumpcap application with testpmd . while running application I am getting following errors: sudo ./build/app/dpdk-dumpcap -i 04:00.1 -w /tmp/capture.pcapng Device 0000:04:00.0 is not driven by the primary process mlx5_net: can not attach rte ethdev mlx5_net: probe of PCI device 0000:04:00.0 aborted after encountering an er= ror: Cannot allocate memory mlx5_common: Failed to load driver mlx5_eth EAL: Requested device 0000:04:00.0 cannot be used Device 0000:04:00.1 is not driven by the primary process mlx5_net: can not attach rte ethdev mlx5_net: probe of PCI device 0000:04:00.1 aborted after encountering an er= ror: Cannot allocate memory mlx5_common: Failed to load driver mlx5_eth EAL: Requested device 0000:04:00.1 cannot be used Device 0000:81:00.0 is not driven by the primary process mlx5_net: can not attach rte ethdev mlx5_net: probe of PCI device 0000:81:00.0 aborted after encountering an er= ror: Cannot allocate memory mlx5_common: Failed to load driver mlx5_eth EAL: Requested device 0000:81:00.0 cannot be used Device 0000:81:00.1 is not driven by the primary process mlx5_net: can not attach rte ethdev mlx5_net: probe of PCI device 0000:81:00.1 aborted after encountering an er= ror: Cannot allocate memory mlx5_common: Failed to load driver mlx5_eth EAL: Requested device 0000:81:00.1 cannot be used EAL: Error - exiting with code: 1 Cause: No Ethernet ports found Commands : dpdk -22.03 sudo ./build/app/dpdk-dumpcap -i 04:00.1 -w /tmp/capture.pcapng sudo ./build/app/dpdk-testpmd -c 0xf0 -n 4 -a 04:00.1 -- -i --port-topology= =3Dchained Regards, Ariba Ehtesham --_000_MW3PR22MB2332D050C9F7F1EA2EE7D68CCD1A9MW3PR22MB2332namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi ,
Can someone please guide me about dpdk dumpcap application with testpm= d .
while running application I am getting following errors:

sudo ./build/app/dpdk-dumpcap  -i 04:00.1 -w /tmp/capture.pcapng
Device 0000:04:00.0 is not driven by the primary process
mlx5_net: can not attach rte ethdev
mlx5_net: probe of PCI device 0000:04:00.0 aborted after encountering = an error: Cannot allocate memory
mlx5_common: Failed to load driver mlx5_eth
EAL: Requested device 0000:04:00.0 cannot be used
Device 0000:04:00.1 is not driven by the primary process
mlx5_net: can not attach rte ethdev
mlx5_net: probe of PCI device 0000:04:00.1 aborted after encountering = an error: Cannot allocate memory
mlx5_common: Failed to load driver mlx5_eth
EAL: Requested device 0000:04:00.1 cannot be used
Device 0000:81:00.0 is not driven by the primary process
mlx5_net: can not attach rte ethdev
mlx5_net: probe of PCI device 0000:81:00.0 aborted after encountering = an error: Cannot allocate memory
mlx5_common: Failed to load driver mlx5_eth
EAL: Requested device 0000:81:00.0 cannot be used
Device 0000:81:00.1 is not driven by the primary process
mlx5_net: can not attach rte ethdev
mlx5_net: probe of PCI device 0000:81:00.1 aborted after encountering = an error: Cannot allocate memory
mlx5_common: Failed to load driver mlx5_eth
EAL: Requested device 0000:81:00.1 cannot be used
EAL: Error - exiting with code: 1
  Cause: No Ethernet ports found

Commands :
dpdk -22.03
sudo ./build/app/dpdk-dumpcap  -i 04:00.1 -w /tmp/capture.pca= png

sudo ./build/app/dpdk-testpmd -c 0xf0 -n 4 -a 04:00.1 -- -i --port= -topology=3Dchained



Regards,
Ariba Ehtesham

--_000_MW3PR22MB2332D050C9F7F1EA2EE7D68CCD1A9MW3PR22MB2332namp_--