Message ID | 20221206130201.30986-4-lizhijian@fujitsu.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2807971wrr; Tue, 6 Dec 2022 05:06:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf6JBH1mIQrhsmpVcS4JHFdPAZ3VSLIOh/MrKZQ5OAH1PpvaX4IFT5rWHISsa0po0SX3N0l3 X-Received: by 2002:a17:90a:7f86:b0:218:9ea6:6593 with SMTP id m6-20020a17090a7f8600b002189ea66593mr81370993pjl.196.1670331991420; Tue, 06 Dec 2022 05:06:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670331991; cv=none; d=google.com; s=arc-20160816; b=e6MfkxoyujzQ/lIJOiIByxL5hioGW892uWiiXIlnjr4dAIVD6WwQOnItYFP5yeE/FT AFW95qLiO53AxVqlLNtjAyT+E4252MY39qxBVCx4JHNBe9PdoMsC4PnZVkmxdqmYhu/i sAf9hP7LqxvrCFtW+1voE4CPeETL9gLxG6DCa1uhWi213DEbkGH8Y7sDyzJv8S5txU+w vqbyjduP4OvH0aiD7KaFrgXaH2pekNgroaOlNaXHJn2mP5QYVHjlQYJjT18i9W/lX+2H Y9UrofkPXHiMZMd2DdaG3HDx5GUIJePI5igm/y4FQDxzjy2qHPOTdz8QMczDP3HNLTc/ mwjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=FaLWTnEFugaG7g9WvuTin/3vn/vtZIBLOCdUWT+minA=; b=SvZdC51Vmtym+UEyqibni+tk+1KSczrv4zZF8ut7Z4p4o+etHbACksiY+7vIOX9imL BL1zM2Onor5X60W33DgnW4nK/rXQ+gtnr1vQ9H9fJ5ou5uO5GRSi6AEBA6OVO2GXGdkF aLQcXC3IA9wr1bhdGK6RzC6DrFypX8skkZWTbUV3xge8CUh9pQbvJi9/O9hwS+HMyslo zCNhJfzrREkxN9QlEaMMYEC6XitC9+NHVqE3VAxgv39/aXEdriECAlEcYy+4+sRQhqnM DonHEd8TWovxcwHJv4K9w7G62jQyCNHxufuv6uyfUzQg1A0z7+u4onueZzR1OF0D0tSe M+tw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fujitsu.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z1-20020a056a00240100b0057593ed4874si19060877pfh.315.2022.12.06.05.06.17; Tue, 06 Dec 2022 05:06:31 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fujitsu.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235036AbiLFNDW (ORCPT <rfc822;jaysivo@gmail.com> + 99 others); Tue, 6 Dec 2022 08:03:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234765AbiLFNCV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 6 Dec 2022 08:02:21 -0500 Received: from esa2.hc1455-7.c3s2.iphmx.com (esa2.hc1455-7.c3s2.iphmx.com [207.54.90.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AC6F120AF; Tue, 6 Dec 2022 05:02:19 -0800 (PST) X-IronPort-AV: E=McAfee;i="6500,9779,10552"; a="98835147" X-IronPort-AV: E=Sophos;i="5.96,222,1665414000"; d="scan'208";a="98835147" Received: from unknown (HELO yto-r3.gw.nic.fujitsu.com) ([218.44.52.219]) by esa2.hc1455-7.c3s2.iphmx.com with ESMTP; 06 Dec 2022 22:02:16 +0900 Received: from yto-m1.gw.nic.fujitsu.com (yto-nat-yto-m1.gw.nic.fujitsu.com [192.168.83.64]) by yto-r3.gw.nic.fujitsu.com (Postfix) with ESMTP id C9BFBC3F8B; Tue, 6 Dec 2022 22:02:14 +0900 (JST) Received: from kws-ab2.gw.nic.fujitsu.com (kws-ab2.gw.nic.fujitsu.com [192.51.206.12]) by yto-m1.gw.nic.fujitsu.com (Postfix) with ESMTP id 076C2CFF80; Tue, 6 Dec 2022 22:02:14 +0900 (JST) Received: from FNSTPC.g08.fujitsu.local (unknown [10.167.226.45]) by kws-ab2.gw.nic.fujitsu.com (Postfix) with ESMTP id E0C7C2340E31; Tue, 6 Dec 2022 22:02:12 +0900 (JST) From: Li Zhijian <lizhijian@fujitsu.com> To: Bob Pearson <rpearsonhpe@gmail.com>, Leon Romanovsky <leon@kernel.org>, Jason Gunthorpe <jgg@ziepe.ca>, linux-rdma@vger.kernel.org Cc: Zhu Yanjun <zyjzyj2000@gmail.com>, yangx.jy@fujitsu.com, y-goto@fujitsu.com, mbloch@nvidia.com, tom@talpey.com, tomasz.gromadzki@intel.com, dan.j.williams@intel.com, linux-kernel@vger.kernel.org, Li Zhijian <lizhijian@fujitsu.com> Subject: [for-next PATCH 03/10] RDMA/rxe: Extend rxe user ABI to support flush Date: Tue, 6 Dec 2022 21:01:54 +0800 Message-Id: <20221206130201.30986-4-lizhijian@fujitsu.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221206130201.30986-1-lizhijian@fujitsu.com> References: <20221206130201.30986-1-lizhijian@fujitsu.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSS-9.1.0.1408-9.0.0.1002-27306.007 X-TM-AS-User-Approved-Sender: Yes X-TMASE-Version: IMSS-9.1.0.1408-9.0.1002-27306.007 X-TMASE-Result: 10--3.211900-10.000000 X-TMASE-MatchedRID: y6wt06uo3+c3i8FXueJ7nioiRKlBVkYI4Tk+Ydnj9RtFms6YEs23D8s0 A8Och09BxTsa1zsKwGAzoUNAtFjsci/7QU2czuUNA9lly13c/gGrHFhHKqXuS+0NA4pWf9v6o8W MkQWv6iUCY+lsYFiWG+TCMddcL/gjxlblqLlYqXJg243VUQ5gotJhlo0wNlMFQMD5e+hgqWRXTh L/dK+xeOyS7sw3mWnswiMLr/K4x/apuDSvn6Qo2cK7Bppu98quggOgxRV1TfARZbRsQk5MBUB1Q Pq9bxnWZkAxAwjIrrMHz/H0kiLyEqGAtHMDjkk9 X-TMASE-SNAP-Result: 1.821001.0001-0-1-22:0,33:0,34:0-0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751470038135353405?= X-GMAIL-MSGID: =?utf-8?q?1751470038135353405?= |
Series |
RDMA/rxe: Add RDMA FLUSH operation
|
|
Commit Message
Zhijian Li (Fujitsu)
Dec. 6, 2022, 1:01 p.m. UTC
This commit extends the rxe user ABI to support the flush operation defined in IBA A19.4.1. These changes are backward compatible with the existing rxe user ABI. The user API request a flush by filling this structure. Reviewed-by: Zhu Yanjun <zyjzyj2000@gmail.com> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> --- V5: new patch split scheme, suggested by Bob --- include/uapi/rdma/rdma_user_rxe.h | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/include/uapi/rdma/rdma_user_rxe.h b/include/uapi/rdma/rdma_user_rxe.h index d20d1ecf046f..bb092fccb813 100644 --- a/include/uapi/rdma/rdma_user_rxe.h +++ b/include/uapi/rdma/rdma_user_rxe.h @@ -82,6 +82,13 @@ struct rxe_send_wr { __u32 invalidate_rkey; } ex; union { + struct { + __aligned_u64 remote_addr; + __u32 length; + __u32 rkey; + __u8 type; + __u8 level; + } flush; struct { __aligned_u64 remote_addr; __u32 rkey;