Thread (13 messages) flat view 13 messages, 2 authors, 2011-07-06

RE: [PATCH net-next 2/6] r8169: modify the flow hw reset

From: hayeswang <hidden>
Date: 2011-07-06 07:49:00
Also in: lkml

 
-----Original Message-----
From: Francois Romieu [mailto:romieu@fr.zoreil.com] 
Sent: Wednesday, July 06, 2011 2:55 AM
To: Hayeswang
Cc: netdev@vger.kernel.org; linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next 2/6] r8169: modify the flow hw reset
quoted
 
+static void rtl_rx_close(struct rtl8169_private *tp) {
+	void __iomem *ioaddr = tp->mmio_addr;
+	u32 rxcfg = RTL_R32(RxConfig);
+
+	rxcfg &= ~(AcceptBroadcast | AcceptMulticast |
+		   AcceptMyPhys | AcceptAllPhys);
+	RTL_W32(RxConfig, rxcfg);
+}
+
Should not error and runt packets be considered too ?

<shot in the dark>
Is there any relationship with commit 
ca52efd5490f97f396d3c5863ba714624f272033 ?
</shot in the dark>
No, there is no relationship about that.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help