[Bug 263820] dwc: dwc driver is not able to receive packets after adding new MAC address

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 11 May 2022 14:43:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263820

--- Comment #2 from Jiahao LI <jiahali@blackberry.com> ---
(In reply to Mitchell Horne from comment #1)
Hi,

Thanks.

I have tried to put the second call of "dwc_setup_rxfilter()" at different
locations of the "dwc_init_locked()", such as right after the "dwc_init_dma()",
after the "if_setdrvflagbits()" and after the "callout_reset()". 

It is the placement at the end of dwc_init_locked() that makes the difference,
which will be equivalent to call the "ifconfig dwc0 IP" command after adding
new mac address. Then, I decompose the "dwc_setup_rxfilter()" into the
"dwc_setup_macaddr()".

My device is RockPro64 LPDDR4:4G.

-- 
You are receiving this mail because:
You are the assignee for the bug.