On 15/12/2025 13:57, David Marchand via dev wrote:
> Let's enhance our coverage further in a way similar to
> commit 585c8088eb23 ("dpif-netdev: Enhance checksum coverage.").
>
> Add more knobs in the netdev-dummy driver for faking outer checksums
> support and force incorrect packet with all combinations of possible
> Rx flags.
>
> On the unit tests side, IPv4 and IPv6 vxlan tunnels are tested for
> encapsulating ARP, IP, IP/TCP, IP/UDP, IP6/NDP, IP6/TCP and IP6/UDP
> traffic.
>
> Signed-off-by: David Marchand <[email protected]>
> ---
> Changes since v2:
> - dropped dependency on scapy, packets are stored as fixed strings
> but scapy commands is left in comments,
> - factorised no csum / csum tests,
> - added coverage for inner IPv6 udp without checksum +
> outer IPv6 udp with checksum,
>
> ---
> lib/netdev-dummy.c | 83 ++-
> tests/dpif-netdev.at | 1694 ++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 1775 insertions(+), 2 deletions(-)
Acked-by: Kevin Traynor <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev