From patchwork Fri Oct 12 15:28:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 10638801 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D88E61508 for ; Fri, 12 Oct 2018 15:28:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C715E2B174 for ; Fri, 12 Oct 2018 15:28:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA99A2B19E; Fri, 12 Oct 2018 15:28:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 59F0B2B174 for ; Fri, 12 Oct 2018 15:28:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729144AbeJLXBU (ORCPT ); Fri, 12 Oct 2018 19:01:20 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:36263 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729125AbeJLXBU (ORCPT ); Fri, 12 Oct 2018 19:01:20 -0400 Received: by mail-lf1-f68.google.com with SMTP id d4-v6so9617849lfa.3 for ; Fri, 12 Oct 2018 08:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=12uk6eX5VrJKHJeCHYQaElS3OIDvS7DlAyBo3dH7DQw=; b=OJu2CuO7V2ACkHblfz6imqThWl/akmz8DUKaKssZy6VyOrZ6aVJgbbwK/EuMm3+4Ds yj31eEbTV7+dEC4hlzJI5e2h3e8A8o2bpWsjBJgZHYfSA9beF/Y9yUsqHRbV86kobE50 TXmIUQ78VIfPbDdNyepZzLr7bk8H8AlModFKw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=12uk6eX5VrJKHJeCHYQaElS3OIDvS7DlAyBo3dH7DQw=; b=MPAjMJu2TW2+zTUbQcMy9aDF7eCZGkUkiMJS8LZ7di/7CE17geukhuDDiO1BsHhzbQ ceSnFRrahGRqT4fPQ3FhwN9m7V8vQyw9fmNH7/MLcC1YJ0jdc/aBfDlYv/bv3jejfb8S r+6O/cP4k/WOpnzJEMYMKojCbxn6fU0zk06/KVaHu/ZLrzvUuTlXBXa8NKWkgS9BKeSS 9gvpVtpidWDJd9Bo4kppOakZl5X6ND12cGXefkl5z0sdKDq7Zd5NHYbIeMFrE6SVwvZv D2LjmsaJfWUC+OQ8/yk/BeNkZG4fbZg7zBv3wiApRgMAgcYsIiLFDL4kia5/YIKdIRMs ZtBw== X-Gm-Message-State: ABuFfohx17KOssjJMmBAfX0mvPaxIo50Lu8UhO4okHb7NEMecBUkF7vw TY6WUn5BJ3pBC69WqbYIpAlh0g== X-Google-Smtp-Source: ACcGV62PNMK6he9Kl1u5/8HpDh84dZXBmzOvake/NqfRuQoNbXU5sI9pTFaqspVrd+X0Eu647rjYGQ== X-Received: by 2002:a19:ce01:: with SMTP id e1-v6mr4013396lfg.152.1539358099290; Fri, 12 Oct 2018 08:28:19 -0700 (PDT) Received: from localhost.localdomain (59-201-94-178.pool.ukrtel.net. [178.94.201.59]) by smtp.gmail.com with ESMTPSA id a63-v6sm325923ljf.54.2018.10.12.08.28.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Oct 2018 08:28:18 -0700 (PDT) From: Ivan Khoronzhuk To: grygorii.strashko@ti.com, davem@davemloft.net Cc: linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ivan Khoronzhuk Subject: [PATCH 0/2] net: ethernet: ti: cpsw fix mcast packet lost Date: Fri, 12 Oct 2018 18:28:13 +0300 Message-Id: <20181012152815.31320-1-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) Reviewed-by: Grygorii Strashko