Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2633323ima; Mon, 22 Oct 2018 13:08:21 -0700 (PDT) X-Google-Smtp-Source: ACcGV60or1aLhl+Y7KIAUreepeHACcKKSd/CBqZNg01dtYJxrFRcqDIMbe8oag6TnBMUMTfov7ox X-Received: by 2002:a62:7788:: with SMTP id s130-v6mr46778220pfc.189.1540238901814; Mon, 22 Oct 2018 13:08:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540238901; cv=none; d=google.com; s=arc-20160816; b=rsmXn4L1fb8E7LPSvsjcDnfzV9Gsd7kkvRoSdjaMCycRIvMVSvdTuxayEbSw0hAtKo 5kE30XVHJitedXOasbIHW0Hpgm9y+uf0v9CYtVZGK+hfkYzvzOeunXA8EwwrtZ3N+uyt cGRmuk83c2MPsE1x//Mb3yOoKviIG5ybKxixgAH6Z2jD1NIVtFIrv1TWNlL8SvXh/1sM WO7Sd/ggM2Us1Ub9pRFheoXSeULv4Kbr2ymT1wLrYJolt9lWPXbO4M2q+BY3v6kvR8bb z7ucgQ0D6sSQB1Av6pOCE3FhzAkLuDtAjKVE5jfcuGZmNpZBiE2SnXD44DeSky5Qbub1 Llqg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=+2w/eumqihw+dpe5klH3tc9+VdLcEQ11GtqufMpY03w=; b=bzYIuuFA6riTVNaSKpRW+QBrjIGF2ADdKk6SbRZSzEz8xT1kCVA8nCk6urwZIcpvYQ Lha5md3W96/+Bv/Iy3KpAuSpfHGAuTWSwacq0Se3LTIP3QQ2RNcW4Qgn6UceMEe5VSx+ dE57cOoZ9GnqsENWcZ7I0RPezsQT4fcoTtlptyM28HL/hp3zR5K8LrmyU5ASSSOE+Fa9 5o9tf7tOECGFcqO+a0hIKhRbPExRsb+RmACboNqfhBFsCHhIJ70pB8XFWSGWx383H5CR yQl5qKpDQNp6805sW6BFyWGJlIiatwpIuPKrTzlNxDREtxs1x9NhZNzVKFeegG+/X5Gl 4C/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=AH8kOlY0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k12-v6si32630684plt.115.2018.10.22.13.07.55; Mon, 22 Oct 2018 13:08:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=AH8kOlY0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728962AbeJWDWT (ORCPT + 99 others); Mon, 22 Oct 2018 23:22:19 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:35488 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727669AbeJWDWT (ORCPT ); Mon, 22 Oct 2018 23:22:19 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w9MJ2XeC036744; Mon, 22 Oct 2018 14:02:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1540234953; bh=+2w/eumqihw+dpe5klH3tc9+VdLcEQ11GtqufMpY03w=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=AH8kOlY0f1icDo2dFCl3ZLbVzYtkHDhTOd1mmkeuvbb8mHo9Hi2A1Bd/A9CGvl2++ dRTnGLUjEj2GF0nejjs0AMB7arftKn93y6Wn42VTXQVAHocs7hkUo0gei8qP7d6zBu gMTbOaS1Xq0W+IAaw+zlRPwzW7CRLk+KRJP/6SNE= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9MJ2XqF009887; Mon, 22 Oct 2018 14:02:33 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 22 Oct 2018 14:02:33 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 22 Oct 2018 14:02:33 -0500 Received: from [128.247.59.147] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9MJ2XUe009053; Mon, 22 Oct 2018 14:02:33 -0500 Subject: Re: [PATCH v2 net-next] net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode To: Ivan Khoronzhuk , CC: , , References: <20181022185136.8215-1-ivan.khoronzhuk@linaro.org> From: Grygorii Strashko Message-ID: Date: Mon, 22 Oct 2018 14:02:33 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181022185136.8215-1-ivan.khoronzhuk@linaro.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/22/18 1:51 PM, Ivan Khoronzhuk wrote: > After flushing all mcast entries from the table, the ones contained in > mc list of ndev are not restored when promisc mode is toggled off, > because they are considered as synched with ALE, thus, in order to > restore them after promisc mode - reset syncing info. This fix > touches only switch mode devices, including single port boards > like Beagle Bone. > > Fixes: commit 5da1948969bc > ("net: ethernet: ti: cpsw: fix lost of mcast packets while rx_mode update") > > Signed-off-by: Ivan Khoronzhuk > --- > > Based on net-next/master Thank you. Reviewed-by: Grygorii Strashko -- regards, -grygorii