linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PPC440GX GigE support
@ 2004-04-19 18:56 Matt Porter
  2004-04-26 11:28 ` Takeharu KATO
  2004-06-14  2:58 ` LarrZheng
  0 siblings, 2 replies; 5+ messages in thread
From: Matt Porter @ 2004-04-19 18:56 UTC (permalink / raw)
  To: linuxppc-embedded


I've pushed a bunch of code for this to the linux-2.5-ocp tree. It
overhauls the EMAC driver a bit and adds a number of fields to the
new OCP EMAC .additions field that are set per SoC or by the board
specific code.  There's support for GigE on EMAC2/3, the TAH,
zerocopy, and jumbo frames.

There's still work to be done on jumbo frames > 4062 MTU since
the RX side requires a copy. If we get some assumptions about
linear skbs in various protocol implementations removed, this can
be fixed. TSO support is the only major thing unimplemented.

Performance is right on par with an e1000 in the same platform,
showing anywhere from 700-850Mbps TX throughput depending on
MTU size and sendfile usage. RX range is slightly less.

Pull from bk://source.mvista.com/linux-2.5-ocp

Once the new OCP stuff goes into linux-2.5, I'll send some
version of this (plus previous EMAC driver work for 2.6) to
jgarzik.

-Matt

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: PPC440GX GigE support
@ 2004-05-13 11:43 Phil Thompson
  0 siblings, 0 replies; 5+ messages in thread
From: Phil Thompson @ 2004-05-13 11:43 UTC (permalink / raw)
  To: linuxppc-embedded


I'm having some problems with this on an Ocotea board (using the latest
source).

With the default Ocotea configuration everything works fine when booting
over both eth0 and eth3. If I then configure support for the SYM53C8XX_2
SCSI driver then everything continues to be fine for eth0, but with eth3 the
system times out trying to autoconfigure using BOOTP. Packets are being sent
Ok (irq 10 is raised and you see them on the wire), but they are not
received (irq 11 is never raised).

About 1 time in 10 the system will boot successfully.

I don't think the SCSI driver is particularly relevant - just that it is a
source of interrupts (irq 23) that occur after the MAL interrupts are
enabled and before the kernel tries to use the network to autoconfigure.

The implication is that there are problems in ppc4xx_pic.c in handling the
3rd UIC of the 440GX. There seems to be at least one bug in ppc4xx_uic_end()
in the first case statement - there is no "case 2:" clause and it looks as
if there should be - but it isn't the cause of the problem.

I'll continue digging, but I'd welcome any ideas from anybody with more
experience of interrupt handling on the 440GX.

Thanks,
Phil

> -----Original Message-----
> From: Matt Porter [mailto:mporter@kernel.crashing.org]
> Sent: 19 April 2004 19:57
> Subject: PPC440GX GigE support
>
> I've pushed a bunch of code for this to the linux-2.5-ocp tree. It
> overhauls the EMAC driver a bit and adds a number of fields to the
> new OCP EMAC .additions field that are set per SoC or by the board
> specific code. There's support for GigE on EMAC2/3, the TAH, zerocopy,
> and jumbo frames.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2004-06-14  2:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-19 18:56 PPC440GX GigE support Matt Porter
2004-04-26 11:28 ` Takeharu KATO
2004-05-03 18:36   ` Matt Porter
2004-06-14  2:58 ` LarrZheng
  -- strict thread matches above, loose matches on Subject: below --
2004-05-13 11:43 Phil Thompson

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).