From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] net: aquantia: vlan unicast address list correct handling Date: Fri, 06 Jul 2018 11:11:46 +0900 (KST) Message-ID: <20180706.111146.1384912370526565139.davem@davemloft.net> References: <6ded5860633d5c93cf5f0e254e61cb17c9a22960.1530714429.git.igor.russkikh@aquantia.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, darcari@redhat.com, pavel.belous@aquantia.com To: igor.russkikh@aquantia.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:44582 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753608AbeGFCLt (ORCPT ); Thu, 5 Jul 2018 22:11:49 -0400 In-Reply-To: <6ded5860633d5c93cf5f0e254e61cb17c9a22960.1530714429.git.igor.russkikh@aquantia.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Igor Russkikh Date: Thu, 5 Jul 2018 17:01:09 +0300 > Setting up macvlan/macvtap networks over atlantic NIC results > in no traffic over these networks because ndo_set_rx_mode did > not listed UC MACs as registered in unicast filter. > > Here we fix that taking into account maximum number of UC > filters supported by hardware. If more than MAX addresses were > registered, we just enable promisc and/or allmulti to pass > the traffic in. > > We also remove MULTICAST_ADDRESS_MAX constant from aq_cfg since > thats not a configurable parameter at all. > > Fixes: b21f502 ("net:ethernet:aquantia: Fix for multicast filter handling.") > Signed-off-by: Igor Russkikh Applied and queued up for -stable. Thanks!