Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2646914ybi; Thu, 18 Jul 2019 11:47:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVqWYXtCCmnyVIdIC/oj4ZHGvxyyCLe/UwE1iDXl/+ZGPe6oZDb6swNJ3sdk2WBUfnMIN/ X-Received: by 2002:a17:902:a409:: with SMTP id p9mr52296017plq.218.1563475636329; Thu, 18 Jul 2019 11:47:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563475636; cv=none; d=google.com; s=arc-20160816; b=UC/2bJr0gwjl+Ap3MfrCtpGo8ggBzwXyRFxZdLkapLr/XgJx/HYF3W5zNU9BhAlqbi ezv/47+Tedavlb5Ot6dA0/UG6vWzYWOv4P/yjBX0nw6Av5hSe5yNN3/TTn6KUF3bE5xL Vxaq6CrOTYtd2gttzLbgZMerzaO1QIcE+35pvENb1xALNFeU6001l/98gBZHgrv9oEL8 SUaoq9onSuzQgz914lMgTTP+8ue00cqpJMKeAbFUv3RIQ0vxS0wTkbGqPhTDGa9Xa7Ug BsQ2rd4Hwdbew3VNOSkWrNXRa7Pil0ltwmY6hdQN6D3jHNQBeMdiFJimz+7JNquPI1EK H6Tg== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=CCMGqZ9WJeT/B2hsKOmKM2YJxdn8ycC3BdpavqQA2lE=; b=vmxrA5QOfWdzmaXpmfuKjHFQZZpNfIXrCdDrgdsRAydgMZ5dk90iMRyiNKkf3O6pP+ 0OcbuyYR2sFirE9pHS2OwjKgMh2hyzKvdnSibzBiMQxx3+5ln8UCFlP2Ya3nNPiJ518q GInV4nrBC4N+46ge5m3o0Tm443Xb59ZrMy38i/ABU2w2OzGy49IdbpH91wt8FpkV1L3u Gta03lF68O8qTcfMRuuUpI4CEMDOq+0YQ1zSPyrUw4JSZ7PkVvKRYDxugXO0gt9aSKIZ zmj5SuDYg4rxRwK2F04MyOnP9iYndGlOGWW+LEb4EAZn3ILCqpqJ/MTKVSOZXtbBZNPV iUxw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t17si2609385pjw.99.2019.07.18.11.46.59; Thu, 18 Jul 2019 11:47:16 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728183AbfGRSqk (ORCPT + 99 others); Thu, 18 Jul 2019 14:46:40 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:53992 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726040AbfGRSqj (ORCPT ); Thu, 18 Jul 2019 14:46:39 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 13C831527D7E1; Thu, 18 Jul 2019 11:46:39 -0700 (PDT) Date: Thu, 18 Jul 2019 11:46:38 -0700 (PDT) Message-Id: <20190718.114638.2086531826521437029.davem@davemloft.net> To: f.fainelli@gmail.com Cc: justinpopo6@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, opendmb@gmail.com Subject: Re: [PATCH] net: bcmgenet: use promisc for unsupported filters From: David Miller In-Reply-To: <5f6422b5-e839-1600-6749-048a7e31ea96@gmail.com> References: <1563400733-39451-1-git-send-email-justinpopo6@gmail.com> <5f6422b5-e839-1600-6749-048a7e31ea96@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 18 Jul 2019 11:46:39 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Florian Fainelli Date: Wed, 17 Jul 2019 20:38:47 -0700 > > > On 7/17/2019 2:58 PM, justinpopo6@gmail.com wrote: >> From: Justin Chen >> >> Currently we silently ignore filters if we cannot meet the filter >> requirements. This will lead to the MAC dropping packets that are >> expected to pass. A better solution would be to set the NIC to promisc >> mode when the required filters cannot be met. >> >> Also correct the number of MDF filters supported. It should be 17, >> not 16. >> >> Signed-off-by: Justin Chen > > Reviewed-by: Florian Fainelli Applied and queued up for -stable.