From patchwork Sun Apr 19 22:11:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lunn X-Patchwork-Id: 220998 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7AAA7C38A29 for ; Sun, 19 Apr 2020 22:12:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 562DF2145D for ; Sun, 19 Apr 2020 22:12:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="keuwFi8F" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726109AbgDSWMZ (ORCPT ); Sun, 19 Apr 2020 18:12:25 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:49136 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725848AbgDSWMZ (ORCPT ); Sun, 19 Apr 2020 18:12:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Wv93w1GBmx10pGoTzPJXf3zqeg3gjP7XumG5wNRQ1eE=; b=keuwFi8FHFYImsx8tkyFuM1D3/ typn78YXMTEofFV6JZig7ZEoeBkDKf4QvpQn+X6uED5uh8YWymNCd6JqSBmsrvfr/h3xqrbhr47pQ ni/82boYNw5itqTqhO8vd/3fSPhqS1WlO+r4vgbdITFVqYKJP3xcDiiI/dP+WBDT+uw8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jQIAZ-003hzq-JR; Mon, 20 Apr 2020 00:12:07 +0200 From: Andrew Lunn To: David Miller Cc: netdev , Florian Fainelli , Heiner Kallweit , Andrew Lunn Subject: [PATCH net-next v2 0/3] RFC 2863 Testing Oper status Date: Mon, 20 Apr 2020 00:11:49 +0200 Message-Id: <20200419221152.884053-1-andrew@lunn.ch> X-Mailer: git-send-email 2.26.0.rc2 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patchset add support for RFC 2863 Oper status testing. An interface is placed into this state when a self test is performed using ethtool. v2: Fix date/kernel version in Documentation Add reviewed-by tags Andrew Lunn (3): net: Add IF_OPER_TESTING net: Add testing sysfs attribute net: ethtool: self_test: Mark interface in testing operative status Documentation/ABI/testing/sysfs-class-net | 13 +++++++ include/linux/netdevice.h | 41 +++++++++++++++++++++++ include/uapi/linux/if.h | 1 + net/core/dev.c | 5 +++ net/core/link_watch.c | 12 +++++-- net/core/net-sysfs.c | 15 ++++++++- net/core/rtnetlink.c | 9 ++++- net/ethtool/ioctl.c | 2 ++ 8 files changed, 94 insertions(+), 4 deletions(-)