lkml.org 
[lkml]   [2022]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next v5 27/27] selftests/io_uring: test zerocopy send
From
On 7/27/22 09:01, dust.li wrote:

>> +static void do_test(int domain, int type, int protocol)
>> +{
>> + int i;
>> +
>> + for (i = 0; i < IP_MAXPACKET; i++)
>> + payload[i] = 'a' + (i % 26);
>> + do_tx(domain, type, protocol);
>> +}
>> +
>> +static void usage(const char *filepath)
>> +{
>> + error(1, 0, "Usage: %s [-f] [-n<N>] [-z0] [-s<payload size>] "
>> + "(-4|-6) [-t<time s>] -D<dst_ip> udp", filepath);
>
> A small flaw, the usage here doesn't match the real options in parse_opts().

Indeed. I'll adjust it, thanks!

--
Pavel Begunkov

\
 
 \ /
  Last update: 2022-07-27 11:20    [W:0.063 / U:1.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site