On 1/12/26 12:21 PM, Eelco Chaudron wrote:
> Real Ethernet devices require padding bytes to meet the minimum
> 64-byte frame size. This change allows the test to pass by allowing
> include zero or more padding bytes at the end of the packet.
> 
> Acked-by: Eli Britstein <elibr.nvidia.com>
> Signed-off-by: Eelco Chaudron <[email protected]>
> ---
>  tests/system-traffic.at | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/system-traffic.at b/tests/system-traffic.at
> index 58a46af0a..c7f082fb1 100644
> --- a/tests/system-traffic.at
> +++ b/tests/system-traffic.at
> @@ -9893,7 +9893,7 @@ NS_CHECK_EXEC([at_ns0], [$PYTHON3 $srcdir/sendpkt.py p0 
> \
>  
>  dnl Check the expected de-capsulated TCP packet on the egress interface
>  OVS_WAIT_UNTIL([ovs-pcap p1.pcap | grep -q \
> -    "^$(ovs-ofctl compose-packet --bare 'TCP_SYN_PKT')\$"])
> +    "^$(ovs-ofctl compose-packet --bare 'TCP_SYN_PKT')0*\$"])

Will it help if we provide --len 64 to the compose?
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to