Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp723653ybz; Fri, 24 Apr 2020 08:13:53 -0700 (PDT) X-Google-Smtp-Source: APiQypLJwpsUS59Mn0TnLHXLDm2rRt4MJCtKkvoaMLnKqS2CLQ3r2Wtniw9epU/oOMox4ksCPW1B X-Received: by 2002:a50:9dc4:: with SMTP id l4mr7910655edk.234.1587741233279; Fri, 24 Apr 2020 08:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587741233; cv=none; d=google.com; s=arc-20160816; b=UJxOfdbg66EbRkMNOkkbLYOER/9IXntBiRfueCJn7876+yUfCZmlSatgRE4HO+6FvH 6p9jghBpUz8dQiZK+78f0KtPAoAAA+REUwlEoDFfc0GPcyHT8mHjc3zzi+MOcTHH+bXj 9VeDbE4HuTTxBqVrzNKEi0miJFfln34dvc/Ywb8IrR/P95qYKqQ4nSLAdGb+WZNrqm0C 9fhDbLHgwzyy9LzpupnZDZfwzCQC+whuuVO9VkWgrjU4fZMhnVPnhYDVN8126a++BDFz 4TJ1KdtBeEGAIPphuvy8E0YfcgSR3UpcShQ+/h7f3rc5PjhQsgiLHXKe78yqX4Ix8FDl Pf0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=EMksSaDH8670iEvnA5Y1P4HTa+jF9hwKvu0XQey4YNo=; b=ph+NxltbzfO7oqkvlkpBKYE9cXmoWDlWwtsDmgNHNtmUVDXoYkza+oarRWpakz6Hz5 koTM4IBfprIRhgJUwD5LvjMkT8vTW0E68zmQk6W6d6SsTGdfQkml2HHH9ltZI/Uz/64B I3IQo15fj3oWNZomDrp4kMNdoZs3Mui7BdXOf7gLUbl3KFJWpJ2mDOoglIcB8k839ym8 XOU8vHD61f3AvAcB22rttRpWq+rXBOrpzIyJQ2SBeTc5UvlqJer6xRt31GogK79bJjaA 6hz30LH+bql2pPA+QJBP6SsXgInD0iwYrNq5pGjHERbacYweS+MpcPf18SyCe3Lh8Glj nBAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u9si3305353ejr.55.2020.04.24.08.13.14; Fri, 24 Apr 2020 08:13:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726872AbgDXPLL (ORCPT + 99 others); Fri, 24 Apr 2020 11:11:11 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:45734 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726698AbgDXPLK (ORCPT ); Fri, 24 Apr 2020 11:11:10 -0400 Received: from gwarestrin.me.apana.org.au ([192.168.0.7] helo=gwarestrin.arnor.me.apana.org.au) by fornost.hmeau.com with smtp (Exim 4.89 #2 (Debian)) id 1jRzyV-0002yF-EN; Sat, 25 Apr 2020 01:10:44 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Sat, 25 Apr 2020 01:10:51 +1000 Date: Sat, 25 Apr 2020 01:10:51 +1000 From: Herbert Xu To: Iuliana Prodan Cc: Baolin Wang , Ard Biesheuvel , Corentin Labbe , Horia Geanta , Maxime Coquelin , Alexandre Torgue , Maxime Ripard , Aymen Sghaier , "David S. Miller" , Silvano Di Ninno , Franck Lenormand , "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH v5 2/3] crypto: engine - support for parallel requests based on retry mechanism Message-ID: <20200424151051.GA26494@gondor.apana.org.au> References: <1586982375-18710-1-git-send-email-iuliana.prodan@nxp.com> <1586982375-18710-3-git-send-email-iuliana.prodan@nxp.com> <20200423114640.GA14399@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Apr 24, 2020 at 02:34:57PM +0000, Iuliana Prodan wrote: > > Do you refer to the error codes returned by do_one_request (which sends > the req to hw for execution)? > > If this returns: > 1. 0, success; > 2. -ENOSPC, I'll requeue it regardless of MAY_BACKLOG; > 3. any other error (-EIO, -EINVAL, -ENOMEM, etc), I'll requeue only > MAY_BACKLOG requests. Yes that sounds perfect. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt