Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp902388imm; Fri, 12 Oct 2018 08:29:37 -0700 (PDT) X-Google-Smtp-Source: ACcGV61w7VLaIwhxCRO2GyPIZBMe/G42fSNY9kAPhE//gESgPNAwVOn9fZnkeClnNvmwz5dB6rus X-Received: by 2002:a17:902:e012:: with SMTP id ca18-v6mr6229751plb.195.1539358177633; Fri, 12 Oct 2018 08:29:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539358177; cv=none; d=google.com; s=arc-20160816; b=w9oE5tkZ+E66VX4yLDhnbhYTBa4lIbguc9+C1Sql8R+fV3o60ow2I9panfQcAGUPmI wTzEYX1B0mEmaII9UZvGVonM/jg9vMetx/EOnm0SE822H2bElR/fJeMN0PBkhp/76gsU JGuOrsyMNPywc08OKOpQPJz+dWFXRp2Ek32HTZGJZpbBq0/ho82PfF5Q3igrQ29/6ZBX ZyxvFAnQvCVjJqvDtKd1jODuKvdz31oF54OnEnNH/JSA61qK/zWZjWp321G9KIrso/If CdVfQ0uTem2qQZXX5S07S/AoqHnRs94xrf6q3XoQyGA2aYHwgVurQN9I2XavCS0d00hL 7dIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=12uk6eX5VrJKHJeCHYQaElS3OIDvS7DlAyBo3dH7DQw=; b=Wb10n7c/mNQnHpAqeCm5SIx4PM0E/YJdceyUBKytK+HQcrrH3sJ5FJ7lNUmUWS+rbW iDeSOVGaoVcDPeGjglQO5HaGcq9RFdVEoIn53Cl5SJoEl1Fy4ddqrE7Pvt8xL5mxYxWj OQAqZdxT1bZSTg/W6ogPZQRjPlkHhrOAErmjmPEKmlQtVc3YH4nqrr47mureI6PdL9uy vsWdSP1LJawgxx5tjfzZM0MTMKUTOsFxaHcPBGFcdMC6sf+qYYNAc6ydUK/VONdWz68t jYTeA2tOaVe25AkyN4IH/EiAPlM0cGAFCGVXs7wO4aMlQVFiRCl2kdpTfEZpq5ED/UJg 5iPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OJu2CuO7; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k1-v6si1531361pld.424.2018.10.12.08.29.22; Fri, 12 Oct 2018 08:29:37 -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=@linaro.org header.s=google header.b=OJu2CuO7; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729158AbeJLXBU (ORCPT + 99 others); Fri, 12 Oct 2018 19:01:20 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:35338 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729139AbeJLXBU (ORCPT ); Fri, 12 Oct 2018 19:01:20 -0400 Received: by mail-lf1-f66.google.com with SMTP id r191-v6so9629472lff.2 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=WjsEXjqH+mH31LJgDqNwc7IJVSApTtqN6uPvfvL3mfdPKRqO7Xhp82krpMN8AMXMHs XQSuTPPB/u02iW2Kz7c8vm4aiqBm//sdm4Gy6TZMJ/zIBhDKB+eM5G/naXZdBbvHl/iX hbg8UYdl7Tcg/AwtQZnHh1QzboRTJl9uo2FogKEUlrYmdf2Cle/cq9DfLH1GkMrCxGPF kwYWXn9qy3Q0s48yEfqAdnBY6cZ33EcZHO/hJwITRN2hm/7E5Y3JwePTcqsjfPdnBALu oAU+mItY5U3gskjRWpW8LlJmxmRt9UZ0mTifAexZpQoAZWfyPBNHJh8PMzftEQfZXHxp in/w== X-Gm-Message-State: ABuFfojwyY0arn386t0DZXiO346XC4NNqZHzYz7wiFR9txfLDIwDbzUN kQbF/hUDaBP+iKYB1dxGNB62eg== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.17.1