l2fwd: Requested device 0000:02:00.0 cannot be used (Ubuntu 22.04, DPDK 22.07, N5095, I225-V)

Stephen Hemminger stephen at networkplumber.org
Tue Sep 20 17:16:25 CEST 2022


On Tue, 20 Sep 2022 19:04:57 +0800 (CST)
F32  <feng32 at 163.com> wrote:

> Hi Stephen,
> 
> 
> I have checked related iommu_groups:
> 
> 
> $ readlink 0000\:01\:00.0/iommu_group
> 
> ../../../../kernel/iommu_groups/16
> 
> $ readlink 0000\:02\:00.0/iommu_group
> 
> ../../../../kernel/iommu_groups/17
> 
> $ readlink 0000\:03\:00.0/iommu_group
> 
> ../../../../kernel/iommu_groups/18
> 
> $ readlink 0000\:04\:00.0/iommu_group
> 
> ../../../../kernel/iommu_groups/19
> 
> $ readlink 0000\:05\:00.0/iommu_group
> 
> ../../../../kernel/iommu_groups/20
> 
> 
> 
> It seems that the adapters belongs to different iommu_groups.

The way I would fix it is add instrumentation (ie printf) in EAL
code where the can not be used message is and work backwards from there.


More information about the users mailing list