RE: Bridge, promiscous mode andCPM2

2 messages, 2 authors, 2004-10-08 · open the first message on its own page

RE: Bridge, promiscous mode andCPM2

From: Rune Torgersen <hidden>
Date: 2004-10-08 14:14:26

Hi

Assuming CPM2 =3D> 82xx or 85xx CPU.

In the old 8260_io/fcc_enet.c	the set_multicast_list=20
function is present, bu has an early return nine lines=20
in. If you delete that return, promiscous mode works great.

I have no idea who or why that early return was put in,=20
but it does disable multicast and promiscous mode=20
on the FCC ethernets.
-----Original Message-----
From: linuxppc-embedded-bounces@ozlabs.org=20
[mailto:linuxppc-embedded-bounces@ozlabs.org] On Behalf Of=20
alebas@televes.com
Sent: Friday, October 08, 2004 04:29
To: linuxppc-embedded@ozlabs.org
Subject: Bridge, promiscous mode andCPM2
=20
=20
=20
Hi,
=20
I would need confirmation on this.
=20
As long as I have seen, bridge's stuff in kernel sets=20
promiscous mode by using dev_set_promiscuity, which arrives=20
in the execution of fcc_enet's set_multicast_list.
=20
But this function is not developed, so the promiscous mode is=20
never set in the FCC Ethernet Mode Register.
=20
Am I right? By now, I only needs the promiscous mode, so,=20
could it be a solution to implement only this functionality=20
in the set_multicast_list function? Do I need to consider=20
anything else?
=20
Best regards
=20
Alexandre Bastos _______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org=20
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
=20
=20

Re: Bridge, promiscous mode andCPM2

From: Dan Malek <hidden>
Date: 2004-10-08 15:38:57

On Oct 8, 2004, at 10:02 AM, Rune Torgersen wrote:
Assuming CPM2 => 82xx or 85xx CPU.
Yes.
I have no idea who or why that early return was put in,
but it does disable multicast and promiscous mode
on the FCC ethernets.
Because I never wrote (or lifted from somewhere else)
the function to run the CRC generator for creating the
multicast filters (the CPM1 on 8xx has hardware support
for this).  I left the function there as a  place holder to get
promiscuous mode, and someone did finish that function.
It should be in one of the several kernel source trees......
If not, I'll try to find the patch and do it again.


	-- Dan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help