Documentation
¶
Overview ¶
Package hash wraps RTE hash libraries.
Please refer to DPDK Programmer's Guide for reference and caveats.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CrcSetAlg ¶
func CrcSetAlg(alg uint8)
CrcSetAlg allow or disallow use of SSE4.2 instrinsics for CRC32 hash calculation. Specify OR of declared Crc32* flags.
func NewCrcHash ¶
NewCrcHash creates new hash.Hash32 implemented on top of CrcUpdate. If complement is true then accumulator argument is complemented to 1 along with the output. This gives identical output as native Go crc32's implementation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.