DPDK usage discussions
 help / color / mirror / Atom feed
From: Yasin CANER <yasin.caner@ulakhaberlesme.com.tr>
To: "users@dpdk.org" <users@dpdk.org>
Subject: How to open debug and trace for KNI
Date: Thu, 19 May 2022 13:13:21 +0000	[thread overview]
Message-ID: <AM9P189MB1554C84D1C3C97DFDF5D1B69B9D09@AM9P189MB1554.EURP189.PROD.OUTLOOK.COM> (raw)

[-- Attachment #1: Type: text/plain, Size: 1346 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 5723 bytes --]

             reply	other threads:[~2022-05-19 15:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-19 13:13 Yasin CANER [this message]
2022-05-19 17:10 ` Stephen Hemminger
2022-05-20  6:03   ` Yasin CANER
2022-05-20  6:53     ` Yasin CANER
2022-05-20  8:36       ` Yasin CANER
2022-05-20 10:01         ` Yasin CANER
2022-05-20 13:01           ` Yasin CANER

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM9P189MB1554C84D1C3C97DFDF5D1B69B9D09@AM9P189MB1554.EURP189.PROD.OUTLOOK.COM \
    --to=yasin.caner@ulakhaberlesme.com.tr \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).