[ovs-dev] [v8 11/12] dpif-netdev/mfex: add more AVX512 traffic profiles
Flavio Leitner
fbl at sysclose.org
Sun Jul 11 00:45:41 UTC 2021
On Fri, Jul 09, 2021 at 05:36:01PM +0530, kumar Amber wrote:
> From: Harry van Haaren <harry.van.haaren at intel.com>
>
> This commit adds 3 new traffic profile implementations to the
> existing avx512 miniflow extract infrastructure. The profiles added are:
> - Ether()/IP()/TCP()
> - Ether()/Dot1Q()/IP()/UDP()
> - Ether()/Dot1Q()/IP()/TCP()
>
> The design of the avx512 code here is for scalability to add more
> traffic profiles, as well as enabling CPU ISA. Note that an implementation
> is primarily adding static const data, which the compiler then specializes
> away when the profile specific function is declared below.
>
> As a result, the code is relatively maintainable, and scalable for new
> traffic profiles as well as new ISA, and does not lower performance
> compared with manually written code for each profile/ISA.
>
> Note that confidence in the correctness of each implementation is
> achieved through autovalidation, unit tests with known packets, and
> fuzz tested packets.
>
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
> Acked-by: Eelco Chaudron <echaudro at redhat.com>
> ---
Acked-by: Flavio Leitner <fbl at sysclose.org>
More information about the dev
mailing list