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 B67CFA0503 for ; Thu, 19 May 2022 19:10:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3EB5540223; Thu, 19 May 2022 19:10:46 +0200 (CEST) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id 656BF40156 for ; Thu, 19 May 2022 19:10:44 +0200 (CEST) Received: by mail-pj1-f54.google.com with SMTP id l20-20020a17090a409400b001dd2a9d555bso5845929pjg.0 for ; Thu, 19 May 2022 10:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5h25kj87RGKhk0lBqE2DxTJORf4xz16iNaerbmdggKA=; b=H1aMneEzKWoEiY8qgGYJtguduO+HTpqBmSoi/lKSMZ80Q6NnCnYlv1G/FU479qqO2z SzzQv8nO9gc0b8hlWyHdw4VMjwZmVd6RUydXNc7VJxO+Po5HPvRPaw30Fg/GowYf83HT h3ASedh0qfEeRIpFE+Zde6YzOwHWxtFb/KoCQ1qYFiQTmXEV/V/RKdzL5a40kHSQEPwM jNtTjRNu+/Gv/kr898r2gnpfdfA4azS1ET8BDMW5bSOXYZVewXYVFDAj6PKjRARJ1VmP Y29VhtQ87Xsv+OOkedAEl5TsPPmKG+PHmCLH4mUwZPWcbBA0XnqiFLzJtPuFANI2S3h9 5OCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5h25kj87RGKhk0lBqE2DxTJORf4xz16iNaerbmdggKA=; b=1cz8/v/VNauMdzkNtYUk5B4iZewhwYW4SwGnW9Dsev2Du83Zv/ckHbPfYEt5flnaqA prbvQFb+sZ47/r7Ea/hWkz4HkI4uhTjQPyU6a+e3/RT8rd/7MS04W/bo8PjxZtdiUqGw XTqXTK++Fg/1OxOpyzUyOUTYmbw3XvZEEtfXVYhxdCqFy8vXxS6xObD0j01SlvHzXzF2 SvNpW1+a2gYmfZ+sMfrUKT/iRcKyt7BfcgHWzBqWCj3Yw36MYYlChVNjD1OxtnzSMlsd +soyZb1H3/3iU1y3ry4r4b0M47fe/SmqNFGU3msBadiCOvBsv6dZCrEXlBuZanJ0SWrf n/bQ== X-Gm-Message-State: AOAM530XWcwKSF1WRlw+wxAuVHINtfecXXo0Z2qqBt05BQIiAaV1q0jz mhLgFz9WMApaMoIfKsAwyn+tKVn8wXtT8Q== X-Google-Smtp-Source: ABdhPJz6cCh361tRSe7X7m4IAsy3m3L1j7nXiA9gzG7QkMjo6AlLNgJuDawZEXa3pswwtbAle1AZsQ== X-Received: by 2002:a17:902:b58b:b0:15f:4421:ba5e with SMTP id a11-20020a170902b58b00b0015f4421ba5emr5400086pls.103.1652980243469; Thu, 19 May 2022 10:10:43 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id a9-20020a170902710900b0015e8e7db067sm4016465pll.4.2022.05.19.10.10.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 May 2022 10:10:42 -0700 (PDT) Date: Thu, 19 May 2022 10:10:40 -0700 From: Stephen Hemminger To: Yasin CANER Cc: "users@dpdk.org" Subject: Re: How to open debug and trace for KNI Message-ID: <20220519101040.70162d04@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Thu, 19 May 2022 13:13:21 +0000 Yasin CANER wrote: > 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 interface 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=true -Dbuildtype=debug -Denable_trace_fp=true 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 > How to debugging for eal parameters : https://doc.dpdk.org/guides-20.08/linux_gsg/linux_eal_parameters.html > Here is ICE POLL PMD https://doc.dpdk.org/guides/nics/ice.html?highlight=ice > 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:debug --log-level lib.ethdev:debug --log-level net.ice:debug --trace=.* --trace-dir=/tmp > > Best Regards. > > > Yasin CANER > Seems odd that you want vmbus and dpaa2. Vmbus is for Azure/Hyper-V and dpaa2 is for NXP. What is the log output?