All of lore.kernel.org
 help / color / mirror / Atom feed
* crc32c_intel vs libcrc32c
@ 2012-05-31 16:28 Peter Butler
  2012-05-31 17:23 ` Vlad Yasevich
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Butler @ 2012-05-31 16:28 UTC (permalink / raw)
  To: linux-sctp

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?



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

* Re: crc32c_intel vs libcrc32c
  2012-05-31 16:28 crc32c_intel vs libcrc32c Peter Butler
@ 2012-05-31 17:23 ` Vlad Yasevich
  0 siblings, 0 replies; 2+ messages in thread
From: Vlad Yasevich @ 2012-05-31 17:23 UTC (permalink / raw)
  To: linux-sctp

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


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

end of thread, other threads:[~2012-05-31 17:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-31 16:28 crc32c_intel vs libcrc32c Peter Butler
2012-05-31 17:23 ` Vlad Yasevich

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.