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 962B5A00C4; Fri, 5 Aug 2022 17:35:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4DE5A42C0C; Fri, 5 Aug 2022 17:35:34 +0200 (CEST) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mails.dpdk.org (Postfix) with ESMTP id E2810400D6 for ; Fri, 5 Aug 2022 17:35:32 +0200 (CEST) Received: by mail-pl1-f172.google.com with SMTP id o3so2953051ple.5 for ; Fri, 05 Aug 2022 08:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JDQebNDHBrlCsqFgwowLJ4BV51u5fXmgktbNKwRNve8=; b=1RwzijbZ6dA3tzMiVkhIP21bS0L9HlCDqwpFfVhC1PD2jWSg+7ktM6ookmTM0OTKRz 7jkg14Ife2QU/YYzf6xSEonDzzFQInnx+yClx5mq/K04HP/YuJaSnZKb4S8ViYnm8xCr ncNiBDw5r7ru4xXSWuiIXjBO/T8AJU5/+sIObEsE07JSaBu1l0ZkRcDjs+VTtref+Oa6 +NxZZhSDhyCMbxdjYB63CJyj8C+AS1Qrq9MnMiO7s3Sf7Y5O+9jPt6tuyn2sByp38NLh MWV9+oIpxonz8UkRW+LKU/UAKYiMmfIprE0dUCZWKnfD18rL40f10AXcBkdwCcI6i7Pv Vg/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JDQebNDHBrlCsqFgwowLJ4BV51u5fXmgktbNKwRNve8=; b=SFnjcEBy9EMN9kjSqFeZQ36hM/zRJvJ1r2l3/bQ11iSm7jsmJzdTu+phPfJ+MEtC5I D3ZfQPeGZlWb4lST1sZ3o+1tG4Nc1ICuzSZavjdVB4ZFAs+oWgEJd3/h4t1bYYSbB6MZ Mgwmiz3WBfJdu4zz/F2LztW4BiVZUP450i/weY9U+jmznYkV+w7Q91Jh3ee4aWmVHWXW Gzv/t9VYPYeIzMpVqDbryqKcIQca29iFba8YNeWeLwqABoaDavcZHOLzuhaLXHreG/+c H9n+aEFYVdU3xiuL/5ATgwQwI2Sj39kgUnognjvn9kWc36zDIiTTBv/Gsm7x/eOks8xz pYuA== X-Gm-Message-State: ACgBeo1FDbqPJum/bhDALttcgtJ3b1OtHdVzD0Bi/n46Sg9HqIfLL7x+ dQxeuwY7gdWNUxGOLb3IPS19Rg== X-Google-Smtp-Source: AA6agR6aHCTvH/lEubTxqE6PTVLxVue0U5tKrayAX051a+CuEGQQIkKAMhHJx3aLTMHzETlEwm2HRg== X-Received: by 2002:a17:902:da86:b0:16f:93f:15a7 with SMTP id j6-20020a170902da8600b0016f093f15a7mr7316980plx.52.1659713731867; Fri, 05 Aug 2022 08:35:31 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id pb15-20020a17090b3c0f00b001f31776ccf3sm3196998pjb.12.2022.08.05.08.35.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Aug 2022 08:35:31 -0700 (PDT) Date: Fri, 5 Aug 2022 08:35:29 -0700 From: Stephen Hemminger To: Huisong Li Cc: , , , , , Subject: Re: [PATCH] usertools: fix bind failure from dpdk to kernel Message-ID: <20220805083529.5ca3233e@hermes.local> In-Reply-To: <20220805031022.9795-1-lihuisong@huawei.com> References: <20220805031022.9795-1-lihuisong@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, 5 Aug 2022 11:10:22 +0800 Huisong Li wrote: > Currently, the steps for binding device from dpdk driver to kernel > driver is as follows: > echo $BDF > /sys/bus/pci/drivers/vfio-pci/unbind > echo $BDF > /sys/bus/pci/drivers/$kernel_driver/bind > > This steps cannot bind device from dpdk driver to kernel driver on > platform with kernel 5.19. The 'driver_override' must be specify > kernel driver before binding device to kernel driver. > > Fixes: 720b7a058260 ("usertools: fix device binding with kernel tools") > Cc: stable@dpdk.org > > Signed-off-by: Huisong Li Not sure exactly what you did and why. The patch seems to just remove the check that the driver is in the set of dpdk_drivers.