DPDK usage discussions
 help / color / mirror / Atom feed
* How to open debug and trace for KNI
@ 2022-05-19 13:13 Yasin CANER
  2022-05-19 17:10 ` Stephen Hemminger
  0 siblings, 1 reply; 7+ messages in thread
From: Yasin CANER @ 2022-05-19 13:13 UTC (permalink / raw)
  To: users

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-23  8:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19 13:13 How to open debug and trace for KNI Yasin CANER
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

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).