Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2547998pxt; Mon, 9 Aug 2021 03:18:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/oq/6B0ObTWzWNoA2vhLPVkj/zJRJAw81nglyU0KN0EeeV2C7WLi5RIF/fM4fp1TKcGPa X-Received: by 2002:a17:906:9bf1:: with SMTP id de49mr22129060ejc.480.1628504333337; Mon, 09 Aug 2021 03:18:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628504333; cv=none; d=google.com; s=arc-20160816; b=Zcp4xjchFd2u+rjT8FuTtrGYB3LyfJr0MjAZKPFJtJNbYTXcue2r2a3ORmnp3RURco rBgvHGYTVDjkH4pmcJtAdoT4nUyIz1kAzjvatQT45rQN9kjG5E6llKmESL5WjUw6vC0z fJjGI38+ofZTnorX7ImnKvS4JWr82GqK6Ij+IJwZnJlv6aw6ys0Hujx/BYMXJnKZVzty z1dCr8vp7dq2GS80U78t43NflIv8c4icH02JOire1eusTpU9Z0JhM/apUW1m9dTT4mUG 79q86ZykK2LdcmUeR7tCE7Lfu4/mMGkIlNC9LXrnd6xbN/ZIST1ftpt71fk44hYXWGzz TDAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=qoQMlqTicS0HtimnKTTbCDkN5674ozjQ0AoY71P8px0=; b=TIi0+WlEAjau40KDP+TysR9FfTu1I99bipsB9QFq5EqwDBSV/Kacji4IxKaxxyee24 y4c8mohodexfidp03RRL2fp4IwvRzhBNdD3PJdIObfFLaiyhwt3+xiqOnoYmmhiINjXK lCO+GUtt4V2/3q+bkK1FLtnJGYFbcpf51Uc4j76Y8/cAlb8N81wKyIKHxjFMjBawubAt huifj6WtZrHz4cc02VljAQP2xtLLaW1FLewL+L92NOsKZMJD5BkFjja7UP6O+5ivXYNR y4uHY17nYXGp0Xb/eMCxTT1iGs9HTMsIchqD5/SCPrLCBQSa/HHYw6R5GAfTuoHtlIwH wbMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=YO1Vd1BF; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="Y0kK/8oH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 24si19319738edv.331.2021.08.09.03.18.30; Mon, 09 Aug 2021 03:18:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=YO1Vd1BF; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="Y0kK/8oH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234209AbhHIJKL (ORCPT + 99 others); Mon, 9 Aug 2021 05:10:11 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:41694 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234191AbhHIJKJ (ORCPT ); Mon, 9 Aug 2021 05:10:09 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 95AC621F44; Mon, 9 Aug 2021 09:09:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1628500187; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qoQMlqTicS0HtimnKTTbCDkN5674ozjQ0AoY71P8px0=; b=YO1Vd1BF59SZJsXEP03mFbkDMzLgDLCuLDrBJwug4jMtdOKccpi1RcpsydKPbhTg9RXf6s UiSoaisfiNLLmWrcml0Ule+E3n2nSnj9gRDDcGfa/oeDW8N38aAiAEox3gFIv7qlXrSdEa yfLEyVdVG/lXo13re9arw/Hb1q1Yjng= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1628500187; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qoQMlqTicS0HtimnKTTbCDkN5674ozjQ0AoY71P8px0=; b=Y0kK/8oHEapwTCj0LNczmKG5p33oMgaTxfbDwlqKYdCLGoN8EX2nu0wgQoGOzzmu/3VPRq czyeTZZL3hXQ28Bg== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 85D33132AB; Mon, 9 Aug 2021 09:09:47 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id wPliINvwEGFTLgAAGKfGzw (envelope-from ); Mon, 09 Aug 2021 09:09:47 +0000 Date: Mon, 9 Aug 2021 11:09:47 +0200 From: Daniel Wagner To: Sagi Grimberg Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Hannes Reinecke , yi.he@emc.com Subject: Re: [PATCH] nvme-tcp: Do not reset transport on data digest errors Message-ID: <20210809090947.luoqaooi7gc6u6yu@carbon> References: <20210805121541.77613-1-dwagner@suse.de> <47ef76c6-4430-ca24-405e-a226d4303a39@grimberg.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47ef76c6-4430-ca24-405e-a226d4303a39@grimberg.me> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sagi, On Fri, Aug 06, 2021 at 12:42:00PM -0700, Sagi Grimberg wrote: > > @@ -89,6 +89,7 @@ struct nvme_tcp_queue { > > size_t data_remaining; > > size_t ddgst_remaining; > > unsigned int nr_cqe; > > + u16 status; > > Why is this a queue member and not a request member? I was not sure if the TCP transport specific error handling should impact all other transport (size of struct request). Also I tried to avoid accessing cachelines which are not already in use. Except this I don't see there should be no problem to put this to struct request. Daniel