Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6079678rwb; Wed, 18 Jan 2023 00:28:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXvgB1HKcA4+fnYEajvkcD0Ku+GBm0nmyv/QSqJX9PZ3AmHX+7lZc0j0uQ6qzr+uUvvBW86X X-Received: by 2002:a17:90a:2c47:b0:226:79:41dd with SMTP id p7-20020a17090a2c4700b00226007941ddmr7115810pjm.0.1674030495825; Wed, 18 Jan 2023 00:28:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674030495; cv=none; d=google.com; s=arc-20160816; b=eiZ8n74HVzgK8bfp53gfjz1tmtvFB8yek9NxaZinJTbrUYolYap/F9ezOsm0nQeJKs /ey08uXBDiRbwrz5T46k1NX/LfauKYA5Rw/etvPnSSviMHJe7Tl/UXI8DAmTujiNNQOl 6rTiXnIDgYXSvoBTRpTe3qekqRRZNK3jYs7IdxbtEnretfblwBUogOvMNTFUQKTc34kD 9w1qcBIWCbuVky7MI0KrH55Payp8kTfumqVjilg9DczG6Yv65pyHNzAUofCqaAswlOkb 6IyP6ywHWF/D6I8X4/1Q973ksmjl7Tev1cQ9HWJcEngU9ksQUeHbGvjUm5qU2r/nZliZ N0lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=8g3Szrg1L4vmjcFPx7Txy+9BP9RpagD94A0A6Kp0xKo=; b=gjuDhOpfOfbD3nTH909g8MBMYTRePFTnSmcVAWglaZvKuhjJcqYOQ/CWXjrBFj9mnG M1+cL6DnKicTUqdQMigJ9UHvXCh9JRVntosTrh8FlbnD+YFwGV/8JuXQXisrlEf/YJH7 OHlMByVC8oFX9W6Zom9DbAqiIiL1UQlUsASdSBV9jm+/4u9lJ205wOrwDGrUosHmsLmz jFHnl4dysrfdpDbHxaCGd8SiOuR3Jt6XUhQVxOU5AWTsAR5oYIWuUgjWG3AGNQV5nXtb A5KpU/bHrQhgZtNz5C6p+ZwKyqDdbQxVyQtfHagg0HYnDr+wQOmew+jMMHuKcK1RAAX6 X3tQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 82-20020a630255000000b004780e2b6fc6si36330951pgc.626.2023.01.18.00.28.10; Wed, 18 Jan 2023 00:28:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229784AbjARIJG (ORCPT + 46 others); Wed, 18 Jan 2023 03:09:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230264AbjARICX (ORCPT ); Wed, 18 Jan 2023 03:02:23 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B0855DC1D; Tue, 17 Jan 2023 23:36:59 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id CE78267373; Wed, 18 Jan 2023 08:36:54 +0100 (CET) Date: Wed, 18 Jan 2023 08:36:54 +0100 From: Christoph Hellwig To: Leon Romanovsky Cc: Jason Gunthorpe , Bryan Tan , Christoph Hellwig , Eric Dumazet , Israel Rukshin , Jakub Kicinski , Jens Axboe , Keith Busch , linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-rdma@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Masami Hiramatsu , Max Gurtovoy , netdev@vger.kernel.org, Paolo Abeni , Saeed Mahameed , Sagi Grimberg , Selvin Xavier , Steven Rostedt , Vishnu Dasa , Yishai Hadas Subject: Re: [PATCH rdma-next 00/13] Add RDMA inline crypto support Message-ID: <20230118073654.GC27048@lst.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 16, 2023 at 03:05:47PM +0200, Leon Romanovsky wrote: > >From Israel, > > The purpose of this patchset is to add support for inline > encryption/decryption of the data at storage protocols like nvmf over > RDMA (at a similar way like integrity is used via unique mkey). > > This patchset adds support for plaintext keys. The patches were tested > on BF-3 HW with fscrypt tool to test this feature, which showed reduce > in CPU utilization when comparing at 64k or more IO size. The CPU utilization > was improved by more than 50% comparing to the SW only solution at this case. One thing that needs to be solved before we can look into this is the interaction with protection information (or integrity data in Linux terms). Currently inline encryption and protection information are mutally incompatible.