]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: hibmcge: fix incorrect multicast filtering issue
authorJijie Shao <shaojijie@huawei.com>
Thu, 10 Apr 2025 02:13:22 +0000 (10:13 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 12 Apr 2025 03:17:36 +0000 (20:17 -0700)
commit9afaaa54e3eb9b64fc07c06741897800e98ac253
tree0ead39208252002adde78a34f0da39b7029bae10
parent5b04080cd6028f0737bbbd0c5b462d226cff9052
net: hibmcge: fix incorrect multicast filtering issue

The driver does not support multicast filtering,
the mask must be set to 0xFFFFFFFF. Otherwise,
incorrect filtering occurs.

This patch fixes this problem.

Fixes: 37b367d60d0f ("net: hibmcge: Add unicast frame filter supported in this module")
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250410021327.590362-3-shaojijie@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.c
drivers/net/ethernet/hisilicon/hibmcge/hbg_reg.h