Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp363861ybm; Thu, 28 May 2020 04:58:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWuf+TKEMNa8XF+C/v4uwCm78+JKuzZ5NBV5JsAEn91JSrlnHCKs29mfHa2pxty4HlIbDf X-Received: by 2002:a17:906:16c2:: with SMTP id t2mr2593264ejd.17.1590667097435; Thu, 28 May 2020 04:58:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590667097; cv=none; d=google.com; s=arc-20160816; b=EfHLcXuGyfWmuGL57arV2ScDji3m0tpbBISTwCCd1oYo0ohyhHRWICLBGiEcODNFer KApLnP+w3BkC0IUOXVM/zm8GfG+Zo4SbbUpEVl5g4anQXBum4CCIrIE5+MQO3s6BnL1f EfIZ/I4v5Me5FIOxb5xX6SJCqiiFF925rjWt29Ced/4hcm70XsM4ecVyE6N5F0LMICVy s2cRra8JWfG51oJpCocqatDL/LXR6HBho61hgOGD3+q0yEdtstDj6RgooAGvKZDCuCnN PMtGONltpVzXJGceXS9OpD/ErZjdyqChnOtKwlbzgeBKJVRISTIHG3wpGFIBKoOJxPn+ AU2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=oqx0aTNXW2QFuptWUALYJSp8FZKcnHDNpS6KUrQsNFU=; b=P5QHvfoGebKQbZHHGRRe0xOXLRgntvtkoDScC8XLMZ/gkFSOtiEtqhp9W5kxMFNLak cf5b0xojoyt2eaKRjNu5zWtGM4rM4ykOh9ru3IElJuOLQeU6W9wAkTUhfFBQjvj0WfDm WPiFF8QMsARhh92XWnxz80EBXscidCHEaIjSiKO9XK2f4GK+MaiYAXuX13dpwL3Jx5pM eKFO03TYEB5yqlHXzRd8j4sBz3gVWbcFW0kX6ITxivOOGHraMM0dFZXn6k+CNI1NQOWM x/QY/YJ2K901NDwWd2VojV8kWzK834HB4pnDFl2lhf6v6yeEP7lKb5nWuq4Eceb4q9bF 14kQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oq12si3524359ejb.443.2020.05.28.04.57.54; Thu, 28 May 2020 04:58:17 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388575AbgE1Lyw (ORCPT + 99 others); Thu, 28 May 2020 07:54:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388560AbgE1Lyb (ORCPT ); Thu, 28 May 2020 07:54:31 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFFD1C05BD1E for ; Thu, 28 May 2020 04:54:31 -0700 (PDT) Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jeH77-0003bN-PB; Thu, 28 May 2020 13:54:21 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1jeH71-00030g-Ky; Thu, 28 May 2020 13:54:15 +0200 From: Oleksij Rempel To: Andrew Lunn , "David S. Miller" , Florian Fainelli , Heiner Kallweit , Jakub Kicinski , Jonathan Corbet , Michal Kubecek , "John W. Linville" Cc: Oleksij Rempel , David Jander , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Russell King , mkl@pengutronix.de, Marek Vasut , Christian Herber , Amit Cohen , Petr Machata Subject: [PATCH v2 0/3] Add support for SQI and master-slave Date: Thu, 28 May 2020 13:54:11 +0200 Message-Id: <20200528115414.11516-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set is extending ethtool to make it more usable on automotive PHYs like NXP TJA11XX. They make use of new KAPI (currently in net-next, will go probably to the kernel 5.8-rc1): - PHY master-slave role configuration and status informaton. Mostly needed for 100Base-T1 PHYs due the lack of autonegatiation support. - Signal Quality Index to investigate cable related issues. changes v2: - add master-slave information to the "ethtool --help" and man page - move KAPI update changes to the separate patch. Oleksij Rempel (3): update UAPI header copies netlink: add master/slave configuration support netlink: add LINKSTATE SQI support ethtool.8.in | 19 ++ ethtool.c | 1 + netlink/desc-ethtool.c | 4 + netlink/settings.c | 66 +++++++ uapi/linux/ethtool.h | 25 ++- uapi/linux/ethtool_netlink.h | 326 +++++++++++++++++++++++++++++++++++ uapi/linux/genetlink.h | 2 + uapi/linux/if_link.h | 7 +- uapi/linux/net_tstamp.h | 6 + uapi/linux/netlink.h | 103 +++++++++++ uapi/linux/rtnetlink.h | 6 + 11 files changed, 561 insertions(+), 4 deletions(-) -- 2.26.2