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=-1.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 8BECDC6787C for ; Sat, 13 Oct 2018 00:38:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2906820895 for ; Sat, 13 Oct 2018 00:38:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="oaCojSW3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2906820895 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726400AbeJMINU (ORCPT ); Sat, 13 Oct 2018 04:13:20 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:44096 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbeJMINT (ORCPT ); Sat, 13 Oct 2018 04:13:19 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w9D0cKae080648; Fri, 12 Oct 2018 19:38:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539391100; bh=P+b4ETRYq55eUlLcAIoLDCL7NCP0mANy3ffEsXoXfAE=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=oaCojSW3NlnZqbaqOgkdcfll+guf6jFJk/gPNt7NQX+oWyM3H2xsVeQf/gnznKkhh wRMmFB3sBrcYOUG9v0Hgje0lMPYP7RKLod/T4Vc/W34ikXO/igafHu6qrTmzAVgTMl qGKM1ZGwmy1ea+hc0je2LS3eyJ4qrxoCbFmaUSBk= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9D0cKGG024930; Fri, 12 Oct 2018 19:38:20 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 12 Oct 2018 19:38:19 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 12 Oct 2018 19:38:20 -0500 Received: from [128.247.59.147] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9D0cKLh023384; Fri, 12 Oct 2018 19:38:20 -0500 Subject: Re: [PATCH 0/2] net: ethernet: ti: cpsw fix mcast packet lost To: Ivan Khoronzhuk , CC: , , References: <20181012152815.31320-1-ivan.khoronzhuk@linaro.org> From: Grygorii Strashko Message-ID: <3eb5615f-936d-40ae-d80f-bc752a896584@ti.com> Date: Fri, 12 Oct 2018 19:38:20 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181012152815.31320-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/12/2018 10:28 AM, Ivan Khoronzhuk wrote: > The patchset omits redundant refresh of mcast address table and > prevents mcast packet lost. > > Based on net-next/master > tested on am572x evm > > Ivan Khoronzhuk (2): > net: ethernet: ti: cpsw_ale: use const for API having pointer on mac > address > net: ethernet: ti: cpsw: fix lost of mcast packets while rx_mode > update > > drivers/net/ethernet/ti/cpsw.c | 46 ++++++++++++++++++------------ > drivers/net/ethernet/ti/cpsw_ale.c | 12 ++++---- > drivers/net/ethernet/ti/cpsw_ale.h | 8 +++--- > 3 files changed, 38 insertions(+), 28 deletions(-) > Thank you. Reviewed-by: Grygorii Strashko -- regards, -grygorii