Re: [PATCH net 3/3] net: bcmgenet: restore HFB filters on resume

2020-07-17 Thread Florian Fainelli
On 7/16/2020 4:38 PM, Doug Berger wrote: > The Hardware Filter Block RAM may not be preserved when the GENET > block is reset during a deep sleep, so it is not sufficient to > only backup and restore the enables. > > This commit clears out the HFB block and reprograms the rxnfc > rules when the

[PATCH net 3/3] net: bcmgenet: restore HFB filters on resume

2020-07-16 Thread Doug Berger
The Hardware Filter Block RAM may not be preserved when the GENET block is reset during a deep sleep, so it is not sufficient to only backup and restore the enables. This commit clears out the HFB block and reprograms the rxnfc rules when the system resumes from a suspended state. To support this