[PATCH 7/8] nvme-fabrics: add option to disallow T10-PI offload

Daniel Wagner dwagner at suse.de
Mon Jan 22 07:13:59 PST 2024


On Mon, Jan 22, 2024 at 04:56:58PM +0200, Max Gurtovoy wrote:
> --- a/drivers/nvme/host/fabrics.c
> +++ b/drivers/nvme/host/fabrics.c
> @@ -673,6 +673,9 @@ static const match_table_t opt_tokens = {
>  #endif
>  #ifdef CONFIG_NVME_TCP_TLS
>  	{ NVMF_OPT_TLS,			"tls"			},
> +#endif
> +#ifdef CONFIG_BLK_DEV_INTEGRITY
> +	{ NVMF_OPT_DISALLOW_PI,		"disallow_pi"		},

What about 'enable_pi' instead of the inverted boolean logic?



More information about the Linux-nvme mailing list