All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Pavel Begunkov <asml.silence@gmail.com>, io-uring@vger.kernel.org
Subject: Re: [PATCH liburing 3/4] examples/send-zc: optionally fill data with a pattern
Date: Fri, 2 May 2025 09:26:56 -0600	[thread overview]
Message-ID: <8e5b61c4-e23e-4d19-bc5c-eb473612c6ff@kernel.dk> (raw)
In-Reply-To: <bafcd4da1148fdff2890c6ee186bfb516f434a65.1746125619.git.asml.silence@gmail.com>

> @@ -582,12 +588,19 @@ static void parse_opts(int argc, char **argv)
>  		case 'R':
>  			cfg_rx = 1;
>  			break;
> +		case 'v':
> +			cfg_verify = true;
> +			break;
>  		case 'y':
>  			cfg_rx_poll = 1;
>  			break;
>  		}
>  	}
>  
> +	available_buffer_len = cfg_payload_len;
> +	if (cfg_verify)
> +		available_buffer_len += 26;
> +

This variable is nowhere to be found?

-- 
Jens Axboe

  reply	other threads:[~2025-05-02 15:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-01 18:56 [PATCH liburing 0/4] add more features to the zcrx benchmark Pavel Begunkov
2025-05-01 18:56 ` [PATCH liburing 1/4] examples/send-zc: warn about data reordering Pavel Begunkov
2025-05-01 18:56 ` [PATCH liburing 2/4] examples/send-zc: option to bind socket to device Pavel Begunkov
2025-05-01 18:56 ` [PATCH liburing 3/4] examples/send-zc: optionally fill data with a pattern Pavel Begunkov
2025-05-02 15:26   ` Jens Axboe [this message]
2025-05-02 15:58     ` Pavel Begunkov
2025-05-01 18:56 ` [PATCH liburing 4/4] examples/zcrx: be more verbose on verification failure Pavel Begunkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8e5b61c4-e23e-4d19-bc5c-eb473612c6ff@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=asml.silence@gmail.com \
    --cc=io-uring@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.