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 5157E43C38 for ; Thu, 29 Feb 2024 12:11:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 14E1F402BB; Thu, 29 Feb 2024 12:11:09 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2067.outbound.protection.outlook.com [40.107.237.67]) by mails.dpdk.org (Postfix) with ESMTP id EDE7D402B4 for ; Thu, 29 Feb 2024 12:11:07 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AP82chXGOYQ7eun6HmqWYkGoBlFHL3A1wh+O9qTVpnVoVGaulzsZ3er7BjRhXbiTLgwLZumsLU2n2PXJo/hayf/BpmDviS7S3kq0JdWSkaqtysrffDyMYsw8b8mywDqzAtswxO4ECsZZGRq5wF80XeR+V2zaAnN8W7MtGMUzpWAPvEkGiV6SWTqIG+uaEQAExSZ4NBI6W9qrVDb5fTBZwgZFl620SahNb9jYHKs4fTfy31L33W8o0giK8UfnccYjxCjc2VjQGwWQczFxK7n5qBWzkUGw0GfczUwsM5/xsdPCBOtXI71r7LTBFF9d5HDSxRAVOt9e29mgkZfiOsOlqg== 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=VnyXKE//z/F+0TQNu7cR8SaVCMN3Ntq2yQygbUOCWGc=; b=VKUXgVGeGF0vxmIoBLAYeTujqfho3Y+TIDFuWsarWca8pIsJQW29b53JBDPbMM/bRP5eO+H+9M3t+UjU2WHzgQBH0Xy+ywcSvj1iRj8pHCa6nMjfC0+h13aq8Id0IHVk1xf/qZHp03njZYIxCRtefctNC5PdOlzfP/ARz6ibM5bxGXrIT4aHbmUfXwN6u5mz6UkR+SAqBmPaj78Nt6+PxYhnJjqHfbJ1FsK4iKkacXJ8KLFtMD8NXmJfqa/nC9Ipx4pQsPSYI4g2MZbm+o4K4jIa5iRA+oz3dqEDvVfhkZ71aIhvawGHRu0fIeAqbs6ce3Yo4fBG46ZPin/35b1tqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VnyXKE//z/F+0TQNu7cR8SaVCMN3Ntq2yQygbUOCWGc=; b=4uGgBOiGWwkVJLk1tNfaJeyiQfOb1Kt2uyDavs9oGmtwQuS9vWVAMQytQSre27lSVZs9sSVf82wWO8aEpUFmFn+ANKM1z9CT+mpreG3EXVJJvHHR+V7MgrHursxdWKwMXmVWhxRb5koL8J+VcInUwFPRWz/CgJrPYvYXctcBK6s= Received: from CH3PR12MB8233.namprd12.prod.outlook.com (2603:10b6:610:129::15) by PH7PR12MB7914.namprd12.prod.outlook.com (2603:10b6:510:27d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.41; Thu, 29 Feb 2024 11:11:06 +0000 Received: from CH3PR12MB8233.namprd12.prod.outlook.com ([fe80::56c9:d5f3:2cb3:d9f2]) by CH3PR12MB8233.namprd12.prod.outlook.com ([fe80::56c9:d5f3:2cb3:d9f2%4]) with mapi id 15.20.7316.039; Thu, 29 Feb 2024 11:11:05 +0000 From: "Tummala, Sivaprasad" To: Sindhura Bandi , "users@dpdk.org" Subject: RE: How to enable logging and where to find the logs Thread-Topic: How to enable logging and where to find the logs Thread-Index: AQHaZSxtyU5swO/4WUOduiSFEN2KxLEhNCjA Date: Thu, 29 Feb 2024 11:11:05 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=cd1177bb-7cec-4604-b9b0-83d1a956ad42; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=0; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2024-02-29T11:05:49Z; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH3PR12MB8233:EE_|PH7PR12MB7914:EE_ x-ms-office365-filtering-correlation-id: 1955e2cc-d875-471c-333e-08dc39171fa2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LL522UZ3iDj92Zz+/4V6WN/S8wwCF2Q5I97qwS9BPyiWCs8oq7+57KEGHetTlcfT5Y6RRASSkHjZ4XS5M+SI3Y5N0NJT7a0xXYiLk+W55+geTLd2zCRLUl+aTKLKB8+Gjv25cc7rBDgLHqsu5/tOawuHmdvKyIyS+Hpml2heqHUDyFVBzGi7yJHbegaXdCwJByjgTo36a0ZZGeF+MUy1HSnytgv9hMqlXzqTIepgRq9jGscjUIBgqh1m2nq4tfavO6AjELEuCYhSoCP2bo1YNjwtMyWQU0TrzsAmWVNO1D8BOMVGTeKdUJ6lLYa5LNFSLkh+FYJDHJx8M9h3tf+IaAOpmN0oxpZ3CPfzFxpeTT03enEZC4o164pyl0/DR9UUM3fPjCmUKzfz11pnYbLo4QzVa5DDioppSvyUCNlZsImed9GBdZimjlv2zNTT9gm9/N+Slwv2IfwxuaZ2lVcUKSQQQcUFNx5Jx6TXScSGMyfpMJn6Pv1eeJ2+fji3GzPFs9v7pXF5/7ksgZdTxIaBsxzB3quKuEmxrHOVt+Hu/f5nUglp2eGpltPSM6LEZe8Qrl0esDCFkM66In+2+rpSemVjhYRDkk+FqAtU40WQJgTQf8FEV4L5nNRAnSXwfS5ac1LkBQmiAJpCPbssDRLJbMz4o43W0IvPUpglcmvwaBZ4V7O8mAxQFXUurSFaN2YlaaPNd0YUNZTYS3TV9fCiJiMZ1ISbR7dU+jD51wTIMjg= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR12MB8233.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?0woAfcB3ist5FLJ7jxnsb27sE6zzQGIqgJhWmNMIZjg7QfhfnoPeHpQ3/wlV?= =?us-ascii?Q?YtDhkf5i3LPi6TpFFfXHZoUxfARV1JwWelTsOt6wlk7O4mVQgosa2bMHiP3p?= =?us-ascii?Q?uJl47V9D8dxLUCOaDZSOuF/bQdCd0YmBLst+vUZyltkyuhBDIslzFDqSJE0a?= =?us-ascii?Q?O2Eu3y1up/TwWyibYeNIETQZcfPz3toINdhAD1uugrvA1gKRgWKo6KT5SnVX?= =?us-ascii?Q?LtkTOol1x7UV55sJodTgRbZ7cheLvjjodIf90zSgU7PUFdh8e7dktGxL55JX?= =?us-ascii?Q?mcdDtzTp9MBL2AzJcTS0OTIOsaInJzGp6NHhybaVmZ0yfSL1M9M1wXfyF/Yu?= =?us-ascii?Q?rsF1GKdfR7SNJ6SW4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?o7hLBntJ4z6/EsrGqXJfbmSn250TKpP8wTTZfS9yK+YLOYEnfem5lXtJ7ii8?= =?us-ascii?Q?/ursPYMFtLlIwJkIJm3tUflBhE1dDejCMyyrddwYFap42ja9JSCfezJmYidg?= =?us-ascii?Q?6a/5+wBImEoXdir46+1ROY6brGZJJLAeT6VCgqQTip9gHarhHxO6QLgby18a?= =?us-ascii?Q?30uh5RzFzDGIIgYsYAbAzCGhWMmYqHbJG9rlR/gndiU8CPzshhWVRJ/rMp5Y?= =?us-ascii?Q?N9rkKphvWGwgpnWCQ2evB2nDQyRtWZvHWBBhgyJaKymKitfWWjcDezNSDkYQ?= =?us-ascii?Q?VMHYTUcib3Dvh4vJJgQ=3D?= Content-Type: multipart/alternative; boundary="_000_CH3PR12MB8233A3BE5197B903103AB25A865F2CH3PR12MB8233namp_" MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8233.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1955e2cc-d875-471c-333e-08dc39171fa2 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Feb 2024 11:11:05.7465 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /syOyfIeMF9FBJQUj6n7FR791tK1wNCpj+mD50zgbLPANtAy97VfOHyMhzXmkpja05w1oAK2BwwZCU4ilUtr6A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB7914 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_CH3PR12MB8233A3BE5197B903103AB25A865F2CH3PR12MB8233namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable [AMD Official Use Only - General] Hi Sindhu, You can try enabling the dpdk logging with: ovs-appctl vlog/set file:dpdk:dbg DPDK logs should be in ovs-vswitchd log itself as indicated below. 2024-02-29T11:02:54.327Z|00115|dpif_netdev|INFO|Core 10 on numa node 0 assi= gned port 'dpdk0' rx queue 0 (measured processing cycles 0). 2024-02-29T11:02:54.332Z|00116|dpif|WARN|netdev@ovs-netdev: port_set_config= failed (Invalid argument) 2024-02-29T11:02:54.332Z|00117|ofproto|WARN|br0: datapath configuration on = port 1 (dpdk0) failed (Invalid argument) 2024-02-29T11:02:54.335Z|00118|dpdk|INFO|Device with port_id=3D1 already st= opped 2024-02-29T11:02:54.350Z|00119|dpdk|INFO|ice_set_rx_function(): Using AVX2 = OFFLOAD Vector Rx (port 1). 2024-02-29T11:02:54.813Z|00120|netdev_dpdk|INFO|Port 1: 6c:fe:54:6b:4f:11 2024-02-29T11:02:54.814Z|00121|netdev_dpdk|INFO|dpdk1: rx-steering: default= rss 2024-02-29T11:02:54.814Z|00122|dpif_netdev|INFO|Performing pmd to rx queue = assignment using cycles algorithm. Thanks & Regards, Sivaprasad From: Sindhura Bandi Sent: Thursday, February 22, 2024 6:52 AM To: users@dpdk.org Subject: How to enable logging and where to find the logs Caution: This message originated from an External Source. Use proper cautio= n when opening attachments, clicking links, or responding. Hi Everyone, I might be asking a basic question here. I'm facing some issues while bring= ing up a dpdk interface on ovs-dpdk on debian-12. Dpdk version is 22.11.1. Dpdk seems to fail to allocate a mempool, even though there seem to be enou= gh free huge page memory available on the machine. I tried to enable dpdk debugs using the following command, ovs-vsctl set Open_vSwitch . other_config:dpdk-extra=3D"--log-level=3Dlib.m= buf:debug" The command was accepted, but I don't see any logs from dpdk anywhere in my= /var/log. I get the following information from ovs logs. Feb 22 01:03:42 cep ovs-vswitchd[108468]: ovs|00237|netdev_dpdk|ERR|Failed = to create mempool "ovs013337e900021580020512" with a request of 20512 mbufs Feb 22 01:03:42 cep ovs-vswitchd[108468]: ovs|00238|netdev_dpdk|ERR|Failed = to create memory pool for netdev vhost-user0, with MTU 1500 on socket 0: No= such file or directory Feb 22 01:03:42 cep ovs-vswitchd[108468]: ovs|00239|dpif_netdev|ERR|Failed = to set interface vhost-user0 new configuration Checked ovs code, and its callingvrte_pktmbuf_pool_create(), which is faili= ng with "No such file or directory". I would like to enable debugs for lib.= mbuf. Please let me know if I'm missing anything. Thanks, Sindhu --_000_CH3PR12MB8233A3BE5197B903103AB25A865F2CH3PR12MB8233namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

[AMD Official Use Only - General]


Hi Sindhu,

 

You can try enabling the dpdk logging with:  

 

  ovs-appctl vlog/set = file:dpdk:dbg

 

DPDK logs should be in ovs-vswitchd = log itself as indicated below.

 

2024-02-29T11:02:54.327Z|00115|dpif_netdev|INFO= |Core 10 on numa node 0 assigned port 'dpdk0' rx queue 0 (measured processi= ng cycles 0).

2024-02-29T11:02:54.332Z|00116|dpif|WARN|netdev= @ovs-netdev: port_set_config failed (Invalid argument)

2024-02-29T11:02:54.332Z|00117|ofproto|WARN|br0= : datapath configuration on port 1 (dpdk0) failed (Invalid argument)

2024-02-= 29T11:02:54.335Z|00118|dpdk|INFO|Device with port_id=3D1 already stopped

2024-02-= 29T11:02:54.350Z|00119|dpdk|INFO|ice_set_rx_function(): Using AVX2 OFFLOAD = Vector Rx (port 1).

2024-02-29T11:02:54.813Z|00120|netdev_dpdk|INFO= |Port 1: 6c:fe:54:6b:4f:11

2024-02-29T11:02:54.814Z|00121|netdev_dpdk|INFO= |dpdk1: rx-steering: default rss

2024-02-29T11:02:54.814Z|00122|dpif_netdev|INFO= |Performing pmd to rx queue assignment using cycles algorithm.

 

Thanks & Regards,

Sivaprasad

 

 

From: Sindhura Bandi <sindhura.bandi@certe= snetworks.com>
Sent: Thursday, February 22, 2024 6:52 AM
To: users@dpdk.org
Subject: How to enable logging and where to find the logs=

 

Caution: This message originated from an External Source. Use proper caution= when opening attachments, clicking links, or responding.

 

Hi Everyone,

 

I might be asking a basic question here. = I'm facing some issues while bringing up a dpdk interface on ovs-dpdk on de= bian-12. Dpdk version is 22.11.1.

Dpdk seems to fail to allocate a mempool,= even though there seem to be enough free huge page memory available o= n the machine.

 

I tried to enable dpdk debugs using the f= ollowing command,

ovs-vsctl set Open_vSwitch . other_config= :dpdk-extra=3D"--log-level=3Dlib.mbuf:debug"

 

The command was accepted, but I don't see= any logs from dpdk anywhere in my /var/log.

 

I get the following information from ovs = logs.

 

Feb 22 01:03:42 cep ovs-vswitchd[108468]:= ovs|00237|netdev_dpdk|ERR|Failed to create mempool "ovs013337e9000215= 80020512" with a request of 20512 mbufs

Feb 22 01:03:42 cep ovs-vswitchd[108468]:= ovs|00238|netdev_dpdk|ERR|Failed to create memory pool for netdev vhost-us= er0, with MTU 1500 on socket 0: No such file or directory

Feb 22 01:03:42 cep ovs-vswitchd[108468]:= ovs|00239|dpif_netdev|ERR|Failed to set interface vhost-user0 new configur= ation

 

Checked ovs code, and its callingvrte_pkt= mbuf_pool_create(), which is failing with "No such file or directory&q= uot;. I would like to enable debugs for lib.mbuf.

Please let me know if I'm missing an= ything.

 

Thanks,

Sindhu

--_000_CH3PR12MB8233A3BE5197B903103AB25A865F2CH3PR12MB8233namp_--