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 D317D45AF2 for ; Wed, 9 Oct 2024 15:27:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87B284060A; Wed, 9 Oct 2024 15:27:24 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by mails.dpdk.org (Postfix) with ESMTP id 3F84D402E0 for ; Wed, 9 Oct 2024 15:27:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728480443; x=1760016443; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=XaZVS1jAR8o7P5zUErWLBaZIPWO83jtBuwa4Lzo/uyo=; b=nbwsQ81+4TtwuCUoKezz6EyoA0G/r2NnX6xkrwHI4fzcX2UPF6POhIL3 52tJI9VmL+MEWUunmha/tu7uuzBWConOxo8SCEpZJJ7x7Jdjg1+pf07Re d4UPldDYi8QZug0Ar5+T4489OhPqaQ4tQp+u5MbHtBbECrEgQwEAe08xj 3uzoGUhfqIe9/tSt+aOsmBODQ+KD9ksR0JS089EcGx3hvgV+AzFvBRjxu Pk0XDkUc90SLSjsBD33BAxWg9v+YILskwE+AxC9nLwjkurvk+1W3Q31oU 6wL1SDV+SQqyjyM/w9YPicrrCwUfzZUE+wouqXCCmLXaE+UqfcaNJBdrW g==; X-CSE-ConnectionGUID: XZ1J7USgR+ClzwsQydgomw== X-CSE-MsgGUID: OxgzGmBjSzuF53RZRaZbpQ== X-IronPort-AV: E=McAfee;i="6700,10204,11220"; a="27909237" X-IronPort-AV: E=Sophos;i="6.11,189,1725346800"; d="scan'208,217";a="27909237" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2024 06:27:22 -0700 X-CSE-ConnectionGUID: 8jgU2EVYQg6QxpwiEDsIfg== X-CSE-MsgGUID: hko5pWjrT3O87tqThMWg3g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,189,1725346800"; d="scan'208,217";a="75916508" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmviesa007.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 09 Oct 2024 06:27:22 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 9 Oct 2024 06:27:21 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 9 Oct 2024 06:27:21 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Wed, 9 Oct 2024 06:27:21 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.48) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 9 Oct 2024 06:27:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vuxfBng+mlW/A/1aL7QJT6xJ0VMG0gsrEF7oYBqRxR5yMSeh8FvtnheiIkcyqJirDgxXQAvJMzNZ2I7DQpIxbbDk8i6GEgp25hKvYuFb5jqAQJcx/LD9EjH0MKXeJP/Go+angEuXKxcs2IehE5O7f55FpFz9hTT4inoK/TjvP7/rds37z4BG8Z5aoAZlsP4yNU89WNO0Xzue9OY5tk7/AzsyDilJXI39DcpSht+1ijB+/4Il71hXOgbwshR16MGGtFYrC4Nff+Nqwuz4kp+FnEua5CN1QIeYZbNPlmFesG3u/BZ2MHUGQVlPuKSBMmBQKpHsqaWG0IU3GsoYBB4s6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=XaZVS1jAR8o7P5zUErWLBaZIPWO83jtBuwa4Lzo/uyo=; b=Gthm5Mk7mTIjL06MhF/BRMlN1hMwdJJpnV/g94Nxm6NIRo0SXi+QFYwJ/4TLjm+q0bOdG2X8kD8VbA3I7zdpBy2EWLbg1lPr+XB9iAFPJiLXAqOWpj8U/AXhc+M4kkN+HXYVTf1a9/J5n1wAr7Qjh0u3SxkH3nVsil++wHb54IeOb71vojaFtbe8ubtZ2DMlPXmdIASWEMi3lNr2nqQzxIBPBxUA5wphYCEjZE5YuuRuYAHRT1FjoRuj7xdE9bYm+ryQRzKKkLFousdFE0uemWlelraLoL5nHvHNQR9EbMYNDkEJGxqWBvdtvmWqBZvpFtKC1ui89EuEvJx4RaRJ9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH8PR11MB6803.namprd11.prod.outlook.com (2603:10b6:510:1cb::12) by CY5PR11MB6389.namprd11.prod.outlook.com (2603:10b6:930:3a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Wed, 9 Oct 2024 13:27:17 +0000 Received: from PH8PR11MB6803.namprd11.prod.outlook.com ([fe80::8680:ff9f:997:18b4]) by PH8PR11MB6803.namprd11.prod.outlook.com ([fe80::8680:ff9f:997:18b4%6]) with mapi id 15.20.8026.019; Wed, 9 Oct 2024 13:27:17 +0000 From: "Van Haaren, Harry" To: Lokesh Chakka , Stephen Hemminger CC: "Pathak, Pravin" , Bing Zhao , users Subject: Re: unable to capture packets Thread-Topic: unable to capture packets Thread-Index: AQHbGMA+t+gUb+a7kkKMKx/tddelGbJ7Z8wAgAAEDoCAAAdNgIAAZuMAgAAlGQCAAlkVAIAAEXhW Date: Wed, 9 Oct 2024 13:27:17 +0000 Message-ID: References: <20241007172338.060ee839@hermes.local> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH8PR11MB6803:EE_|CY5PR11MB6389:EE_ x-ms-office365-filtering-correlation-id: c681e303-0391-4ace-e066-08dce8661894 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|1800799024|376014|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?30ZqxjZ8M8TACwCfrGwpyNanG7HoN+pcoV7FKIrmKqElB+EmSbLK1NO3ko?= =?iso-8859-1?Q?w3OytwoZOcBU3fi0EvwuOWmexR5i00FC2mj0YFa2E1pcTuXrDYX13NGfSz?= =?iso-8859-1?Q?olpla7bWaXSDeA8mmpyP1Q/J6rYr+5GsspZ/PNJQ+S53ukLCWqNp+QibRC?= =?iso-8859-1?Q?jIvqEueUil1jeCFcZtEZ3bAjUpwlQ7dEjdQdNdEPc8b1MTX5TBgLWHrn5i?= =?iso-8859-1?Q?pQEoXvOHRGHiB+AXfXL/3tzKfpyD4s8FwQIJQSTfV+F3rdGhTO8YCkDB4i?= =?iso-8859-1?Q?C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h4sIQbz6AtFCXb3?= =?iso-8859-1?Q?pUttxAu2i2D1+QWfjjVz/9T7RPDEdDP1F3s4VXH8MwDEdcGZ3cfNWst3ic?= =?iso-8859-1?Q?JiMYy3CrLGEHE0DFNlk48tKe9P9MFTc5yhpN4K85cz7DSVY6FwJz5mdGuA?= =?iso-8859-1?Q?TLiGdYYHUeDv68cZHy+jrmLKn4ATPD4TpcmI5AwC3+xx9hbfnXQyHoXy6p?= =?iso-8859-1?Q?NiBwBCcjUfQuM7J2phiV6PLMwapg1Lig=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH8PR11MB6803.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?+5lJqjNHm9fIh6fZ7qxK7NVrESum2/fPFi8vbS1qhAQ0FL/SrnCGoAoMqt?= =?iso-8859-1?Q?7t7JHhk8zsEMhks/FMpW9VBuPaySt7Ctiu5196q/gDgUKDoyXZdYgm50On?= =?iso-8859-1?Q?9jKH8iV4pmzPPEN5DYdTxSM6j+qr+krMTTQTG6r1c63bA+E3Yt9E+/0S+T?= =?iso-8859-1?Q?G5h5CQxcZ3JdnOJF2dB6s8wUi/WMkVLS1PhyweAns29aX3NVGL1ysr1fpV?= =?iso-8859-1?Q?XQEJvS/W3iTVKjQmkl7Ks3Y6EGX8RfMNVMm/lm+KCE+tdU5N7QAyR3um/g?= =?iso-8859-1?Q?/gV2/0O0VGw5ZWxhQYXJoDFrPGT6jkUEM/we5+rcEpgLOApG0GH18CaN6m?= =?iso-8859-1?Q?7tA/HMbEXy4JynPlC+CIF17wWlo/Yxo66ZtREnLPp0Iih1gTIqPKgcchIF?= =?iso-8859-1?Q?TYuyel1AjUUQ6BG4aw0SvQq3qQWMHS06w5e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8g8BVsM/eCVbqfpvWVUwVvlHgtaI9tTCVo+kJuU5kCDW9jCh9whKz8PVG?= =?iso-8859-1?Q?TKcQxZinwNRIvkDHo0bN4ZqvxHZPV18g+B3zlt+w/OlQRwFPSY8yc0iItI?= =?iso-8859-1?Q?jq4k6a9Z5U/qFICZMz+gJ93NYrkmAG0jmk8B7KXjiKjygmVJQDTp6H6n97?= =?iso-8859-1?Q?O5G5Cj8sE/c6KNCCdWUxyJ06IWGOkZsGon5f4vpYpXXcNggp7qkur0D4sE?= =?iso-8859-1?Q?ghht7NNbC52RR8nZBY8AF1biA1HNwxgVU97iYVg3rMejkfJ+/QMPyg/LfT?= =?iso-8859-1?Q?YctdCeEkPBQSXwRAme4SwOOquVtL2WZyarDWkRrp49GkP7SkWnssbcng?= =?iso-8859-1?Q?=3D=3D?= Content-Type: multipart/alternative; boundary="_000_PH8PR11MB6803B8CCA59A9C09EAB9774BD77F2PH8PR11MB6803namp_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH8PR11MB6803.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c681e303-0391-4ace-e066-08dce8661894 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2024 13:27:17.5911 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FCUHkfsbkMkxN8HhkAAcCHLMDaF27BftPub6Y9GH6e4BFbYmM/UR0V4onj1IgRXTr/gfTw4S5+mAgtr+j0/QTECD3dK+aywnEc7hFIoW+8o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6389 X-OriginatorOrg: intel.com 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_PH8PR11MB6803B8CCA59A9C09EAB9774BD77F2PH8PR11MB6803namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > From: Lokesh Chakka > Sent: Wednesday, October 9, 2024 1:15 PM > To: Stephen Hemminger > Cc: Pathak, Pravin ; Bing Zhao ; users > Subject: Re: unable to capture packets > > hi, Hi Chakka, Please don't "top post" on mailing lists; a reply "inline" with context is = a lot easier to follow for all current (and future!) readers. > did certain modifications as per your suggestions. still the same problem= . not able to capture any packets....!!! Have you tried to run the DPDK example applications? Specifically, the skel= eton/basicfwd.c has a "known good" setup routine, and forwards packets on a single core. Perhaps it is a good place to compar= e your setup code to, as it its known working. > I replaced 4096 with 512. rte_pktmbuf_pool_create is giving an error. for= the time being i've left it as 4K only. > I feel it should not be a problem. There is a problem somewhere - and currently in your code it is not root ca= used. This is a time to re-check code that "seemed ok" before, because somewhere something is not behaving a= s you expect. > PFA for the revised code. Attaching code to mailing lists is not an easy/good way to review; perhaps = create a git repo and push the code there? Then provide a link, and future patches could easily show what improvements= /fixes occur. (If you email another version of the "pmd.c" file, readers cannot know what changes were made -> = leads to lots of duplication of review effort) > Output is as follows : > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > EAL: Detected CPU lcores: 40 > EAL: Detected NUMA nodes: 1 > EAL: Detected shared linkage of DPDK > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > EAL: Selected IOVA mode 'VA' > EAL: VFIO support initialized > EAL: Using IOMMU type 1 (Type 1) > ice_dev_init(): Failed to read device serial number > > ice_load_pkg_type(): Active package is: 1.3.39.0, ICE OS Default Package = (double VLAN mode) > main 53 port id: 0 num_of_pkts_per_queue: 4096 > ice_set_rx_function(): Using AVX2 Vector Rx (port 0). > Received Interrupt Signal SIGINT (2). Exiting... > main 98 time : 4 total pkts rcvd: 0 bandwidth: 0 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D previous conversation, as top-posted answers, and discussion was har= d to follow. It seems "num_of_pkts_per_queue" is used everywhere (mempool size, mbuf bat= ch array size, rx_burst size, etc) This is almost certainly impacting things somehow. Review skeleton/basicfwd= .c for better sizes/values. Hope that helps! Regards, -Harry --_000_PH8PR11MB6803B8CCA59A9C09EAB9774BD77F2PH8PR11MB6803namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

> From: Lokesh Chakka <lvenkatakumarchakka@gmail.com>
> Sent: Wednesday, October 9, 2024 1:15 PM
> To: Stephen Hemminger <stephen@networkplumber.org>
> Cc: Pathak, Pravin <pravin.pathak@intel.com>; Bing Zhao <bing= z@nvidia.com>; users <users@dpdk.org>
> Subject: Re: unable to capture packets
>  
> hi,

Hi Chakka,

Please don't "top post" on mailing lists; a reply "inline&qu= ot; with context is a lot easier to follow for all current (and future!) re= aders.

> did certain modifications as per your suggestions. still the same prob= lem. not able to capture any packets....!!!

Have you tried to run the DPDK example applications? Specifically, the skel= eton/basicfwd.c has a "known good" setup routine,
and forwards packets on a single core. Perhaps it is a good place to compar= e your setup code to, as it its known working.

> I replaced 4096 with 512. rte_pktmbuf_pool_create is giving an error. = for the time being i've left it as 4K only.
> I feel it should not be a problem.

There is a problem somewhere - and currently in your code it is not root ca= used. This is a time to re-check
code that "seemed ok" before, because somewhere something is not = behaving as you expect.

> PFA for the revised code.

Attaching code to mailing lists is not an easy/good way to review; perhaps = create a git repo and push the code there?

Then provide a link, and future patches could easily show what improvements= /fixes occur. (If you email another
version of the "pmd.c" file, readers cannot know what changes wer= e made -> leads to lots of duplication of review effort)


> Output is as follows :
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> EAL: Detected CPU lcores: 40
> EAL: Detected NUMA nodes: 1
> EAL: Detected shared linkage of DPDK
> EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
> EAL: Selected IOVA mode 'VA'
> EAL: VFIO support initialized
> EAL: Using IOMMU type 1 (Type 1)
> ice_dev_init(): Failed to read device serial number
>
> ice_load_pkg_type(): Active package is: 1.3.39.0, ICE OS Default Packa= ge (double VLAN mode)
> main 53 port id: 0 num_of_pkts_per_queue: 4096
> ice_set_rx_function(): Using AVX2 Vector Rx (port 0).
> Received Interrupt Signal SIGINT (2). Exiting...
> main 98 time : 4 total pkts rcvd: 0 bandwidth: 0
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

<snip> previous conversation, as top-posted answers, and discussion w= as hard to follow.

It seems "num_of_pkts_per_queue" is used everywhere (mempool size= , mbuf batch array size, rx_burst size, etc)
This is almost certainly impacting things somehow. Review skeleton/basicfwd= .c for better sizes/values.

Hope that helps! Regards, -Harry


--_000_PH8PR11MB6803B8CCA59A9C09EAB9774BD77F2PH8PR11MB6803namp_--