How to open debug and trace for KNI
Stephen Hemminger
stephen at networkplumber.org
Thu May 19 19:10:40 CEST 2022
On Thu, 19 May 2022 13:13:21 +0000
Yasin CANER <yasin.caner at ulakhaberlesme.com.tr> 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?
More information about the users
mailing list