Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp464331ybk; Wed, 20 May 2020 04:15:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEBalnM9w+4h66gblxYv4L74cr+yIVehM4nQ57dPr4gxxIATvpbuSxwY/VMZw4l2J+gd9j X-Received: by 2002:a17:906:1f09:: with SMTP id w9mr3177251ejj.486.1589973301983; Wed, 20 May 2020 04:15:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589973301; cv=none; d=google.com; s=arc-20160816; b=mK4eZkvzTM/obw8dcGICc+s1MdprhUTjkG+ietVHpCM72hMjc61HdoaD0Lr0h+estf 0SUlws+v8Puc8FKI7eWdldtqe9ykDMSyP83QVP04hNzK0aS94ifS2MRoKfUNtI3dMlY0 uFGUKw00bu65KC058sjIGnWLrWAaIadp9pbgL53TceeP2rGyD3oiMlBAcLuKZd4Jdhgz HLltMMw1zJXs8cFwy5QNm314Z1Rgi26uLsoQyUqdPMEs93sDDxfBKXk/Bpd8glo0Xmf6 D9DTCipu+nTlTHUXg8cnwVybBHX2bsy37d1f9LZh6L4Fbp5SKGbx1YTu+tkxpaWtA624 X23A== 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:ironport-sdr:dkim-signature; bh=ovI03N2YqpL8lOH8LL0302Rcg/jY0+Ls3gZJLowYo0s=; b=c2F8BqOhyJIVzZKuO2eJA+ch14za46awU4OxudJVz+SYJyESBIjfZJ43hniFtUzaPc yJd3B/jqvutvhVQOMU731pNRFCGrnAFBWyuawochFDoUQlxurytuuNdll5K7jCJDDt6s lGVcGAqzWeNa/alddX9I6AK3g1ttpxnrLulIj3Htp27W1snDroBsIWHcL7whZKRKPIV/ Xuy1HdyTpoPFNDS4AqCfXKbj89E7E0ezmzcctvmxwrmD5uS/ywtlz9L9qwOiOg9z7DeZ RNcXFsp/G16h1uQ6/6veIcZ51rVh5f73b17esI66NONEQou021d8+uyfXNTGhiNnyUck IKbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=SUYQ1puc; 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=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sb26si1645850ejb.196.2020.05.20.04.14.39; Wed, 20 May 2020 04:15:01 -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; dkim=fail header.i=@microchip.com header.s=mchp header.b=SUYQ1puc; 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=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726733AbgETLLT (ORCPT + 99 others); Wed, 20 May 2020 07:11:19 -0400 Received: from esa3.microchip.iphmx.com ([68.232.153.233]:4072 "EHLO esa3.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726224AbgETLLT (ORCPT ); Wed, 20 May 2020 07:11:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1589973078; x=1621509078; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=JsYCUzXlsDfKtKNFoYWxhgyWbE9JFx+fChYZvOyLb/8=; b=SUYQ1pucnAgYEwtQuj2gjBGZwjgXq454vsILk42bKqWu5a8oNbqXd6J6 PZlBny0nuZciH4T2iTdqjARlNajgkMi6iZom5p9xgDlmpl5pAA3PsgtbX v/poxcSekk8fig4KObsS1toDVxctS0Mdb3EbPFW0kWCzrR3LS8+xzx/Nb dTmcS7MP3yB95pc+u7ngDp8rLjVXPGP5rKrnyViBt8J+8v+Tida0esDiN NNBFojgowf53pZfBoPoHo0KiKlUoqS0iJ+3FekcTTHOUtJEGp7zEfc30/ sfARI+jno19elgLCtzckg9GwBM/9+JNNP7bqiSAxysfoPrSouuPuZ+EQ4 A==; IronPort-SDR: hULINyyKvQELhKkzLfoNOWo8H94vU3VkTHKWL7m5CJNyeDJEKBR7za+GwI7t1sDbkib2qZJ/PF Kgfgk3nhWAqlM6tijoAOM6Nr+ZL388Z2Bc6TPfwA9LX9oqrxAnIXsaJyGfm0Af2jE/+qXfaqqZ ogNDnJNELpXYKl9PEb2XF9f8XiCwb+1x+egtNYLCu9BYnTTdAemaynnesU2muKjdsy2hdN0CUS t+mKg0MJ6jF98Z3gyi5WGyad/BTjqtLM9vkkp2g1ZkJsNZbnLe3lEMzpBS21enjtOLeqmvS8zg 6CE= X-IronPort-AV: E=Sophos;i="5.73,413,1583218800"; d="scan'208";a="77278923" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 20 May 2020 04:11:17 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 20 May 2020 04:11:17 -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.1713.5 via Frontend Transport; Wed, 20 May 2020 04:11:14 -0700 From: Horatiu Vultur To: , , , , , , , , , , CC: Horatiu Vultur Subject: [PATCH 0/3] net: bridge: mrp: Add small fixes to MRP Date: Wed, 20 May 2020 13:09:20 +0000 Message-ID: <20200520130923.3196432-1-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.26.2 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 adds small fixes to MRP implementation. The following are fixed in this patch series: - now is not allow to add the same port to multiple MRP rings - remove unused variable - restore the port state according to the bridge state when the MRP instance is deleted Horatiu Vultur (3): bridge: mrp: Add br_mrp_unique_ifindex function switchdev: mrp: Remove the variable mrp_ring_state bridge: mrp: Restore port state when deleting MRP instance include/net/switchdev.h | 1 - net/bridge/br_mrp.c | 44 +++++++++++++++++++++++++++++++++++++---- 2 files changed, 40 insertions(+), 5 deletions(-) -- 2.26.2