All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vlad Yasevich <vyasevich@gmail.com>
To: linux-sctp@vger.kernel.org
Subject: Re: crc32c_intel vs libcrc32c
Date: Thu, 31 May 2012 17:23:27 +0000	[thread overview]
Message-ID: <4FC7A90F.2000904@gmail.com> (raw)
In-Reply-To: <OF37C8B3DB.4464FF3A-ON85257A0F.005A2106-85257A0F.005A77CC@pt.com>

On 05/31/2012 12:28 PM, Peter Butler wrote:
> I have a system with SSE4.2 and thus hardware support for CRC32C
> calculations.  I can manually load the crc32c_intel module, however when I
> do an lsmod I see:
>
> [root@peterFC16 ~]# lsmod | grep -E 'crc|sctp'
> crc32c_intel           12770  0
> libcrc32c              12603  1 sctp
> sctp                  203671  2
>
> Does this mean that SCTP is not actually using the crc32c_intel module? If
> so, how do I remedy that?
>
>

What happens if you don't manually load crc32c_intel?  Does it still 
show up in lsmod output?

I think you are already using it.  libcrc32c doesn't do anything itself 
any more.  It's a wrapper that's calling the crypto api to compute the 
checksum.  Here it depends which crypto module it loads.  It could load 
crc32c_intel or it could load crc32c_generic.  If you see intel loaded, 
that's what you are using.  If you see _generic loaded, then that's 
what's available.

-vlad

> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


      reply	other threads:[~2012-05-31 17:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-31 16:28 crc32c_intel vs libcrc32c Peter Butler
2012-05-31 17:23 ` Vlad Yasevich [this message]

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=4FC7A90F.2000904@gmail.com \
    --to=vyasevich@gmail.com \
    --cc=linux-sctp@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 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.