From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Abeni Subject: Re: [RFC PATCH v2 07/10] selftests: add GRO support to udp bench rx program Date: Mon, 22 Oct 2018 12:31:29 +0200 Message-ID: <56e1e76a019d37c0b5af9faab513ccc63cd201d4.camel@redhat.com> References: <883aae234bed25efdef98907507aa73b26054a38.1539957909.git.pabeni@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Network Development , Willem de Bruijn , steffen.klassert@secunet.com To: Willem de Bruijn Return-path: Received: from mx1.redhat.com ([209.132.183.28]:39686 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728442AbeJVSt3 (ORCPT ); Mon, 22 Oct 2018 14:49:29 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Sun, 2018-10-21 at 16:08 -0400, Willem de Bruijn wrote: > On Fri, Oct 19, 2018 at 10:31 AM Paolo Abeni 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 > > --- > > 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. Thanks, will do in next iteration. Paolo