netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND net] Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
@ 2023-11-21  8:09 Heiner Kallweit
  2023-11-22 12:20 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Heiner Kallweit @ 2023-11-21  8:09 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski, Eric Dumazet, Paolo Abeni,
	Realtek linux nic maintainers
  Cc: Patrick Thompson, netdev@vger.kernel.org

This reverts commit efa5f1311c4998e9e6317c52bc5ee93b3a0f36df.

I couldn't reproduce the reported issue. What I did, based on a pcap
packet log provided by the reporter:
- Used same chip version (RTL8168h)
- Set MAC address to the one used on the reporters system
- Replayed the EAPOL unicast packet that, according to the reporter,
  was filtered out by the mc filter.
The packet was properly received.

Therefore the root cause of the reported issue seems to be somewhere
else. Disabling mc filtering completely for the most common chip
version is a quite big hammer. Therefore revert the change and wait
for further analysis results from the reporter.

Cc: stable@vger.kernel.org
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/net/ethernet/realtek/r8169_main.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c
index b9bb1d2f0237..295366a85c63 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -2599,9 +2599,7 @@ static void rtl_set_rx_mode(struct net_device *dev)
 		rx_mode &= ~AcceptMulticast;
 	} else if (netdev_mc_count(dev) > MC_FILTER_LIMIT ||
 		   dev->flags & IFF_ALLMULTI ||
-		   tp->mac_version == RTL_GIGA_MAC_VER_35 ||
-		   tp->mac_version == RTL_GIGA_MAC_VER_46 ||
-		   tp->mac_version == RTL_GIGA_MAC_VER_48) {
+		   tp->mac_version == RTL_GIGA_MAC_VER_35) {
 		/* accept all multicasts */
 	} else if (netdev_mc_empty(dev)) {
 		rx_mode &= ~AcceptMulticast;
-- 
2.42.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH RESEND net] Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
  2023-11-21  8:09 [PATCH RESEND net] Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E" Heiner Kallweit
@ 2023-11-22 12:20 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-11-22 12:20 UTC (permalink / raw)
  To: Heiner Kallweit; +Cc: davem, kuba, edumazet, pabeni, nic_swsd, ptf, netdev

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:

On Tue, 21 Nov 2023 09:09:33 +0100 you wrote:
> This reverts commit efa5f1311c4998e9e6317c52bc5ee93b3a0f36df.
> 
> I couldn't reproduce the reported issue. What I did, based on a pcap
> packet log provided by the reporter:
> - Used same chip version (RTL8168h)
> - Set MAC address to the one used on the reporters system
> - Replayed the EAPOL unicast packet that, according to the reporter,
>   was filtered out by the mc filter.
> The packet was properly received.
> 
> [...]

Here is the summary with links:
  - [RESEND,net] Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
    https://git.kernel.org/netdev/net/c/6a26310273c3

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-22 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-21  8:09 [PATCH RESEND net] Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E" Heiner Kallweit
2023-11-22 12:20 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).