Vector optimized IP checksum

Mattias Rönnblom hofors at lysator.liu.se
Thu Jun 16 15:46:28 CEST 2022


On 2022-06-16 09:07, Morten Brørup wrote:
> Hi Jasvinder,
> 
> As the Packet CRC maintainer, have you considered adding vector 
> optimized variants of the rte_raw_cksum() function?
> 

The current implementation is vectorized by the compiler.

In my experience, hand-crafting it using SIMD intrinsics doesn't improve 
the performance enough to warrant the trouble.

> It might benefit some of the software PMDs, such as tap and virtio.
> 
> Med venlig hilsen / Kind regards,
> 
> -Morten Brørup
> 


More information about the dev mailing list