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 8B551A0503 for ; Thu, 19 May 2022 17:29:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C5C7442B8E; Thu, 19 May 2022 17:28:56 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00129.outbound.protection.outlook.com [40.107.0.129]) by mails.dpdk.org (Postfix) with ESMTP id E928940156 for ; Thu, 19 May 2022 15:13:27 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XBHc+tZFJrmzFJFM0w1/1HXWbj2FJvNOY2IUvtASEScJ3nCC50RWKA7PQP/JlIMVs7bBiIQZRzSQGe+1ChHFxdpaAniY9Gq2C5DTRG49VcTb1203Ifa+ihWMN5HCC0fWx10ITjmXm1uORK0EJ8n+j+9LxW0wCi7ZPVjkP2cyjF9QOAtITShjDjI7ea/zIKC4Q+K++FUNJ8sHGzMMxCcflaeuC4eXZWvh/VRckMwdVG8Pqqs3iN3oBBR4cm7lSdN3UICgHSqNGfActk2LODhEa6T1cMxsHRsZ3QgQ7i8Trf0MkyxwjoOT98x9JyCe0cQWAzsVltSsOSmXyKtAA2dRRw== 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=jDE6utC2ykO2zGtUmHurryKVZLl91CmUbRYw3OpdEOo=; b=JERdX38QCg+fyb1EwW3eNJXEfEYqOyTWmcrlmKa7gSM7x4bRTb2MghEm5Ks/aM7MxqHQPzCGwgjH0wDbXpZbqpQXxR9RmoV7sQE8eVPebazsC4EDHgwzKBJiSr316lBo95zDNsUJpPpxKRIQBI8wZ26LNfA6ZDp+merQSoaSXsfTWnM7AUQkorzEPJ7nwllyYT3VKWnbUtoPPlrRW91o3e2Tov6+YL3iyeKnfNPJUiliS5QEwkhPYF7ahMuv7i2a0n6UqeaeOk22TcrOZGxBofHO7dBCAN+Wq6gF3uAbM3NAo0UN1JkmDQpJegCNx3PL7ibXa86joVqW1YM6TgY1qw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ulakhaberlesme.com.tr; dmarc=pass action=none header.from=ulakhaberlesme.com.tr; dkim=pass header.d=ulakhaberlesme.com.tr; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ulakhaber.onmicrosoft.com; s=selector2-ulakhaber-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jDE6utC2ykO2zGtUmHurryKVZLl91CmUbRYw3OpdEOo=; b=aW1G9lm+QFs2E3fIZGFtwpRWI1MwIaUCzYqzqnohPfUVLuSfwIelmlkuQh2xsVCAecoc1BDVrz56o0TJ6f4PekzhKLxxL6Ubr8voxDmlv6FVGOH1zlktwOWoGzspWEfkOFoK+OtBbK5Pjpy273R0Nw31u3tv4PvEYiiTcSEyzW4= Received: from AM9P189MB1554.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:2fc::7) by AS8P189MB1509.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:351::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.15; Thu, 19 May 2022 13:13:21 +0000 Received: from AM9P189MB1554.EURP189.PROD.OUTLOOK.COM ([fe80::bc19:a776:6f71:8732]) by AM9P189MB1554.EURP189.PROD.OUTLOOK.COM ([fe80::bc19:a776:6f71:8732%5]) with mapi id 15.20.5273.014; Thu, 19 May 2022 13:13:21 +0000 From: Yasin CANER To: "users@dpdk.org" Subject: How to open debug and trace for KNI Thread-Topic: How to open debug and trace for KNI Thread-Index: AdhrgWE5iTnHh44yTZWi6VWIEPhZIg== Date: Thu, 19 May 2022 13:13:21 +0000 Message-ID: Accept-Language: tr-TR, en-US Content-Language: tr-TR X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ulakhaberlesme.com.tr; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 342b184c-5709-4a97-1531-08da39995945 x-ms-traffictypediagnostic: AS8P189MB1509: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: PCwelP+R4uPnoGcJwR1Yj1FzsQGEdqhtdTnHSJXTFR0xWKEa83LtRcU89pwBfXoYx62+2wZaP1ZexeUS/FOTNkZ7U1FlgzrdiXIeMeI/Ixo/97YMjbg3jjuLZbHRcz9RJXVAnrETTOCYe1SgYSrVLeKkCrN/H5vpfmT8YUYwr+vCfhEZMtqXGbogLUXtjX5DyVXHSRzvoUDKEEsL1tsQ1iju4r+NUP24HY46/lvchwby+GhtDXkSfBWJxtNgMaX1OHnfvAfKXJJuK0jyw0SThJOUyMijrU/XoamXj6JgsTqCFpQsbx4p48DZVFttp8eNXot60EdD9QWvSi7v9MuTeCO1dk+FLJu4ITOrZSPEi0Q0wTKzwdWHiVCQHot02rOX67WxiNZ+fE9XDpYH24WD18qzEQZiL23DjgveRQZxb0fu1S5/BVzPffWWJew+i8UtixVL4ld7wQZ8aC/yaPmMzwRE6hVsexgs/5NZffmyW1SAZfSgFps8nc9rLJysMmW0gO24m7GRi+pKNIB9baI+pBYCDz4GmTKXt/MYNJ6KX9zJYppXtVAIFUeR8fN6sr7sqxALDgxh+HgFt0Ulonk0yRJqXU5hXnOCA2pdgIF19RTm7+VqbQS/KuG1GFY1LhnL9frHQZhnXWWpf2o9vT3oZayJGev3MccW3TJEa4RoctObdl+l7M5EJclqosGOkQ42tAmVPMJXb5ozqXQHOIV7JfqfvWXUq/GfKJHYvVtucsFR73vjCpHnPKIXmbASx2ht898HUzxXguXPbSGNip+s+TybAgKh3pKM/RrbKHx2Ig4= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM9P189MB1554.EURP189.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(186003)(7696005)(8936002)(122000001)(6916009)(38070700005)(52536014)(26005)(4743002)(33656002)(9686003)(66476007)(966005)(71200400001)(316002)(508600001)(8676002)(21615005)(6506007)(66556008)(55016003)(86362001)(66946007)(2906002)(166002)(19627235002)(5660300002)(38100700002)(66446008)(83380400001)(76116006)(64756008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xtQhYIA/ITW3N48ScFGX738MQv6FQjd3PNhOKMWZBhBG8pe7J0RX65Zbc6uE?= =?us-ascii?Q?j0hnpLGyQ4UEgxEE04pR6MQdqx44cR291FiYAP554cHzfxfjqds59ckzzEd/?= =?us-ascii?Q?izLha1uo8sKzvDUPH3Wsk/x+k/fty5Ivv1uOT8jHSiDVnlPL7UJscF2SziGE?= =?us-ascii?Q?oKDmTT7Cr/D+VobEdqoHR2HrxvdSVmIwLM8Xvp4lU6YuTcKPzhiKuZuqM7b0?= =?us-ascii?Q?D1tYGFUYSVLlfVkmEVKFRy82D/t/xRUiveMWZa1HynkANfjh6ocvuYj2+Jpc?= =?us-ascii?Q?BnnwUF0wniOo27sdGRvsyG1dZVo2uZ4k6Zs+TkhLLdA2+eCCLuiiZlCCqIOo?= =?us-ascii?Q?Egp9v0ryy/ib+FhwW72XUTa/Lt1TDV2ud88AAMphSAsOP2J0mi4f1AA04ByM?= =?us-ascii?Q?2kUT22Bk8mJBhnuQgRAyH1tyX9Prz7z7Jt23lmvU3ToSSIP5kTUQmSq0GxoR?= =?us-ascii?Q?nvtSbOfVJ/YCsznHe3HdL3uL5ZgJvlr3iR4kF41t1gQO3ujkOf1C1kxWfN9u?= =?us-ascii?Q?rW3xb6z5tldZ6N6VVPYfW7zgsj4GdyMFsQdgzj1TAw4DXhB1rvpQqKRlEuN1?= =?us-ascii?Q?73OqGamskkw4tY/UY4Dwr26GRDNG0Y9wmdbU3Eknznt7jog0Mq7KX+GXv9z5?= =?us-ascii?Q?7SArrz5h3cLLYdrRZQPycOehYjFRtQGN1lggTV0BlYGiRamIG8klB8hKC/r1?= =?us-ascii?Q?WrJBz7AZczIe6efL67PjeK87AaFJAFsmXEw+S2YXigh1E6st/SNISbqtZErP?= =?us-ascii?Q?qdnFSGHS+3GGaSZwRa/ScAWXgA88x8u8zEKPIAt6/35SDciJBBk35WF6K0aC?= =?us-ascii?Q?+WJkqYj+Y1S6PSASWZPODI68e28uZseckxAdQvlYmT2mX1X19kg1BeKyGZo3?= =?us-ascii?Q?+ni+wzJho7jVm5buQiqR83tjdunIzEDgkMMDC94Ah8lEI6PNmUt7XYNcWZYX?= =?us-ascii?Q?s4RKmAnK6VLW/2P7Vhyk1EQ1FdkBDZ9it7gZDhHA94sTRjmjuXCoBANetjor?= =?us-ascii?Q?k62Q9enx/pGS1Kkurq1TLrXab+T3Mjj3vfQT5pbgiN9keZ/WxO0jGGQk3r/M?= =?us-ascii?Q?n/uM9vEmveoRy369S18iYAXf5gSFirAQ6ocO4ELQNxfQiQydkZmaCDmNUmzr?= =?us-ascii?Q?x4nt312LwBfGc972J6U7iRAgK8nID6q2dH9M9jEjvFKn10OLizwjbMHHBcrO?= =?us-ascii?Q?2vvhgIqs55hlaOoJ/wloEdioNZb1QBeBjZYIfJiSHHnGHSSegTiK8aEit8UP?= =?us-ascii?Q?JI9ekzo42FvHLjyedOi4O1svgH8wS9SrRZmEbjTgI6d118NNCBsgi9g5LSNN?= =?us-ascii?Q?1TG//5DQUFQqRObuCGi0JsGUyEHm1sanrnpPHCbAT2q5qD2WwIjJ2uT8l3K4?= =?us-ascii?Q?HkuuNKJof1ZkPU5NizmYMzzXx7q/mV3NPROlUNoyfdBcEzGgxEEJzJbmrk50?= =?us-ascii?Q?O+hkR6rF/wEgO3Y8Q7w/9vD5Gp1K3C9orAYm1ePVM4T5eqo6u1l5rWQ3jq5/?= =?us-ascii?Q?4z7f3v6Na1lUWaRQLt9tuDvizQMiofngsffHmxPQipikLWk0iahZrueruufK?= =?us-ascii?Q?hFtowktJHlV89nVv7/g0X240e7BSZahKH9zrTv8npPmO64kpNKO9hIiGm/3+?= =?us-ascii?Q?67WcSsGzMbyaziM5xROpo3yK9cVunTFLaoirVVhg+OUrw2b6mGiyCPV9Hpvc?= =?us-ascii?Q?c5ddHIU9jHaVPKjza/L6POj+8wOzIqX3awRJMb0mOfhaKHO+MgVsJ7emNEDG?= =?us-ascii?Q?SM7sEpbCZehaW+E/baiPSUmWBQzIwFmDa6xG0/VO2uEdgC7m43eX?= Content-Type: multipart/alternative; boundary="_000_AM9P189MB1554C84D1C3C97DFDF5D1B69B9D09AM9P189MB1554EURP_" MIME-Version: 1.0 X-OriginatorOrg: ulakhaberlesme.com.tr X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM9P189MB1554.EURP189.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 342b184c-5709-4a97-1531-08da39995945 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 May 2022 13:13:21.6513 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 39e36fd9-0f21-4c96-ae71-dbd87cae7b33 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: QPk/R8YwPTeKbgt5xmyXrW2I3bGsQlakDJD8hyoO8zEqwZUd9ltCnGSJTUaw7sEf+W+w60o5lHC8NBrAbJUggmZw5pPaHR1QmtKokZL8u4zNzWc25M5PwJIWyb2fJF3j X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P189MB1509 X-Mailman-Approved-At: Thu, 19 May 2022 17:28:53 +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_AM9P189MB1554C84D1C3C97DFDF5D1B69B9D09AM9P189MB1554EURP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable ubuntu 20.04.3 LTS Kernel 5.4.0-110-generic DPDK Version dpdk-stable-20.11.3 Intel e810-C Driver ice-1.8.8.tar ice_load_pkg_type(): Active package is: 1.3.28.0, ICE OS Default Package Hello , I ve an enviroment as above. I try to run DPDK app that is already can run i40e driver with Intel XL710 = or X700 NIC but not on e810-C When DPDK-app is on run , KNI is allocated but there is not any KNI interfa= ce on server. I try to open debug and trace logs so try to understand what = is going on. So eal-> debug ,somehow, is activated but not for KNI? I need = to understand why KNI is not working Compile flags with meson Step 1. meson -Denable_kmods=3Dtrue -Dbuildtype=3Ddebug -Denable_trace_fp= =3Dtrue dpdk-stable-20.11.3 2. ninja 3. ninja install 4. ldconfig How to use meson : https://doc.dpdk.org/guides/prog_guide/build-sdk-meson.h= tml How to debugging for eal parameters : https://doc.dpdk.org/guides-20.08/lin= ux_gsg/linux_eal_parameters.html Here is ICE POLL PMD https://doc.dpdk.org/guides/nics/ice.html?highlight= =3Dice Parameters: -c $dpdk_core_mask -d librte_net_$dpdk_nic_driver.so -d librte_bus_vmbus.so= -d librte_mempool_dpaa2.so --log-level lib.kni:debug --log-level lib.eal:d= ebug --log-level lib.ethdev:debug --log-level net.ice:debug --trace=3D.* --= trace-dir=3D/tmp Best Regards. Yasin CANER --_000_AM9P189MB1554C84D1C3C97DFDF5D1B69B9D09AM9P189MB1554EURP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

ubuntu 20.04.3 LTS=

Kernel 5.4.0-110-g= eneric

DPDK Version dpdk-= stable-20.11.3

Intel e810-C =

Driver ice-1.8.8.t= ar

ice_load_pkg_type(= ): Active package is: 1.3.28.0, ICE OS Default Package

 <= /p>

Hello ,=

 <= /p>

I ve an enviroment= as above.

 <= /p>

I try to run DPDK = app that is already can run i40e driver with Intel XL710 or X700 NIC but no= t on e810-C

 <= /p>

When DPDK-app is o= n run , KNI is allocated but there is not any KNI interface on server. I tr= y to open debug and trace logs so try to understand what is going on. So ea= l-> debug ,somehow, is activated but not for KNI? I need to understand why KNI is not working

 <= /p>

Compile flags with= meson

 <= /p>

Step 1. meson -Den= able_kmods=3Dtrue -Dbuildtype=3Ddebug -Denable_trace_fp=3Dtrue dpdk-stable-= 20.11.3

   =   2. ninja

   =   3. ninja install

   =   4. ldconfig

   =           

How to use meson := https://doc.dpdk.org/guides/prog_guide/build-sdk-meson.html<= /p>

How to debugging f= or eal parameters : https://doc.dpdk.org/guides-20.08/linux_gsg/linux_eal_parameters.htm= l

Here is ICE POLL P= MD  https://doc.dpdk.org/guides/nics/ice.html?highlight=3Dice

Parameters: <= /o:p>

-c $dpdk_core_mask= -d librte_net_$dpdk_nic_driver.so -d librte_bus_vmbus.so -d librte_mempool= _dpaa2.so --log-level lib.kni:debug --log-level lib.eal:debug --log-level l= ib.ethdev:debug --log-level net.ice:debug --trace=3D.* --trace-dir=3D/tmp

 <= /p>

Best Regards.=

 <= /p>

 <= /p>

Yasin CANER<= o:p>

 

--_000_AM9P189MB1554C84D1C3C97DFDF5D1B69B9D09AM9P189MB1554EURP_--