[PATCH blktests v5 5/5] nvme/055: add test for nvme-tcp zero-copy offload

John Garry john.g.garry at oracle.com
Wed Jan 28 07:28:43 PST 2026


On 06/12/2024 13:51, Aurelien Aptel wrote:
> +++ b/tests/nvme/055
> @@ -0,0 +1,268 @@
> +#!/bin/bash
> +# SPDX-License-Identifier: GPL-3.0+
> +# Copyright (C) 2024 Aurelien Aptel<aaptel at nvidia.com>
> +#
> +# zero-copy offload
> +
> +. tests/nvme/rc
> +
> +DESCRIPTION="enable zero copy offload and run rw traffic"
> +TIMED=1
> +
> +iface_idx=""
> +
> +# these vars get updated after each call to connect_run_disconnect()
> +nb_packets=0
> +nb_bytes=0
> +nb_offload_packets=0
> +nb_offload_bytes=0
> +offload_bytes_ratio=0
> +offload_packets_ratio=0
> +
> +requires() {
> +	_nvme_requires
> +	_require_remote_nvme_target
> +	_require_nvme_trtype tcp
> +	_have_kernel_option ULP_DDP

I notice that this kernel config option is still not included in 
mainline, over 1 year later.

It is strange to me to merge tests for features which are yet to be 
accepted.



More information about the Linux-nvme mailing list