2017-03-30 17:15, Jasvinder Singh:
> +/**
> + * CRC compute API
> + *
> + * @param data
> + * Pointer to the packet data for CRC computation
> + * @param data_len
> + * Data length for CRC computation
> + * @param type
> + * CRC type (enum rte_net_crc_type)
> + *
> + * @return
> + * CRC val
APIs for selecting the architecure specific implementation and computing
the crc (16-bit and 32-bit CRCs) are added. For CRCs calculation, scalar
as well as x86 intrinsic(sse4.2) versions are implemented.
The scalar version is based on generic Look-Up Table(LUT) algorithm,
while x86 intrinsic vers
2 matches
Mail list logo