How to open debug and trace for KNI

Yasin CANER yasin.caner at ulakhaberlesme.com.tr
Thu May 19 15:13:21 CEST 2022


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20220519/3a590009/attachment-0001.htm>


More information about the users mailing list