Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp529766rwb; Tue, 29 Nov 2022 01:49:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf4uXUv1GQTMG8a5vXdxHOxbs1D5/vXxLyqtA1Yzv6ruombIoRZYjdoffNvJ8E+EKx9Ctw/4 X-Received: by 2002:a17:906:2645:b0:781:d0c1:4434 with SMTP id i5-20020a170906264500b00781d0c14434mr46947831ejc.756.1669715384248; Tue, 29 Nov 2022 01:49:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669715384; cv=none; d=google.com; s=arc-20160816; b=ampgAWQewfH0cv6ptxsRJLpbHwHrADJ2yvKhrxFnFfw9NROVXxIxmpGev2y3Lcr0YL m+TaOakXzcbOX4lbOK5LYWCF3hoXcgKKestUnakP8e24BguflfHzvvrwLJFplUOp1Yis uBUgLI2tvyVKtDNhMqDne+60W+0v1hGw2YvsTkMZpMfJh7XLlq1eXwM3gsAfC0cwT55y 9VJNx/AlzylMFxaavZyNt6TfXDmOONehxrgNQOqlqviZmH5H2ZnA4n8RKOrTMfrQctPK XaG6RYOKEduVlonCnFxEY43R4xBsgLorLWvuw43dkqNKzpjmk47xJunvDXriZP4CQ0n9 FDnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8tKjN8Pr0TOCEiqcL4ygNjCpgur6Un/XBCsGues/Dnc=; b=rslyyabpC8DuCoenU8PTtKikDJKgArzSIU3P7OzsKpZT7kXqvYTUFVor3cYHDPWIIC MQ6VPEmDLphbtOLKxHDPvKIDOTsuRSzdTUsVwJ+ChgCmbt8xAgpL87vgKLhLnEaOs6yt F6/xuV6SGYTugUsSMrwP/T0XOmEDPD2o35Wn8ylDxk7mmRROtD8SxFmRLudRX1+EeEUr IjTPgv4wROLGH9V9NYC3xO3m4Kp0hTBSFIKmJ67O+n7bOWmA3XHRMJiTngqZLm1wrvgw 8DOXWOqA+HkYkOcvUnRSLxw4bp1yl+zkxyIOPt/DUhhS+SRLwXl1qcXpNdt8y3d/NCML +OOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=T1SrL2wt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xa3-20020a170906fd8300b007a8beb3aa4csi11079249ejb.872.2022.11.29.01.49.23; Tue, 29 Nov 2022 01:49:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20210112.gappssmtp.com header.s=20210112 header.b=T1SrL2wt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231124AbiK2I3a (ORCPT + 83 others); Tue, 29 Nov 2022 03:29:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230435AbiK2I24 (ORCPT ); Tue, 29 Nov 2022 03:28:56 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46050C1C for ; Tue, 29 Nov 2022 00:28:15 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id s5so18694904edc.12 for ; Tue, 29 Nov 2022 00:28:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=8tKjN8Pr0TOCEiqcL4ygNjCpgur6Un/XBCsGues/Dnc=; b=T1SrL2wtoh+dO1FUeIUSLP7iDrLN8bzK1A6qXgwO/336kstN9A+k8zQvtsa4Ps7sWZ LDyBxMYCAHdzL+hZrD/BUTv8MLEMAc+ojkA0zmya4fbKQRX3fzaJMvVwNJx7qj+InDrw 3M0sbE/cn5Q3keMw7bLCRWZB5H/SYiwLWnB7V4VU+Fva5Jr2Ekb0eyaIz51iyfM+zShx nHHoTMFv7Co37+xH5MYBN+5wHA/vc7Bn1C8UTFT0oQKByuSxmrZNr+FLyFdSyHoVNUIv bcRupknoJs0MQ1N+ppVjc04sl7IbMfDV7CVTbsoepTc2QAYV0rXsJv31xujUc7bTu4xW XwHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8tKjN8Pr0TOCEiqcL4ygNjCpgur6Un/XBCsGues/Dnc=; b=J7Vy2shEtWXe9/AG1OfJB9LIVuOZQoiXPPqbhzW69m8sbr3cv0odl4xOP+0FQyFAqe YmyJxReVxY+2+FfiHSa7oN+DjB2sk65BQML/QWih3XWB+aATEAqu6J8ix6ME0wBazRbe X0HnnFz1KLGtP3j42m1HKj3Bwpkl1Kq6IFN/dR9FJLXseAgBOIq1ZPnXSbttk9c37wkN daFSAeIPjFPlCcEfe5y9fvo5ruV8H5Tfv5VjsQqhijUzR27ThW1epBOEGu/C3kgWDMJL rJG9s1vw09kfVcm4g2fX4LYmvu801I5CcNyZJJIQzjbzR1pCd4YO3q+hPmq+i1Kcpo9t DIYQ== X-Gm-Message-State: ANoB5pnscXYDf3d40Ns7bqnkFVl4bx7mLXh9qLCovmxg562N7KSOS5e6 JlbSGg/EvI3wDi51ZN6a1AGGzF7b0tWn39epgZw= X-Received: by 2002:a05:6402:550b:b0:45f:9526:e35a with SMTP id fi11-20020a056402550b00b0045f9526e35amr51424330edb.256.1669710493806; Tue, 29 Nov 2022 00:28:13 -0800 (PST) Received: from localhost ([86.61.181.4]) by smtp.gmail.com with ESMTPSA id c7-20020a50f607000000b00461e4498666sm6060540edn.11.2022.11.29.00.28.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 00:28:13 -0800 (PST) Date: Tue, 29 Nov 2022 09:28:12 +0100 From: Jiri Pirko To: Vincent Mailhol Cc: Jiri Pirko , Jakub Kicinski , "David S . Miller" , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn , Marc Kleine-Budde , linux-can Subject: Re: [PATCH net-next v2] net: devlink: add DEVLINK_INFO_VERSION_GENERIC_FW_BOOTLOADER Message-ID: References: <20221129031406.3849872-1-mailhol.vincent@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221129031406.3849872-1-mailhol.vincent@wanadoo.fr> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tue, Nov 29, 2022 at 04:14:06AM CET, mailhol.vincent@wanadoo.fr wrote: >As discussed in [1], abbreviating the bootloader to "bl" might not be >well understood. Instead, a bootloader technically being a firmware, >name it "fw.bootloader". > >Add a new macro to devlink.h to formalize this new info attribute name >and update the documentation. > >[1] https://lore.kernel.org/netdev/20221128142723.2f826d20@kernel.org/ > >Suggested-by: Jakub Kicinski >Signed-off-by: Vincent Mailhol >--- >* Changelog * > >v1 -> v2: > > * update the documentation as well. > Link: https://lore.kernel.org/netdev/20221129020151.3842613-1-mailhol.vincent@wanadoo.fr/ >--- > Documentation/networking/devlink/devlink-info.rst | 5 +++++ > include/net/devlink.h | 2 ++ > 2 files changed, 7 insertions(+) > >diff --git a/Documentation/networking/devlink/devlink-info.rst b/Documentation/networking/devlink/devlink-info.rst >index 7572bf6de5c1..1242b0e6826b 100644 >--- a/Documentation/networking/devlink/devlink-info.rst >+++ b/Documentation/networking/devlink/devlink-info.rst >@@ -198,6 +198,11 @@ fw.bundle_id > > Unique identifier of the entire firmware bundle. > >+fw.bootloader >+------------- >+ >+Version of the bootloader. >+ > Future work > =========== > >diff --git a/include/net/devlink.h b/include/net/devlink.h >index 074a79b8933f..2f552b90b5c6 100644 >--- a/include/net/devlink.h >+++ b/include/net/devlink.h >@@ -621,6 +621,8 @@ enum devlink_param_generic_id { > #define DEVLINK_INFO_VERSION_GENERIC_FW_ROCE "fw.roce" > /* Firmware bundle identifier */ > #define DEVLINK_INFO_VERSION_GENERIC_FW_BUNDLE_ID "fw.bundle_id" >+/* Bootloader */ >+#define DEVLINK_INFO_VERSION_GENERIC_FW_BOOTLOADER "fw.bootloader" You add it and don't use it. You should add only what you use.