From mboxrd@z Thu Jan 1 00:00:00 1970 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.8 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 D1BCDC433DF for ; Thu, 2 Jul 2020 08:13:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A60F420874 for ; Thu, 2 Jul 2020 08:13:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="Cjb/Gq85" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726669AbgGBINQ (ORCPT ); Thu, 2 Jul 2020 04:13:16 -0400 Received: from esa2.microchip.iphmx.com ([68.232.149.84]:31878 "EHLO esa2.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725379AbgGBINP (ORCPT ); Thu, 2 Jul 2020 04:13:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1593677594; x=1625213594; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Yl2VuSGjDWMQiuL7KQmLjM60vMbdhACMmPH2M/uS8AI=; b=Cjb/Gq85dtEqcYo4xHVUNCpu9HJJese/PSqoGVjXgjJIbwlCB+Lw8YFr ek5ER9VqeCOpiR+6rfQrZzArr8QYhU6JdiljSzO/a2kBUItfsykAA6Bm8 BkQ2LhA2ccQGGOVxIpkD6QLrG1a62+IvOcDB7eZSefHbNv8nfR8ki1M+a OP4ZcwlM4IfHqu0Mqh7NqG04yPAhkYpgovd1nuuxXvkgd4YNvnMMMLl3k bhIhGB/+54ohRHCfc7ZQuYYOy9VJSPbGTZQRg47yG3T8Xb9tpjKmTOcZB n7Ljisq8ieoiaLB2wcfcHxhPCiYEPhrFkHOq9/lXe/smP4IC3NHZ4nKg7 g==; IronPort-SDR: d27XaLuMzYw/vdevJ2B/WamZccilcKMA0wEBvK45ggmZFnkAqv4RoHQKQRTIdMbSs/t4O/y9uX wjfWpDWBJojBJkFqQrGCH/zgTrr1AhJFc4NQKU7nz6Ns1ZjkAaOjTA2/oY4baFGqfQeFuyI5ki R1iirTvd5/+oDPQ2fR2vOHWjirkHAvL6B8tDryTE0LqyrK7WjWtAZLd5zzmur4ieAJTog7+78j uHD4mNU+JYPzalIep4KwLIHp+vkb4AwDwxKs41E8ec0Q+traMWj848D6UXq0zO33ixWlqEhm7B itU= X-IronPort-AV: E=Sophos;i="5.75,303,1589266800"; d="scan'208";a="80467644" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Jul 2020 01:13:13 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Thu, 2 Jul 2020 01:13:13 -0700 Received: from soft-dev3.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Thu, 2 Jul 2020 01:12:50 -0700 From: Horatiu Vultur To: , , , , , , , , CC: Horatiu Vultur Subject: [PATCH net-next v3 0/3] bridge: mrp: Add support for getting the status Date: Thu, 2 Jul 2020 10:13:04 +0200 Message-ID: <20200702081307.933471-1-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series extends the MRP netlink interface to allow the userspace daemon to get the status of the MRP instances in the kernel. v3: - remove misleading comment - fix to use correctly the RCU v2: - fix sparse warnings Horatiu Vultur (3): bridge: uapi: mrp: Extend MRP attributes to get the status bridge: mrp: Add br_mrp_fill_info bridge: Extend br_fill_ifinfo to return MPR status include/uapi/linux/if_bridge.h | 17 +++++++++ include/uapi/linux/rtnetlink.h | 1 + net/bridge/br_mrp_netlink.c | 64 ++++++++++++++++++++++++++++++++++ net/bridge/br_netlink.c | 25 ++++++++++++- net/bridge/br_private.h | 7 ++++ 5 files changed, 113 insertions(+), 1 deletion(-) -- 2.27.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1593677595; x=1625213595; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Yl2VuSGjDWMQiuL7KQmLjM60vMbdhACMmPH2M/uS8AI=; b=batYJHqlTSoj+8oEM6UrLZIAI6V+9yPHqbrD7x1SSDNos+NsvuvBigiC 5pcxJtPBgEUhUSzyuO/LtdqELJrnh8lt1UEjtrcbfhC4kfP85cWUxmuwt 63LfG98uEsMuK2dKh3X0K01G4742//3SRqSrZ8WnHGXz7Wzyh/A6WOHq2 HAHWQ6670WXr8HOhCYPldWJIkfM8df1MFNK0jqCMJChXknDwD49wSFJKp zrJEV+MpX1evyewcU0IDO7FfmEqq6tssBQKZdYj5TtwqRMJmksQZTaf62 Z8mkTx+ICyBL5OdRNumDTg1eHgupTdM3sBGRYQGvYiHkqKrtbLi20IW1j g==; From: Horatiu Vultur Date: Thu, 2 Jul 2020 10:13:04 +0200 Message-ID: <20200702081307.933471-1-horatiu.vultur@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Subject: [Bridge] [PATCH net-next v3 0/3] bridge: mrp: Add support for getting the status List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: nikolay@cumulusnetworks.com, roopa@cumulusnetworks.com, davem@davemloft.net, kuba@kernel.org, jiri@mellanox.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bridge@lists.linux-foundation.org, UNGLinuxDriver@microchip.com Cc: Horatiu Vultur This patch series extends the MRP netlink interface to allow the userspace daemon to get the status of the MRP instances in the kernel. v3: - remove misleading comment - fix to use correctly the RCU v2: - fix sparse warnings Horatiu Vultur (3): bridge: uapi: mrp: Extend MRP attributes to get the status bridge: mrp: Add br_mrp_fill_info bridge: Extend br_fill_ifinfo to return MPR status include/uapi/linux/if_bridge.h | 17 +++++++++ include/uapi/linux/rtnetlink.h | 1 + net/bridge/br_mrp_netlink.c | 64 ++++++++++++++++++++++++++++++++++ net/bridge/br_netlink.c | 25 ++++++++++++- net/bridge/br_private.h | 7 ++++ 5 files changed, 113 insertions(+), 1 deletion(-) -- 2.27.0