Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4188608pxu; Mon, 30 Nov 2020 21:06:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5G18wXx/n5WJIZf31DWfoAiFfwGZ5V2iYhIYfI2CXfgoDqXVBsuoT7n3bMPzDfVSMvOW6 X-Received: by 2002:a05:6402:1421:: with SMTP id c1mr1235353edx.247.1606799218967; Mon, 30 Nov 2020 21:06:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606799218; cv=none; d=google.com; s=arc-20160816; b=ztcxEizBPOF6AwDYZ6lZjTlNhyuCqFLpbbRVKdsxLVPu3kPcxZh34oPHsreWsTFomq uJiMDA9BlEG+9uyT+bUYPktWxS/6aDKu0miqXRdp4TFbOzwVGtk5E35a2fnmfGkhMjHP uzrqajQdg5ALpKV2kfU3FS/DvxyeP3bcUOMCl4nsiLIHTlTQ+0RtcFzW7J8l8n4HMGLv /1iSYVAhAskgn03860o6ZBDBb8bpzisc7saKHYPhFIbbuYALrdRsh1jjRBKw5yhxhHUu ITLwZYfEkkacIuVbrCEuqnx6b4/cNEKoMQ+6TFziBufyfUPAlnQcXMaMNZJFPcjPj/7/ dIww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=1rgXCKGGxtKAsIM7YPyRQNJT400irzD7mvLQReoXUIo=; b=GAGuXprPzghy6eCR2cT1eOCERCJFvXFn9iE9x0Itq8p/kKQ8+EtZOQpxtGShSfge6f OLXNOcSWJjLhB96jB9eralh5sRnp11PgtIFo8mTyExQpRmEXisyB4az44nihUmazu9m1 bxWq+7BuOd3mGvCL7sS7lPOL3RgDqx2cjHq8/uRm48dwrkriix9QBlNzyKOje3s5eevp P1auIuPHnKdufCvy/sOFQnNZrHBmu3MU9oucZSDhgo34G5HpNG5hPTJN8cfDJF0S2KFM FOd3bkrJMHpzMcMpDJ/dv9XUH8inChcdJgiEp03YYEyarlXFjN49SjUHz2ajXSb0Gws0 wwpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OQnVWtbW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q23si268571eja.104.2020.11.30.21.06.35; Mon, 30 Nov 2020 21:06:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OQnVWtbW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726257AbgLACWn (ORCPT + 99 others); Mon, 30 Nov 2020 21:22:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:59220 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725920AbgLACWn (ORCPT ); Mon, 30 Nov 2020 21:22:43 -0500 Received: from kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com (unknown [163.114.132.7]) (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 F376820809; Tue, 1 Dec 2020 02:22:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606789322; bh=AuvhWrp5dQBF6O3Vfqz49tHcYxH8KvTF5rwV1b6xMKk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OQnVWtbWyR/0f5/corUDXCBGLWPvPsTs3q/J2uxg45SI7Bqs7pmyu46UczlfAu0NW tgTC7c4EpVvJRW1khTslcwYP9V4p4DW7y8w2CPqAZbnYNHKTkru6sgkpag5AdOxvXG k3c+FjQ3h8J6TXv8WBKW2K+WOrB/PjpXZ9GHTaVc= Date: Mon, 30 Nov 2020 18:22:01 -0800 From: Jakub Kicinski To: George Cherian Cc: , , , , , , , , , Subject: Re: [PATCHv5 net-next 1/3] octeontx2-af: Add devlink suppoort to af driver Message-ID: <20201130182201.66a3bae2@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com> In-Reply-To: <20201126140251.963048-2-george.cherian@marvell.com> References: <20201126140251.963048-1-george.cherian@marvell.com> <20201126140251.963048-2-george.cherian@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Nov 2020 19:32:49 +0530 George Cherian wrote: > Add devlink support to AF driver. Basic devlink support is added. > Currently info_get is the only supported devlink ops. > > devlink ouptput looks like this > # devlink dev > pci/0002:01:00.0 > # devlink dev info > pci/0002:01:00.0: > driver octeontx2-af > versions: > fixed: > mbox version: 9 You need to document what this version is exactly. See how other drivers document things. It's also strongly preferred to use one of the existing identifiers if any one is matching the semantics. Fixed versions are for hardware versions, like ASIC rev or PCB board id or version. Your thing looks like a SW message format. It's not even FW. It doesn't belong in devlink at all.