]> www.infradead.org Git - users/hch/xfs.git/commit
net: xilinx: axienet: Always disable promiscuous mode
authorSean Anderson <sean.anderson@linux.dev>
Thu, 22 Aug 2024 15:40:55 +0000 (11:40 -0400)
committerJakub Kicinski <kuba@kernel.org>
Thu, 22 Aug 2024 20:03:56 +0000 (13:03 -0700)
commit4ae738dfef2c0323752ab81786e2d298c9939321
treec5c13df021cd823ee6a437ffb8584342af6aad11
parenta812a3f45cae787abe29567749a0acc879d2df37
net: xilinx: axienet: Always disable promiscuous mode

If promiscuous mode is disabled when there are fewer than four multicast
addresses, then it will not be reflected in the hardware. Fix this by
always clearing the promiscuous mode flag even when we program multicast
addresses.

Fixes: 8a3b7a252dca ("drivers/net/ethernet/xilinx: added Xilinx AXI Ethernet driver")
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240822154059.1066595-2-sean.anderson@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c