[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: D-Link DFE580-TX (ste*) woes
- To: tech_(_at_)_OpenBSD_(_dot_)_org
- Subject: Re: D-Link DFE580-TX (ste*) woes
- From: "Arvid Grøtting" <arvidg_(_at_)_netfonds_(_dot_)_no>
- Date: Wed, 19 Jun 2002 16:33:31 +0200
- Cancel-lock: sha1:T6DaQww/mq/mN9OhnHFO5QiIavI=
- Mail-copies-to: never
- Newsgroups: gmane.os.openbsd.tech
- Organization: No such thing.
FWFW, I seem to have (finally) gotten the DFE580-TX to work better
(when it comes to multicast reception) by applying the following (very
ugly) patch (against 3.1-RELEASE, as it happens):
--- sys/dev/pci/if_ste.c~ Wed Jun 19 15:43:59 2002
+++ sys/dev/pci/if_ste.c Wed Jun 19 15:43:59 2002
@@ -531,6 +531,7 @@
if (ifp->if_flags & IFF_ALLMULTI || ifp->if_flags & IFF_PROMISC) {
STE_SETBIT1(sc, STE_RX_MODE, STE_RXMODE_ALLMULTI);
STE_CLRBIT1(sc, STE_RX_MODE, STE_RXMODE_MULTIHASH);
+ STE_CLRBIT1(sc, STE_RX_MODE, STE_RXMODE_ALLIPMULTI);
return;
}
@@ -553,6 +554,7 @@
CSR_WRITE_4(sc, STE_MAR1, hashes[1]);
STE_CLRBIT1(sc, STE_RX_MODE, STE_RXMODE_ALLMULTI);
STE_SETBIT1(sc, STE_RX_MODE, STE_RXMODE_MULTIHASH);
+ STE_SETBIT1(sc, STE_RX_MODE, STE_RXMODE_ALLIPMULTI);
return;
}
This patch does NOT AT ALL, I think, Do The Right Thing[tm]. It does,
however, make things Work For Me[tm], which is better than nothing.
I'd welcome suggestions on how to improve the code -- the patch above
should make the kernel always receive all IP multicast packets
regardless of the number of actual multicast listeners, which is *not*
a good idea if there's a lot of multicast flowing around your network.
(On my network, the only multicast is OSPF, and I definitely want to
receive that.)
Any reports about the multicast filter working (or not) with the
DFE-550TX?
--
Arvid
Visit your host, monkey.org