[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF=yD-+A-mKhK-SCEzgQpfNkZNKprxaR_tprD_YswgYrQmtGhw@mail.gmail.com>
Date: Sun, 21 Oct 2018 16:08:40 -0400
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: Paolo Abeni <pabeni@...hat.com>
Cc: Network Development <netdev@...r.kernel.org>,
Willem de Bruijn <willemb@...gle.com>,
steffen.klassert@...unet.com
Subject: Re: [RFC PATCH v2 07/10] selftests: add GRO support to udp bench rx program
On Fri, Oct 19, 2018 at 10:31 AM Paolo Abeni <pabeni@...hat.com> wrote:
>
> And fix a couple of buglets (port option processing,
> clean termination on SIGINT). This is preparatory work
> for GRO tests.
>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
> ---
> tools/testing/selftests/net/udpgso_bench_rx.c | 37 +++++++++++++++----
> 1 file changed, 30 insertions(+), 7 deletions(-)
>
> diff --git a/tools/testing/selftests/net/udpgso_bench_rx.c b/tools/testing/selftests/net/udpgso_bench_rx.c
> @@ -167,10 +177,10 @@ static void do_verify_udp(const char *data, int len)
> /* Flush all outstanding datagrams. Verify first few bytes of each. */
> static void do_flush_udp(int fd)
> {
> - static char rbuf[ETH_DATA_LEN];
> + static char rbuf[65535];
we can use ETH_MAX_MTU.
Powered by blists - more mailing lists