public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Indrek Kruusa <indrek.kruusa@tuleriit.ee>
To: linux-kernel@vger.kernel.org, linux-net@vger.kernel.org
Subject: [QUESTION - FYI] Vectorized CRC calculation
Date: Tue, 18 Jan 2005 19:38:59 +0200	[thread overview]
Message-ID: <41ED49B3.1060200@tuleriit.ee> (raw)

Hi!
First, sorry about the so-so topic for the kernel developers...but still 
there are such things inside :)
Currently I am investigating how "they" divide those polynomials and 
which possibilities exists to use SIMD for such calculations. I have 
found several papers about how to do it with Altivec and my question is: 
does anybody knows about efforts to use Altivec for CRC calculations 
here? Topic itself is quite old...
Or is there just any other ongoing developments which implements for 
example permute/shuffle instructions (Altivec: vperm/SSE2: pshufd) for 
table lookups?

One more question: is there PCI/PCIe cards (eg. router) which implements 
Layer 3(-4) in hardware and which are possible to use as "hardware net 
accelerator"?

thanks,
Indrek


Links
-------

Most latest updated C code CRC calculation I have found
http://lxr.mozilla.org/seamonkey/source/modules/zlib/src/crc32.c


"TCP/IP checksum vectorization using AltiVec"
http://www.ibm.com/technology/power/newsletter/october2004/files/web.pdf

"Altivec extension to powerpc accelerates media processing" (includes 
hints for table lookup code)
http://ccrc.wustl.edu/~jefritts/CS525_SP03/readings/altivec.pdf


                 reply	other threads:[~2005-01-18 17:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=41ED49B3.1060200@tuleriit.ee \
    --to=indrek.kruusa@tuleriit.ee \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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