Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10114974rwr; Fri, 12 May 2023 04:09:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5WWGKeUaMwkNXdO2k/UVF9vpu6RMdw53S1kuAABmliGRhzQKOIfCQTAl1PvFgQabGYB1Tf X-Received: by 2002:a05:6a20:144b:b0:100:d95f:122d with SMTP id a11-20020a056a20144b00b00100d95f122dmr20917320pzi.29.1683889778264; Fri, 12 May 2023 04:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683889778; cv=none; d=google.com; s=arc-20160816; b=h08YSGPIiZKVJ4+MCMq1oYnVsBpLmLyg0FZGsSDsiKdM8hnaRT6PpcRz8FWLws74f+ Fz4fhmTa08T4PUVlJR0/rYyOu0CNoKJPSkn1K4aMZ0EM9jlxLPMHvI6JIhSEnR5M8pGV q/dEZlzDzqcntyIE+0ah97FD2XX9y15G9Ml68y7uigLuThaEastOUvAjfULNpeNN+D8n QvlKC7hpULXM96kzi/9PIevMbyMXi8GIJnJ/bh+7ZtmgTpDJe06Ovy/OIwRdHV5njfup E+kAQfSKohX+Rj7CiinSdPpXX0UzCMh1noGZDQzbeyl5cvWCsfwKyF1BFtk+Gm184xnp 3Prg== 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; bh=txSxWuYNImrnmXIzstK7voX1RpgaPYTwr1PzVg1uquI=; b=Sp3SsTGeRSg0pv89K8JibDwt1RcFj3GXoocL7NXRuC2B5uOAryypCI/seggfeG2hCh 5AhBJJN0PwNELVVzNdaEhNjrL1L1jPtxziqKWLu/uAI+3LtEc8GP+wyL/M+jK44YQ172 Y00/bun5UhYJYnofWUUIiPQR7Yvom00tjD6ut9+1rUsnKAfgg3yuEhpIh8obRaMud9Pt 1RUAY50f3mSwEkrDCMogz0UcDHKSWc7zmrb8wgSKVytjGftFViG9aUios1IoYOqLbbq+ 6K1gqff+Q5W4wwE+VSh+K8ixfxx2SzSJLvTfexGYX1K7Pt1RyTlsbXwFdCDTXO60MBnh I05Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i188-20020a626dc5000000b0063d6042d2adsi9732745pfc.296.2023.05.12.04.09.26; Fri, 12 May 2023 04:09:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240939AbjELK7v (ORCPT + 99 others); Fri, 12 May 2023 06:59:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240804AbjELK7d (ORCPT ); Fri, 12 May 2023 06:59:33 -0400 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8A5011D93 for ; Fri, 12 May 2023 03:59:31 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1pxQUe-008CAQ-M7; Fri, 12 May 2023 18:59:26 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 12 May 2023 18:59:25 +0800 Date: Fri, 12 May 2023 18:59:25 +0800 From: Herbert Xu To: Srujana Challa Cc: linux-crypto@vger.kernel.org, davem@davemloft.net, bbrezillon@kernel.org, arno@natisbad.org Subject: Re: [PATCH 0/2] crypto: octeontx2: hardware configuration for inline IPsec Message-ID: References: <20230425140620.2031480-1-schalla@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230425140620.2031480-1-schalla@marvell.com> X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_00,HELO_DYNAMIC_IPADDR2, RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS,TVD_RCVD_IP,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Apr 25, 2023 at 07:36:18PM +0530, Srujana Challa wrote: > On OcteonTX2/OctoenTX3 variants of silicon, Admin function (AF) > handles resource allocation and configuration for PFs and their VFs. > PFs request the AF directly, via mailboxes. > Unlike PFs, VFs cannot send a mailbox request directly. A VF sends > mailbox messages to its parent PF, with which it shares a > mailbox region. The PF then forwards these messages to the AF. > > Patch1 adds AF to CPT PF uplink mbox to submit the CPT instructions > from AF. > Patch2 adds code to configure inline-IPsec HW resources for > CPT VFs as CPT VFs cannot send a mailbox request directly to AF. > > Srujana Challa (2): > crypto: octeontx2: add support for AF to CPT PF uplink mbox > crypto: octeontx2: hardware configuration for inline IPsec > > .../marvell/octeontx2/otx2_cpt_common.h | 15 ++ > .../marvell/octeontx2/otx2_cpt_mbox_common.c | 3 + > drivers/crypto/marvell/octeontx2/otx2_cptlf.c | 34 +-- > drivers/crypto/marvell/octeontx2/otx2_cptlf.h | 33 ++- > drivers/crypto/marvell/octeontx2/otx2_cptpf.h | 7 + > .../marvell/octeontx2/otx2_cptpf_main.c | 41 +++ > .../marvell/octeontx2/otx2_cptpf_mbox.c | 247 +++++++++++++++++- > .../marvell/octeontx2/otx2_cptpf_ucode.c | 10 +- > drivers/crypto/marvell/octeontx2/otx2_cptvf.h | 1 + > .../marvell/octeontx2/otx2_cptvf_main.c | 8 +- > 10 files changed, 359 insertions(+), 40 deletions(-) > > -- > 2.25.1 All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt