Re: [PATCH net 6/7] net: hibmcge: fix not restore rx pause mac addr after reset issue

Simon Horman
2025-04-02T19:07:08Z

On Wed, Apr 02, 2025 at 09:39:04PM +0800, Jijie Shao wrote:
> In normal cases, the driver must ensure that the value
> of rx pause mac addr is the same as the MAC address of
> the network port. This ensures that the driver can
> receive pause frames whose destination address is
> the MAC address of the network port.
>
> Currently, the rx pause addr does not restored after reset.
>
> The index of the MAC address of the host is always 0.
> Therefore, this patch sets rx pause addr to
> the MAC address with index 0.
>
> Fixes: 3f5a61f6d504 ("net: hibmcge: Add reset supported in this module")
> Signed-off-by: Jijie Shao <shaojijie@huawei.com>

Reviewed-by: Simon Horman <horms@kernel.org>