From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH 0/4] RFC CPSW switchdev mode Date: Fri, 25 May 2018 14:09:38 +0200 Message-ID: <20180525120938.GB20060@lunn.ch> References: <20180524084831.GA2759@apalos> <20180524125431.GB24557@lunn.ch> <7437d485-1eac-9619-3827-5af9b32b939e@redhat.com> <20180524140831.GA16793@apalos> <20180524145441.GE5128@lunn.ch> <20180524150704.GA20031@apalos> <20180524152559.GF5128@lunn.ch> <20180524160254.GA22461@apalos> <20180524163310.GG5128@lunn.ch> <20180525062902.GA11526@apalos> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ivan Vecera , Jiri Pirko , netdev@vger.kernel.org, grygorii.strashko@ti.com, ivan.khoronzhuk@linaro.org, nsekhar@ti.com, francois.ozog@linaro.org, yogeshs@ti.com, spatton@ti.com To: Ilias Apalodimas Return-path: Received: from vps0.lunn.ch ([185.16.172.187]:45145 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966243AbeEYMJm (ORCPT ); Fri, 25 May 2018 08:09:42 -0400 Content-Disposition: inline In-Reply-To: <20180525062902.GA11526@apalos> Sender: netdev-owner@vger.kernel.org List-ID: > Understood, if we missed back anything on handling multicast for > the cpu port we'll go back and fix it (i am assuming snooping is the answer > here). It is part of the answer. You should also look at .ndo_set_rx_mode. When the switch ports are not in a bridge, this call i used to pass a list of MAC addresses which the network stack would like to receiver. You probably want to turn that list into MBD and FDBs. Andrew