Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp774591lqt; Fri, 19 Apr 2024 10:00:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuR8inOrnNYL4cRJ5jBbkdi93VR4UEGPTEFXpGPCCjIHWhRJk6ToHIIgdtsyHECiyEtc9A50bRYNDluH6+gcWBD7il7kb6Iz/jjKUMLg== X-Google-Smtp-Source: AGHT+IETyUrnlIVkcxBQiqaU6HwtTNTTuJCt1h3CF46ZkashRMcrE5QX6f73iVtYBRZ2OkNzhBYa X-Received: by 2002:a05:6a20:5613:b0:1a7:4b6f:7934 with SMTP id ir19-20020a056a20561300b001a74b6f7934mr2669345pzc.17.1713546018839; Fri, 19 Apr 2024 10:00:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713546018; cv=pass; d=google.com; s=arc-20160816; b=m3HZsEmlkyImU3jbeAYe7a83/vRW6Rs8UdujV6Q9UhgPatAYusyJ8R/NsUu5ZPzc+u a4dXyhC0rXg2PVYOaXqfRWgysnE+J6pXeks+25kbUWyGDvatx6IN545HWF0JMdu7nlhN QABOgAy3xyQSS2IHoljiwDcL9bu0S8SvzidVfrjnNFU1rdvGl2plvADeWeejcjCPc09P 3FkBfJVpHCZwrDXUVPgVySjxwUmULKDPAX7muequqb5FGuFpwR+sjC5n5p7uCNBOdFzJ xrqx89M2u4+Azav7KzndFNAExRo1ALyJVPXEEU8HxFnyLZxzsFP2iyTyQHfcJNFKI+Fp bj2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature:dkim-filter; bh=y/qgfgGYyhPfmyF6SjIYu3rIjqvmvUNw7mws9b1MVpg=; fh=Vmc/GcnDJcCSYsOcd4tn0gzgMlmVbkYdzWpCujaTbf0=; b=E8t2bMiqg0mSEIGgQEXJYDoiw6RyCPLj2iZcBROCEbfF571PuVieEY7ok/rT1jBnJP 4q/gmCcTrnw62Ko2YlzXPCm0EIp9ecjcpBjg2MDq1/Etom0F6X4VwX2nI6jhzSx7HyY5 OYzmFaIoPZc1FtA3iqDtWaYCLsZFcuTuyYhpE6fDAi0B9aubJpF1rzasrEz7h6hQ6+Ti QvF8D1HwwJKnKRVYYNBMS8PXj0j1Avvds0YMj14cDfy1uVuY+6DX4TNP99aypv2ijzaQ hCxu18v/HXZc7LFeyI4bwBR9yX5ME8ITJZOHcitNLjBKXTCP1RKdCHCn1AD5YG2GM1x4 ODOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=l6NJClBx; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-151801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151801-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id gk9-20020a056a00848900b006ecfdfb8281si3416760pfb.237.2024.04.19.10.00.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 10:00:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=l6NJClBx; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-151801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151801-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9AB0D285FFC for ; Fri, 19 Apr 2024 16:59:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8232D13AD16; Fri, 19 Apr 2024 16:59:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="l6NJClBx" Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A8094C63A; Fri, 19 Apr 2024 16:59:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713545967; cv=none; b=mLIQ+0Wcg797t/aAFWWGOUAizSaeS3teRyxRAqaxhx2w5EvQSO2mA4A6Yv/grGDqWL7wl6cb66mRmbCcPpPIQCoYWvdRqGq2xbMRGdI5mPzXiY21utD6xYD0XvWtKRm+hrGJwbPpC3gMfr751aPOs1Rynkd+2S2WSfJ6dELk6eg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713545967; c=relaxed/simple; bh=Z7YH0CvhpgqXNh0KlZ+NJZMQQx43ZiBcsIHLxUcuADU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mvHBaKurKlRYcUpfnRA3x4/TPTNSej+La1GymcqhLb7j2OBDA4F4eH9qGZ7hH1PKDg11GT6Ir2yY5BQJYXymmb3uNr9U3D5dO1tjFeKNee4vvKEYKVTOtkF8vwYVQkR+OuBW0+FB7Op+3nQOjioyrPumKgVK6xMjTVFxxnBq144= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=l6NJClBx; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Received: by linux.microsoft.com (Postfix, from userid 1134) id 2988A20FDAA1; Fri, 19 Apr 2024 09:59:26 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 2988A20FDAA1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1713545966; bh=y/qgfgGYyhPfmyF6SjIYu3rIjqvmvUNw7mws9b1MVpg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=l6NJClBxCk4a3k/YEHO3EnfhE/ohLexA50S4Hi2qR8Qzdu69a4ZZPtWL/fkQ1ll3D iHcC/QJx7eAd/vrlyRMiIoh+xHLLxlN3MeeNoiOnVI4PIQL/n2SXnvBeZUGSgL4YsK ON23nNvME5OhTSJ7q8Uq6sDmjvQS8ymfE7Jxk8fs= Date: Fri, 19 Apr 2024 09:59:26 -0700 From: Shradha Gupta To: Andrew Lunn Cc: Jason Gunthorpe , Zhu Yanjun , linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, Eric Dumazet , Jakub Kicinski , Paolo Abeni , Ajay Sharma , Leon Romanovsky , Thomas Gleixner , Sebastian Andrzej Siewior , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Long Li , Michael Kelley , Shradha Gupta , Yury Norov , Konstantin Taranov , Souradeep Chakrabarti Subject: Re: [PATCH net-next] net: mana: Add new device attributes for mana Message-ID: <20240419165926.GC506@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <1713174589-29243-1-git-send-email-shradhagupta@linux.microsoft.com> <20240415161305.GO223006@ziepe.ca> <56b0a8c1-50f6-41a9-9ea5-ed45ada58892@linux.dev> <20240418060108.GB13182@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <20240418175059.GZ223006@ziepe.ca> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) On Thu, Apr 18, 2024 at 08:42:59PM +0200, Andrew Lunn wrote: > > >From an RDMA perspective this is all available from other APIs already > > at least and I wouldn't want to see new sysfs unless there is a netdev > > justification. > > It is unlikely there is a netdev justification. Configuration happens > via netlink, not sysfs. > > Andrew Thanks. Sure, it makes sense to make the generic attribute configurable through the netdevice ops or netlink implementation. I will keep that in mind while adding the next set of configuration attributes for the driver. These attributes(from the patch) however, are hardware specific(that show the maximum supported values by the hardware in most cases). We want them to be a part of sysfs so that they are readily available in the production for improving debuggability. I will change the names of these attribute to indicate the same to avoid possible confusion. Regards, Shradha.