[PATCH] test: add larger input len test for CRC16-CCITT

Stephen Hemminger stephen at networkplumber.org
Mon Jun 15 23:31:09 CEST 2026


On Fri, 12 Jun 2026 08:07:45 +0530
Shreesh Adiga <16567adigashreesh at gmail.com> wrote:

> CRC16-CCITT test only covered len 32, 12, and 2 which meant that
> code paths like 4x SSE4.2 loop and AVX512 code paths which operated
> on larger lens like >255 never got covered.
> 
> This patch adds a 348 len input test for CRC16-CCITT similar to
> CRC32 test which covers the additional paths in SSE4.2 and AVX512
> implementations, therefore improving the test coverage.
> 
> Signed-off-by: Shreesh Adiga <16567adigashreesh at gmail.com>
> ---

Looks good applied to net-next


More information about the dev mailing list