[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sctp
Subject:    Re: crc32c_intel vs libcrc32c
From:       Vlad Yasevich <vyasevich () gmail ! com>
Date:       2012-05-31 17:23:27
Message-ID: 4FC7A90F.2000904 () gmail ! com
[Download RAW message or body]

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

--
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic