Re: [PATCH] net: bcmgenet: use promisc for unsupported filters

From: David Miller
Date: Thu Jul 18 2019 - 14:46:41 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Wed, 17 Jul 2019 20:38:47 -0700

>
>
> On 7/17/2019 2:58 PM, justinpopo6@xxxxxxxxx wrote:
>> From: Justin Chen <justinpopo6@xxxxxxxxx>
>>
>> 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 <justinpopo6@xxxxxxxxx>
>
> Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Applied and queued up for -stable.