[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iKWCBOJEk5HVmC8xpnMxjyBYqNauEc0bBBrTBVutHRwYw@mail.gmail.com>
Date: Tue, 21 Mar 2023 19:55:27 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: Coco Li <lixiaoyan@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
David Ahern <dsahern@...nel.org>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Shuah Khan <shuah@...nel.org>,
Pavel Begunkov <asml.silence@...il.com>,
Shakeel Butt <shakeelb@...gle.com>,
Oliver Hartkopp <socketcan@...tkopp.net>,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/2] selftests/net: Add SHA256 computation over
data sent in tcp_mmap
On Tue, Mar 21, 2023 at 1:12 AM Coco Li <lixiaoyan@...gle.com> wrote:
>
> From: Xiaoyan Li <lixiaoyan@...gle.com>
>
> Add option to compute and send SHA256 over data sent (-i).
>
> This is to ensure the correctness of data received.
> Data is randomly populated from /dev/urandom.
>
> Tested:
> ./tcp_mmap -s -z -i
> ./tcp_mmap -z -H $ADDR -i
> SHA256 is correct
>
> ./tcp_mmap -s -i
> ./tcp_mmap -H $ADDR -i
> SHA256 is correct
>
> Signed-off-by: Coco Li <lixiaoyan@...gle.com>
>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists