> -----Original Message-----
> From: Amber, Kumar <[email protected]>
> Sent: Tuesday 31 May 2022 15:01
> To: [email protected]
> Cc: [email protected]; [email protected]; Ferriter, Cian
> <[email protected]>; Stokes, Ian
> <[email protected]>; [email protected]; [email protected]; Van
> Haaren, Harry
> <[email protected]>; Amber, Kumar <[email protected]>
> Subject: [PATCH v10 3/4] dpif-netdev/mfex: Add AVX512 ipv6 traffic profiles
>
> Add AVX512 Ipv6 optimized profile for vlan/IPv6/UDP and
> vlan/IPv6/TCP, IPv6/UDP and IPv6/TCP.
>
> MFEX autovalidaton test-case already has the IPv6 support for
> validating against the scalar mfex.
>
> Signed-off-by: Kumar Amber <[email protected]>
> Signed-off-by: Harry van Haaren <[email protected]>
> Co-authored-by: Harry van Haaren <[email protected]>
>
> ---
> v10:
> - Rebase on top of Partial Avx512 changes patch.
Thanks for rebasing on top of my AVX512 build changes and following the same
patterns with your changes here Amber, from a code review it all looks good.
I also tested with GCC 4.8, 4.9, 5 and 9. They are all working as expected with
the respective configure outputs, config.h content and actual AVX512
implementations correctly working.
> v9:
> - Fix Ubscan memory alinged access.
<snip lots of the diff>
> +
> +/* IPv6 Protocol specific helper functions, for handling L4 UDP/TCP. */
> +static inline void
> +mfex_handle_ipv6_l4(const uint8_t *ports, uint64_t *block)
> +{
> + memcpy(block, ports, sizeof(uint32_t));
> +}
> +
ACK the new memcpy approach to be UB safe, looking at the ASM before and
afterwards, it looks the same to me. Nice
<snip the rest of the diff>
Acked-by: Cian Ferriter <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev