Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1715928ybi; Wed, 17 Jul 2019 20:39:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRFbJ9xH2v8GEAiseW7V98GplpD97pIareKK3B+nrCePUyPUMkL/8Gl5bdEi8mrZeHJJU7 X-Received: by 2002:a17:902:f089:: with SMTP id go9mr47369390plb.81.1563421177998; Wed, 17 Jul 2019 20:39:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563421177; cv=none; d=google.com; s=arc-20160816; b=Ciyqo5PLlldmLywTqcbHwCnl9eoAdIE52SGQVXo31q/blkT/cKcMEor0ASSkSdbPa3 FgZMrovKRanZU4qRc649jE9FOyJ4X4xB3cc9NTQmcuzm2Ij1g508kQ0GYG9b/rG7MqQk UZqzVmWqAHOL5ZmmbfLP3i2noZBQVIEIxQ1nutSwSvYGn2oLvCkKho2GHYGUNMudp2R0 SEbFzxR3VZPm1Lx0HuEJ7upYj2FAvgbKo8HxoItobqrxnXOz3Q8lYAD3tNNET/+trTO9 w3/bpQsfwxGDKs3Wf5cs3ApKZr0CkxSb+WcZKM6lQ8JDI2C614t5+hN9F4Acfg6ji2SK K4Rw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject:dkim-signature; bh=Fk4+0dkj6XW4PdBFQ9USPjNyxNqr0ymaYJUY6l7wSCI=; b=viofgKEWd199esvbUrM0SUheaa094BmV4Om6M9hlfS/Bksan+Zl7oKtuRRSwKm5eU+ mL4cjG7Ntzod+PyEsCiWj7TnOEVWpJeR//iXa40H//4LfTR1X7ZMkTSU5OBm0tP1FaE8 hbwtV/v8/ZlvSr2ZPMtge46xtWMg1E9PEP+Em1S/Ts1x9l37aoqZ7TF+NDswofF6Dvbl UuYPRYhhK3lE3zEKn+XU0pSHuOj4iVsyN04nxl704z2svV+sMgVkXcZoEB9r7IpEDxH/ uzLkAY9IqG4bUGlZ24JOAXC64TemOPqPlUGYe+8fUsv5F2NeADhJ3LYB+oKrI6kwBa0P C/uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Iun0xdLJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l68si24250498plb.416.2019.07.17.20.39.21; Wed, 17 Jul 2019 20:39: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=@gmail.com header.s=20161025 header.b=Iun0xdLJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389450AbfGRDiw (ORCPT + 99 others); Wed, 17 Jul 2019 23:38:52 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:40738 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732313AbfGRDiv (ORCPT ); Wed, 17 Jul 2019 23:38:51 -0400 Received: by mail-io1-f67.google.com with SMTP id h6so49201950iom.7; Wed, 17 Jul 2019 20:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Fk4+0dkj6XW4PdBFQ9USPjNyxNqr0ymaYJUY6l7wSCI=; b=Iun0xdLJZkCepCGZC37X8gm3BIJxpbCCrU0X2uuED49qwnYrFyAS/lkMo2sX8msdFr Yp2jwwNrMah4eiSpjKWBaHFpBWWOj2GAAPV5eIPlI6RcQKwEkWfPW8IpVeJ/86SUKqcT YUE4y7oF5DDFWAbBMfiDA2ffPOtlefqaoX2potS/gecAdcWnlK1kHXO082mhhbsqOcGF HvdKxYsSLookVOy5BV+Rm1rp/nZdfqK6d6BNIqhLHflZUngI/UrNsIpuJAP0Oaq9Tvp/ iUGRkERQ5FCKeMnb4o75sLnf5hwZEFmWuzntsay6ompugmfcD4foC04Aov2Gjtjx/GA0 SVEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Fk4+0dkj6XW4PdBFQ9USPjNyxNqr0ymaYJUY6l7wSCI=; b=GRIsI1nfhdYujgdLbCaIa7B4zO34OpzxTScLdyqM6fFNhEWHqek/9FercTbVFVtU6T 8kX4CSDN7y73Wjyr8H6jR311lv4LSfXF1J+81z7h5b+AqYEhbbYoO39xB7JQ34+yjwA/ D/ULr8Z/2dnxOsCcP0FOSiZ1eOgqn19NBQZ/XamMfwjDwSIsukFc2vyMwDwdcTzOOVBt J8TqO8PYk3OWu8ykwwYCh3CJeA5mLNfiYywhoplAcIC/lR1Pb48GsZDYVyDU0WpkB+4m 9+k30koEjsvS1im0XTDYwcz0S1atUT39SoYd1lBNY92BF+aCwpgGgfd8K14LfzVHy24P FsTA== X-Gm-Message-State: APjAAAVLxQxr45KFFv8VQxdY36TyRxmGCdY51Sp92oGoYYAN944N5QBO xfnSDz28+zpxNNZA7Ad9+3xhOMex X-Received: by 2002:a6b:7311:: with SMTP id e17mr43085658ioh.112.1563421130902; Wed, 17 Jul 2019 20:38:50 -0700 (PDT) Received: from [10.230.24.186] ([192.19.224.250]) by smtp.gmail.com with ESMTPSA id m10sm43708928ioj.75.2019.07.17.20.38.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jul 2019 20:38:50 -0700 (PDT) Subject: Re: [PATCH] net: bcmgenet: use promisc for unsupported filters To: justinpopo6@gmail.com, netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, davem@davemloft.net, opendmb@gmail.com References: <1563400733-39451-1-git-send-email-justinpopo6@gmail.com> From: Florian Fainelli Openpgp: preference=signencrypt Message-ID: <5f6422b5-e839-1600-6749-048a7e31ea96@gmail.com> Date: Wed, 17 Jul 2019 20:38:47 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1563400733-39451-1-git-send-email-justinpopo6@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Thanks Justin! -- Florian