From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B552C388F7 for ; Tue, 3 Nov 2020 13:57:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2F81722243 for ; Tue, 3 Nov 2020 13:57:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729308AbgKCN5s (ORCPT ); Tue, 3 Nov 2020 08:57:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:35242 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729449AbgKCN5Y (ORCPT ); Tue, 3 Nov 2020 08:57:24 -0500 Received: from localhost (host-213-179-129-39.customer.m-online.net [213.179.129.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 18C4722226; Tue, 3 Nov 2020 13:57:22 +0000 (UTC) Date: Tue, 3 Nov 2020 15:57:19 +0200 From: Leon Romanovsky To: Jason Gunthorpe Cc: Gal Pressman , Doug Ledford , linux-rdma@vger.kernel.org Subject: Re: [PATCH for-next] RDMA/nldev: Add parent bdf to device information dump Message-ID: <20201103135719.GK5429@unreal> References: <20201103132627.67642-1-galpress@amazon.com> <20201103134522.GL36674@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201103134522.GL36674@ziepe.ca> Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Tue, Nov 03, 2020 at 09:45:22AM -0400, Jason Gunthorpe wrote: > On Tue, Nov 03, 2020 at 03:26:27PM +0200, Gal Pressman wrote: > > Add the ability to query the device's bdf through rdma tool netlink > > command (in addition to the sysfs infra). > > > > In case of virtual devices (rxe/siw), the netdev bdf will be shown. > > Why? What is the use case? Right, and why isn't netdev (RDMA_NLDEV_ATTR_NDEV_NAME) enough? Thanks > > Jason