From: Pantelis Antoniou <panto@intracom•gr>
To: joakim.tjernlund@lumentis•se
Cc: linuxppc-embedded@lists•linuxppc.org
Subject: Re: QMC driver for 860?
Date: Mon, 02 Dec 2002 17:21:44 +0200 [thread overview]
Message-ID: <3DEB7A88.1030205@intracom.gr> (raw)
In-Reply-To: <IGEFJKJNHJDCBKALBJLLEEHBFIAA.joakim.tjernlund@lumentis.se>
Joakim Tjernlund wrote:
>>OK
>>
>>You asked for it ;).
>>
>>The file netvia_tsa.c is the actual QMC + stuff driver.
>>The file netvia_bri.c is an example driver.
>>The header files are the QMC definitions.
>>
>>Linux kernel version is 2.4.20.
>>
>>Don't hesitate to ask for any explanations.
>>
>>Pantelis
>>
>>
>
>Thanks a lot!
>
>I have just browsed the driver and I noticed that there is room for performance
>improvements in netvia_tsa.c w.r.t memcpy(). You can avoid the memcpy() call
>for received packets by using invalidate_dcache_range(). I did this for
>the 8xx_io/enet.c driver a few weeks ago(it's not in BK yet).
>
>See http://lists.linuxppc.org/linuxppc-embedded/200210/msg00317.html
>and
>http://lists.linuxppc.org/linuxppc-embedded/200210/msg00272.html
>
> Jocke
>
>
>
>
>
Yes, I know the trick. I'm looking forward to see your changes
make it in. As it stands I'm not tracking the BK PPC tree, but
the Linus tree. Being behind the company firewall, BK is not
very useful.
In this driver case since I'm reading the packet in a non-cachable
area, and not directly in a skb, I'm not convinced that
the invalidate_dcache_range will be a great win.
If you do any performance testing I'm very interested in
your results.
Pantelis
P.S. Is there anyone in the list interested in this?
Should I clean it up, and submit it?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-12-02 15:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3DEB676E.7090507@intracom.gr>
2002-12-02 15:09 ` QMC driver for 860? Joakim Tjernlund
2002-12-02 15:21 ` Pantelis Antoniou [this message]
2002-12-02 17:11 ` Joakim Tjernlund
2002-12-03 8:59 ` [linuxppc-embedded:] " Reinhard Schwillinsky
2002-12-03 9:26 ` Pantelis Antoniou
2002-11-26 8:23 PPC RTC on I2C leeyang
2002-12-02 10:38 ` QMC driver for 860? Joakim Tjernlund
2002-12-02 12:41 ` Pantelis Antoniou
2002-12-02 13:18 ` Joakim Tjernlund
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DEB7A88.1030205@intracom.gr \
--to=panto@intracom$(echo .)gr \
--cc=joakim.tjernlund@lumentis$(echo .)se \
--cc=linuxppc-embedded@lists$(echo .)linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox