Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2288903rdb; Tue, 3 Oct 2023 17:09:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHagMXzIAXNxUT0izEYI3snWZevpyHDsjenUvj8h5ZU8ZLRaAunxmfJWuy5ZPf2X+YHnJWa X-Received: by 2002:a05:6870:8926:b0:1ba:8307:9a13 with SMTP id i38-20020a056870892600b001ba83079a13mr1220619oao.11.1696378144332; Tue, 03 Oct 2023 17:09:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696378144; cv=none; d=google.com; s=arc-20160816; b=tqlj58ulI1vCgt+12jwAH+KkzUmQRwhkVxwMSApGH6kUHVfOFKASSrzDPeTgsJ2VLx TZU7elODXyPXtylA+IJecrkfKpQB06xCBMGnIdb1BEg2j8zoPIBrVYHXo+ebkrv7jT3p 1xQ/SERo578YoUynL85r9e5u9sE2ujV3QV35LGBOlHk0ucSDz92NhmlYf184JxoFH2qn Eb37tjojey6ccrFM7cDB5R+LWaNfpk2hDQ+TAWv9q+TS1NeLjR5Vt0E15VyQGdrdgYYK lE35eQUINwjQBd3+sKz7hvo7rsf3XgFTFC9IwFPB+g4SVrZBLBcNRLHycE3/pOJS9Hn2 m0DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=dCa+0i9kKeVSkGqpdeS9Lx9148GCyp/qVyJFfQa3oIQ=; fh=pbZyqEDyWGy/KRFIOtnMVxtI61y5wDJ5XWPPA5sL6cg=; b=Tt2XMPMNUe+6FCpNVX959JYMb6F5UEbk051lwsXlw+DNmxtLfWTjSAK3bbXZTgddZv RcyAL/OABrrD3CwlbUc/sJzyf+zDQBniawkjxDqNYkGR24EwEa99gofcLeMMPuXsdDCL FXFOPxFJF1JKrW1OknLnavmdoRX/nCpEu+vq8fUpezefYE21rj4FQiATTMwGvYzr87dl KSXjjR7TgYqsVi+OxbEAp8prw+q9lgzwsedmhwVbEobZOEIJPcNtXvzegi/CBzSqLrHH XDAoUL3gGNf7ZkyddIm5KJ27RCM3s+ZouzRM6IB976YnVxXfE+rlqmFS+XP5VfScG9bZ P6Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IWj78MSH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id q132-20020a632a8a000000b0056fed6fa634si2550654pgq.433.2023.10.03.17.09.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 17:09:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IWj78MSH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 09D2A8122804; Tue, 3 Oct 2023 17:09:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232267AbjJDAI5 (ORCPT + 99 others); Tue, 3 Oct 2023 20:08:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230503AbjJDAI4 (ORCPT ); Tue, 3 Oct 2023 20:08:56 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CE5C8E; Tue, 3 Oct 2023 17:08:53 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-d89ba259964so1624569276.2; Tue, 03 Oct 2023 17:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696378132; x=1696982932; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dCa+0i9kKeVSkGqpdeS9Lx9148GCyp/qVyJFfQa3oIQ=; b=IWj78MSHnnuybSNexQmNs4yGOP+abiUMcRK0ifRYYGe4ZnfFm6ExVan1NPKaY/nZWT e49OpOj6NxE2jD9NYVF4Z9yVREne64H8D5hqVjaVjl+zRk4Gyl7eqLUOPVfY7FdoCB63 ShLvqVkejv1HLCX3MF8lGox0w2foe7xU88c20wcm2Ctl1TU6M3hEUe1IeyMPdONLnJM0 HjK2jDNtvap2Gc/8Wp+2jtCFYi0tRjXMnCILGm69LS4eZv1wTE2haLzPdZ4D3AHLEx/H wLbXmP8uWt2/zGRjsy/94mm8wpSwg0jW/cK1C0x8Cz6F1Ir0cNn4H7mAS89gNgGIZkRB q+Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696378132; x=1696982932; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dCa+0i9kKeVSkGqpdeS9Lx9148GCyp/qVyJFfQa3oIQ=; b=jmTOTB7lTgxXsVEFSYz7K3f9nHO41ehllRy2AT8ZXy4g5St7l9t9TJUZJl+8HE00p7 vkEvG8wErnOPH29dkd9eHXqogWFpcITvT8AVqEvz0mS0FUPsKjc2dh/HH+DnydZZhTO/ 3q+oSQg0SndCM+pDAZ9Es/E1k8X36MiM7m3zCdSC8y1cQ9Fh3Ek1FsIicKnPigl7bDHt UYp4Gk8ef4ntLDV6d5XPZwH6qK5FCEDsKIlXEeH4L1j+K/2g9MmHU3UyUmBJfsZ/U5rP wlB+8fAd2TrdVdbQemQgtSrFriFdaZnXyzL/F9MPEQzsKvbpXj66OJNwiFtOzFzbZGt3 9vuw== X-Gm-Message-State: AOJu0YxjxwHFGtY8VJEmbhC3b7OXaO1w8KwkxlHKYiPAa/aDDAoFkRgV TDuoTAlJ2idBaO2KqmjizLM= X-Received: by 2002:a25:c0c6:0:b0:d78:11a3:6800 with SMTP id c189-20020a25c0c6000000b00d7811a36800mr612442ybf.61.1696378132442; Tue, 03 Oct 2023 17:08:52 -0700 (PDT) Received: from ?IPV6:2600:381:7008:cca7:f580:6da:ca4f:33e3? ([2600:381:7008:cca7:f580:6da:ca4f:33e3]) by smtp.gmail.com with ESMTPSA id h16-20020a056902009000b00d7497467d36sm699845ybs.45.2023.10.03.17.08.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Oct 2023 17:08:51 -0700 (PDT) Message-ID: <20dff920-fc6f-4c37-a708-0519ee658c8c@gmail.com> Date: Tue, 3 Oct 2023 17:08:09 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v2 net-next 09/15] net: ethtool: introduce ethtool_link_mode_str() Content-Language: en-US To: Vladimir Oltean , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org Cc: "Russell King (Oracle)" , Heiner Kallweit , Andrew Lunn , Madalin Bucur , Ioana Ciornei , Camelia Groza , Li Yang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sean Anderson , Maxime Chevallier , Vinod Koul , Kishon Vijay Abraham I References: <20230923134904.3627402-1-vladimir.oltean@nxp.com> <20230923134904.3627402-10-vladimir.oltean@nxp.com> From: Florian Fainelli Autocrypt: addr=f.fainelli@gmail.com; keydata= xsDiBEjPuBIRBACW9MxSJU9fvEOCTnRNqG/13rAGsj+vJqontvoDSNxRgmafP8d3nesnqPyR xGlkaOSDuu09rxuW+69Y2f1TzjFuGpBk4ysWOR85O2Nx8AJ6fYGCoeTbovrNlGT1M9obSFGQ X3IzRnWoqlfudjTO5TKoqkbOgpYqIo5n1QbEjCCwCwCg3DOH/4ug2AUUlcIT9/l3pGvoRJ0E AICDzi3l7pmC5IWn2n1mvP5247urtHFs/uusE827DDj3K8Upn2vYiOFMBhGsxAk6YKV6IP0d ZdWX6fqkJJlu9cSDvWtO1hXeHIfQIE/xcqvlRH783KrihLcsmnBqOiS6rJDO2x1eAgC8meAX SAgsrBhcgGl2Rl5gh/jkeA5ykwbxA/9u1eEuL70Qzt5APJmqVXR+kWvrqdBVPoUNy/tQ8mYc nzJJ63ng3tHhnwHXZOu8hL4nqwlYHRa9eeglXYhBqja4ZvIvCEqSmEukfivk+DlIgVoOAJbh qIWgvr3SIEuR6ayY3f5j0f2ejUMYlYYnKdiHXFlF9uXm1ELrb0YX4GMHz80nRmxvcmlhbiBG YWluZWxsaSA8Zi5mYWluZWxsaUBnbWFpbC5jb20+wmYEExECACYCGyMGCwkIBwMCBBUCCAME FgIDAQIeAQIXgAUCVF/S8QUJHlwd3wAKCRBhV5kVtWN2DvCVAJ4u4/bPF4P3jxb4qEY8I2gS 6hG0gACffNWlqJ2T4wSSn+3o7CCZNd7SLSDOw00ESM+4EhAQAL/o09boR9D3Vk1Tt7+gpYr3 WQ6hgYVON905q2ndEoA2J0dQxJNRw3snabHDDzQBAcqOvdi7YidfBVdKi0wxHhSuRBfuOppu pdXkb7zxuPQuSveCLqqZWRQ+Cc2QgF7SBqgznbe6Ngout5qXY5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lz92DmFwBg1hyFzwDADjZ2nrDxKUiybXIgZp9 aU2d++ptEGCVJOfEW4qpWCCLPbOT7XBr+g/4H3qWbs3j/cDDq7LuVYIe+wchy/iXEJaQVeTC y5arMQorqTFWlEOgRA8OP47L9knl9i4xuR0euV6DChDrguup2aJVU8JPBBgRAgAPAhsMBQJU X9LxBQkeXB3fAAoJEGFXmRW1Y3YOj4UAn3nrFLPZekMeqX5aD/aq/dsbXSfyAKC45Go0YyxV HGuUuzv+GKZ6nsysJw== In-Reply-To: <20230923134904.3627402-10-vladimir.oltean@nxp.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 03 Oct 2023 17:09:02 -0700 (PDT) On 9/23/2023 6:48 AM, Vladimir Oltean wrote: > Allow driver code to print stuff like the resolved link mode to the > kernel log, by giving it access to the link_mode_names[] ethtool > internal array which already holds this info. > > Signed-off-by: Vladimir Oltean Reviewed-by: Florian Fainelli -- Florian