From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 87D42457FF;
	Tue, 20 Aug 2024 12:00:49 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 2F68D4026C;
	Tue, 20 Aug 2024 12:00:49 +0200 (CEST)
Received: from us-smtp-delivery-124.mimecast.com
 (us-smtp-delivery-124.mimecast.com [170.10.133.124])
 by mails.dpdk.org (Postfix) with ESMTP id A4C48400D6
 for <dev@dpdk.org>; Tue, 20 Aug 2024 12:00:47 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1724148047;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=m/VxjuDu+fKtNbrUr1VMJ4lB39ApkVixdqJW0tWhBbs=;
 b=IyGJgx07GtKA5zeP+gJ3x71lTPVkLvQhtYtvIxRYn8MV3/05gFRMEC9VfYGEfgccD6Rb0G
 zw6pB6BabLLzuPWTRx0637jV7VPlB6GfP3mQIfOJqwh9/6LAY+emQO+D5MptyiKpKCeFaj
 P2N+yB/pPrZ2HoW/0Wd0vIbTR/OPm4E=
Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com
 [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS
 (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id
 us-mta-6-Ll3jYPojPoWFxyLWtfkGzw-1; Tue, 20 Aug 2024 06:00:44 -0400
X-MC-Unique: Ll3jYPojPoWFxyLWtfkGzw-1
Received: by mail-wm1-f69.google.com with SMTP id
 5b1f17b1804b1-4280645e3e0so43445905e9.1
 for <dev@dpdk.org>; Tue, 20 Aug 2024 03:00:43 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1724148043; x=1724752843;
 h=in-reply-to:references:user-agent:to:from:cc:subject:message-id
 :date:content-transfer-encoding:mime-version:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=m/VxjuDu+fKtNbrUr1VMJ4lB39ApkVixdqJW0tWhBbs=;
 b=pr2c+KfxJmWicWdfnyOfAieMbeCK5deQO38ZSo64XVEd1zxOa9/xIBYbV5AlKyrvqD
 Zyw1LU4xxTeJIVTDSfYETI8hoMe9P826x4TY7K/kNYSnzGUccErRmlQ4BEMLucdyqvt7
 TP440ixBNdOo8YciyRAqpwzTQdZzO6LTW2PtzaTJ29e/1hDREPCgHFqOKbVqI+wT76Ze
 ch52HFj0drhjLuvDCXKSkDtmMzGbsMLhNPzNYpJB1+lQdGPZR9PA9d5peFR3C4nXe8bn
 p+cKjHuWrIjQckk53h3U4d5JtDpF7fyocCNMSKgtDipNdYc7z8HDEfDcujy09yK10KNb
 71Zw==
X-Forwarded-Encrypted: i=1;
 AJvYcCXxi/TUHaqMOZ9O7pfdt1hGH2IGOW7S7WyGLMyHDOOfXb8A9wZwSUC6FE5laU+AbvWRNy8=@dpdk.org
X-Gm-Message-State: AOJu0Yy69EmsQX//aND7BM1169lRZbUx+0xKif61zDL+5Vz0G9fIF5tq
 YnPoplElX22zXzfNVSCiNy7LGU5eHbd79Alv3vFmnqv9NC9dWW4vi8zc4LrdiiizAiwC6Pya1Xk
 cxO399c6Sl4/h5Wv4Oigu/q7jWUNMQmJCpo4wsL6V
X-Received: by 2002:a05:600c:1991:b0:426:62df:bdf0 with SMTP id
 5b1f17b1804b1-42ab672c516mr12646875e9.10.1724148042663; 
 Tue, 20 Aug 2024 03:00:42 -0700 (PDT)
X-Google-Smtp-Source: AGHT+IHjohhb3IeseW4LJ5xn4dL8P6MGFHRaCr4xPRgEEwoZ7f+5O7ZtLzS3kJDMRYsdPqsfCNFRwQ==
X-Received: by 2002:a05:600c:1991:b0:426:62df:bdf0 with SMTP id
 5b1f17b1804b1-42ab672c516mr12646675e9.10.1724148042111; 
 Tue, 20 Aug 2024 03:00:42 -0700 (PDT)
Received: from localhost (2a01cb00025433006239e1f47a0b2371.ipv6.abo.wanadoo.fr.
 [2a01:cb00:254:3300:6239:e1f4:7a0b:2371])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-429ded3596esm191022685e9.22.2024.08.20.03.00.41
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 20 Aug 2024 03:00:41 -0700 (PDT)
Mime-Version: 1.0
Date: Tue, 20 Aug 2024 12:00:41 +0200
Message-Id: <D3KNGZNWNVQN.211HP2O4MO3QS@redhat.com>
Subject: Re: [PATCH v2 4/4] usertools/dpdk-devbind: print NUMA node
Cc: <bruce.richardson@intel.com>
From: "Robin Jarry" <rjarry@redhat.com>
To: "Burakov, Anatoly" <anatoly.burakov@intel.com>, <dev@dpdk.org>
User-Agent: aerc/0.18.2-29-g7dd0fdeda6c9
References: <e51d00fea7c535404dda4d63e483639b13c48b2d.1723634354.git.anatoly.burakov@intel.com>
 <c2bf00195c2d43833a831a9cc9346b4606d6ea2e.1723810613.git.anatoly.burakov@intel.com>
 <D3JUUHQ22NO9.2R36YDZQUPGWS@redhat.com>
 <7dd3a055-d2ce-4dd9-b9df-ae95e69d4417@intel.com>
 <D3KMSINUEN3E.WL1B0KSNAJGZ@redhat.com>
 <fd35f750-2774-4c17-82b9-2e295deef1b5@intel.com>
 <D3KN8K62Z2IP.16CY9DY89RHP8@redhat.com>
 <0cf4d078-5721-4b27-8960-f449bcd26d26@intel.com>
In-Reply-To: <0cf4d078-5721-4b27-8960-f449bcd26d26@intel.com>
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8; format=Flowed
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

Burakov, Anatoly, Aug 20, 2024 at 11:56:
> Actually, I should correct myself (and yourself) somewhat.
>
> This is not obvious from help message (I found it through reading the=20
> REAME) but driverctl *does* allow listing PCI devices by type, but only=
=20
> one type (e.g. list all network devices), but not multiple (e.g. list=20
> network and mempool devices), and as far as I can tell it does not=20
> support some of the device classes that we're interested in, so we will=
=20
> have to use the entire PCI device list and then filter it.
>
> It does also print out device names (adding "verbose" option does it).
>
> And it also *does* allow to bind/unbind drivers without persistence -=20
> --nosave option does that.

Hehe, I had glanced over this option on the man page but didn't pay=20
attention. Thanks!

> Still, all of the other points apply: devbind is much more useful for=20
> DPDK developers as it provides information relevant to us right out of=20
> the box.

Let's keep it as it is then. No need to impose another dependency. The=20
driver override code isn't that complicated.