From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F0C95A00C3 for ; Tue, 20 Sep 2022 17:16:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D7AD340DFB; Tue, 20 Sep 2022 17:16:30 +0200 (CEST) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mails.dpdk.org (Postfix) with ESMTP id 3F53A40DFB for ; Tue, 20 Sep 2022 17:16:29 +0200 (CEST) Received: by mail-pg1-f174.google.com with SMTP id h188so2926470pgc.12 for ; Tue, 20 Sep 2022 08:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date; bh=74Mrj6V4vEsbTv8LmjOV6jIMosk2soEB/VE8EybpAiE=; b=mBpRP3YA/wk6cTADS04uftH0HcxKxO9YqBSPgSMfURTPrApqQQBr/i/u7qrkk7WRhF g6a773K/ZOt8a2p8wI5/n0UniEX3TwxF3SMPmbuAuemfuV0nLo33cI16fyA1JI42dYXN vhz6HTg11A8PJ8Zs1G5Qeb+q/H5g/+2Ip4n5CAgTzL2IAUhTIu+AQuq5+0YamdzxQvc1 T4NKzTQX6iz6LzMqGk7pkG3YDc+OIkgj3Ahf73qkpooYgrsRyxzuua8YOIlHPlV3XVA4 AYosExq9L7xI8Tt23AtKFgIgOY/YG2RYFpgiR59MHrLAxqu12bmFGvNS6c/vUUvf7T0e 6FkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date; bh=74Mrj6V4vEsbTv8LmjOV6jIMosk2soEB/VE8EybpAiE=; b=6LKwekMwTYBuSy+jIHsycslzFpGa2BW7uzIZs0HvorEDJPfQhVdvXN1lQrpnfR86am 3U52DMoApANPLRSudHn+w3MQysWnNaEtJv7qdqHUQi0KyQV+T8xbZF5eKm/MJ7eRx9Bu FIqyN+AgyzjXdWzpuCUQBxzzc4aooxOctda3/acqm2+7/GLGq1V6MT/GgjSAC2hxm/zF MsEHyzEmUsy/3GpMVCFZGpeFcq8qIw5vQwwzkMIOct2UBqt3UFc6u9mopQAic7afMbdB 1JZDitaZqyBFcJQN2ui3zJy2azsgYJlMey+6tqaHcM9Myhob24N8XTfrKJe6OtvIFeB3 XHaA== X-Gm-Message-State: ACrzQf3/LgN5s4nhRG5g7vNQdEX0AShVdgMwYOxZ3sCI9WyMjmY0EAsR IWyf3i486or1kMLfOI8h9NwMTKF7mjVm4g== X-Google-Smtp-Source: AMsMyM5hli0+Ov4Pwn41n6wh1tbEKJSCD1EBybBrhVxuB8oHmIwITjkMU8RvfaHuLPF0VinVqFGQ8Q== X-Received: by 2002:a63:63c6:0:b0:438:63d8:42c4 with SMTP id x189-20020a6363c6000000b0043863d842c4mr20405021pgb.525.1663686988328; Tue, 20 Sep 2022 08:16:28 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id s18-20020a170902b19200b0016c9e5f290esm47339plr.10.2022.09.20.08.16.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 08:16:28 -0700 (PDT) Date: Tue, 20 Sep 2022 08:16:25 -0700 From: Stephen Hemminger To: F32 Cc: users@dpdk.org Subject: Re: l2fwd: Requested device 0000:02:00.0 cannot be used (Ubuntu 22.04, DPDK 22.07, N5095, I225-V) Message-ID: <20220920081625.2a307107@hermes.local> In-Reply-To: <1f974932.6f93.1835a928c39.Coremail.feng32@163.com> References: <5aed7250.25e2.1833a0110ef.Coremail.feng32@163.com> <20220916081059.5b9841a1@hermes.local> <1f974932.6f93.1835a928c39.Coremail.feng32@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Tue, 20 Sep 2022 19:04:57 +0800 (CST) F32 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.