Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1379915imm; Fri, 12 Oct 2018 17:39:03 -0700 (PDT) X-Google-Smtp-Source: ACcGV634mTTKtwsKUHnYIIgUo3bYAyA5YDHe0/Czj+HuD/gSfUnruIWCCD9kBQvz9oWtUDYw1NXd X-Received: by 2002:a62:6699:: with SMTP id s25-v6mr8241815pfj.84.1539391143156; Fri, 12 Oct 2018 17:39:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539391143; cv=none; d=google.com; s=arc-20160816; b=D9Mwg93Eqvdl+lZpTSZbgT79BvGrh9TvL8JQTg2xQWeDtB9Vr/7xM5vp+4IYLNAi6/ CGImEa7eG631+SOzrSDHC6wiFCCm7GGgvXQqM6YsuoE85UNYiblgc8lRAVfzfhmZBaQ7 V4Qg5b3CWRXrEnNFIhp6yNaLjzIpfRP8Nn+YMIhchtl9iAwBKeeQNrWK/SmsYEI9vGMa J3BX1uyAVV9isAyo1zy4JgmmiT+e8vEabl8/a4ysQrbjNBUhBFgEDH3PnObvzuc29FD4 VBWQGIK0KysDQjGdEskdm+yf48lsJifv89DZfKK2SMD7ORPiuFUqthQ+jD655+wqa/a+ XXqg== 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=P+b4ETRYq55eUlLcAIoLDCL7NCP0mANy3ffEsXoXfAE=; b=KTEhjpWe7mFgqolag56ghmAmvLylxI//1i/G3drGlEQ77x03FHWQMutc+0DFF7mgxX Av3GHKWN8kO7ftVQT8yX+Lxz9lVH1OZ0gXTPap2cPraiEm/kGNpMyHQ70bmIqlbQ5KdJ 7F8Er+t60xNvMAPsTOWGkpNtCId7Q7AjTsmuhD7Ximp1JIw4Miu9fUuN2gcJaL4nQtQg I3egRCpluhGl9lTEH6FyDofyMgSkzcOEOY+IqlqZ8ky+5kuZsMCnxrz69XxkKJhpn/d+ pD1NGbS4r+6LcQyjQPoDyRAu6op52gkddSbItSdv+q8jSG6XbCtcm+7n98YyIwvFiL4n bYyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=oaCojSW3; 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 n7-v6si2761178plp.43.2018.10.12.17.38.47; Fri, 12 Oct 2018 17:39:03 -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=oaCojSW3; 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 S1726388AbeJMINU (ORCPT + 99 others); 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