Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1756931ybh; Tue, 14 Jul 2020 06:37:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyipooFRiictCetKm9p2Bvs498NhvETG/U5KARHJj0jUKebSTKhrDEwVXZB6jGs05C1+gwY X-Received: by 2002:a05:6402:542:: with SMTP id i2mr4703879edx.318.1594733827597; Tue, 14 Jul 2020 06:37:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594733827; cv=none; d=google.com; s=arc-20160816; b=HLWYjaZujGhmTBUrCJ4Bc7KpzXbvk1TM+XCp45of6ginAvzmz7VlkWPvVEvUrfYlaH 1uPkyZG/iID/80z7bFv3MUGctoU6QrtLjqavjysgxgEGyTmwTqgNSbShuklqgvYzGsju jrQunFwv+0wzVnPY0BO4SohgpKyFe5//xBCf4Z+iNrJbcPTRtIa8GX/s21HQFrLR15pN VyMyyoxwdBEj34DSWCq5lA5tbDzJDdJBip6N5H9iOQIcVY2NN5mZQdt7hy0PAxOpjSKY mwdjIo9vScd7IWR55uOgg6poYibKb0OtSD/bpGnLBN9dYD6i1Z7PueAqgsFT/+z9rBRj 1wCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=Peatf8TNyCaV9g2Y6tWG95z2zNptZYw5JzBalZAhySg=; b=M7w9l9/v5XnQxZmHKHmertA13/mqUuBC5oNhcA2El+uXxKI4ajZL/FYu1SDRVo65pq MTf+v/95cTk4jRCpQJIJ8hEp/wpXgFddsao9HihxjMJ/dZoWs+fuQfdNt4qFS3juPFIG HdECsGPCidtfXDb27jqJ5Akcb6Jo3HW7gYlgUUjpvgDh7Wvp5NWCU5067aIDi7XmLoQc 6A6vaPkfnG0S80cpawkjl/J7+qBXnWwcySKwfcxs2OlfURHHycMPhdfYphyzzODGZH3X FcSJUPq8MQcXNYaCC8Gw/Wp0F2epPE3k7Sm8MhdK9PKMn0aOuuWCXNpmgKsEK2Hmc0Tn jUmQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk6si11492976ejb.129.2020.07.14.06.36.43; Tue, 14 Jul 2020 06:37:07 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728551AbgGNNfS (ORCPT + 99 others); Tue, 14 Jul 2020 09:35:18 -0400 Received: from inva021.nxp.com ([92.121.34.21]:48214 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726801AbgGNNfR (ORCPT ); Tue, 14 Jul 2020 09:35:17 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 23B4B2001C4; Tue, 14 Jul 2020 15:35:15 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 17D902001B2; Tue, 14 Jul 2020 15:35:15 +0200 (CEST) Received: from fsr-ub1864-126.ea.freescale.net (fsr-ub1864-126.ea.freescale.net [10.171.82.212]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id CD9C8205A4; Tue, 14 Jul 2020 15:35:14 +0200 (CEST) From: Ioana Ciornei To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, Ioana Ciornei Subject: [PATCH 0/6] staging: dpaa2-ethsw: cleanup of link state and MAC addresses Date: Tue, 14 Jul 2020 16:34:25 +0300 Message-Id: <20200714133431.17532-1-ioana.ciornei@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set is cleaning up the link state handling of the switch ports in patches 1-4. The last two patches are setting up the MAC addresses of the switch ports automatically so that the user is not forced to manually add them before adding them to a bridge. Ioana Ciornei (6): staging: dpaa2-ethsw: fix reported link state staging: dpaa2-ethsw: ignore state interrupts when the interface is not running staging: dpaa2-ethsw: use netif_running when checking for port up staging: dpaa2-ethsw: disable switch ports are probe time staging: dpaa2-ethsw: store version information of the DPSW object staging: dpaa2-ethsw: setup MAC address of switch netdevices drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h | 14 +++ drivers/staging/fsl-dpaa2/ethsw/dpsw.c | 106 +++++++++++++++++++++ drivers/staging/fsl-dpaa2/ethsw/dpsw.h | 9 ++ drivers/staging/fsl-dpaa2/ethsw/ethsw.c | 102 +++++++++++++++++--- drivers/staging/fsl-dpaa2/ethsw/ethsw.h | 4 + 5 files changed, 221 insertions(+), 14 deletions(-) -- 2.25.1