* Bridge, promiscous mode andCPM2
@ 2004-10-08 9:28 alebas
0 siblings, 0 replies; 5+ messages in thread
From: alebas @ 2004-10-08 9:28 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
I would need confirmation on this.
As long as I have seen, bridge's stuff in kernel sets promiscous mode by using
dev_set_promiscuity, which arrives in the execution of fcc_enet's
set_multicast_list.
But this function is not developed, so the promiscous mode is never set in the
FCC Ethernet Mode Register.
Am I right? By now, I only needs the promiscous mode, so, could it be a solution
to implement only this functionality in the set_multicast_list function? Do I
need to consider anything else?
Best regards
Alexandre Bastos
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Bridge, promiscous mode andCPM2
@ 2004-10-08 14:02 Rune Torgersen
2004-10-08 15:39 ` Dan Malek
0 siblings, 1 reply; 5+ messages in thread
From: Rune Torgersen @ 2004-10-08 14:02 UTC (permalink / raw)
To: alebas; +Cc: linuxppc-embedded
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bridge, promiscous mode andCPM2
2004-10-08 14:02 Rune Torgersen
@ 2004-10-08 15:39 ` Dan Malek
0 siblings, 0 replies; 5+ messages in thread
From: Dan Malek @ 2004-10-08 15:39 UTC (permalink / raw)
To: Rune Torgersen; +Cc: linuxppc-embedded, alebas
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* bridge, promiscous mode andcpm2
@ 2004-10-13 7:46 Bastos Fernandez Alexandre
0 siblings, 0 replies; 5+ messages in thread
From: Bastos Fernandez Alexandre @ 2004-10-13 7:46 UTC (permalink / raw)
To: 'linuxppc-embedded@ozlabs.org'
Thanks (After some days of holydays).
Now, promiscous mode works fine, so board is bridging ok.
Best regards,
Alex
-----Original Message-----
From: Rune Torgersen [SMTP:runet@innovsys.com]
Sent: Friday, October 08, 2004 4:02 PM
To: alebas@televes.com
Cc: linuxppc-embedded@ozlabs.org
Subject: RE: Bridge, promiscous mode andCPM2
Hi
Assuming CPM2 => 82xx or 85xx CPU.
In the old 8260_io/fcc_enet.c the set_multicast_list
function is present, bu has an early return nine lines
in. If you delete that return, promiscous mode works great.
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Bridge, promiscous mode andCPM2
@ 2004-10-13 7:54 Bastos Fernandez Alexandre
0 siblings, 0 replies; 5+ messages in thread
From: Bastos Fernandez Alexandre @ 2004-10-13 7:54 UTC (permalink / raw)
To: 'Dan Malek'; +Cc: 'linuxppc-embedded@ozlabs.org'
So,
Is this patch available? Will it be available soon or applied to any ppc
kernel tree?
This is in my to-do list for the near future, so it would be very helpful if
this were already done.
Best regards,
Alex
> -----Original Message-----
> From: Dan Malek [SMTP:dan@embeddededge.com]
> Sent: Friday, October 08, 2004 5:40 PM
> To: Rune Torgersen
> Cc: alebas@televes.com; linuxppc-embedded@ozlabs.org
> Subject: Re: Bridge, promiscous mode andCPM2
>
>
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-10-13 7:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-13 7:46 bridge, promiscous mode andcpm2 Bastos Fernandez Alexandre
-- strict thread matches above, loose matches on Subject: below --
2004-10-13 7:54 Bridge, promiscous mode andCPM2 Bastos Fernandez Alexandre
2004-10-08 14:02 Rune Torgersen
2004-10-08 15:39 ` Dan Malek
2004-10-08 9:28 alebas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.