Message ID | 20221015063648.52285-9-yangx.jy@fujitsu.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE44FC43217 for <linux-rdma@archiver.kernel.org>; Sat, 15 Oct 2022 06:38:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229556AbiJOGiZ (ORCPT <rfc822;linux-rdma@archiver.kernel.org>); Sat, 15 Oct 2022 02:38:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbiJOGiX (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Sat, 15 Oct 2022 02:38:23 -0400 Received: from esa5.fujitsucc.c3s2.iphmx.com (esa5.fujitsucc.c3s2.iphmx.com [68.232.159.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D005D638F5 for <linux-rdma@vger.kernel.org>; Fri, 14 Oct 2022 23:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj1; t=1665815902; x=1697351902; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=9qocX0N5/qQ8PglDkDfyStoKYdhlbgF54dljWaP0UzI=; b=APU/iN0Khgh4Fc9E/TrrlXy8gnTsiDFhQofgmErtW+tr2wmwn8UIQSXt gdpWdLbgRaQYGeOr9Wu253WMO2SsRHi1NIRgaaeie2LeJhTuS0tKaa/VW zK2EuQBMpUsuZF55zgDlUy1n/woEz8+Y0463KWyy94kRaeF/GpWFdYFli 9r9PX31rdHshZWGxWL9+dp+gIKbxSnSVTAxqK87BOcfwHplVESERno7uR Bgm8qHTHTRuK3S38wfjGLM+mROwHpmFb1XMWcqkc1L17unwq4ouFdvGGq gZXujRI7fqQ3xeg5RYHO/FnPYAkGP1bpndpDuM5VtWdBuvJHT9pzDWo9K Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10500"; a="67758728" X-IronPort-AV: E=Sophos;i="5.95,186,1661785200"; d="scan'208";a="67758728" Received: from mail-tycjpn01lp2172.outbound.protection.outlook.com (HELO JPN01-TYC-obe.outbound.protection.outlook.com) ([104.47.23.172]) by ob1.fujitsucc.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2022 15:37:17 +0900 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O1Ok+4skJpByrZ5cJl8HHHnKIOxNDowx6KCjAjT/EyjdULkasPgfLw/J27fd8E0moFJbElBdi4LGmXC+H+bC5H8yhkMlUHYJx33ptwQNfZrl7256s38Xpi7fg2SOOS3cOzjakMRfcgFbLorgciQb3UMCRppgz/QiyugfgF+xWGEaJYQj+bIyjscOdn0qXwdT+1JmPAIXitIMSUyS7SEVW2KCS+SwmbdTNxo3dIXdqd3/OyKQoTcJkNk0/oT/dl3wYS8Vix96oC3BOe1aN+3jeASyBHq171i6HQWWE7kmbfEKp4vllWcX3HtFfg5k1CNDNaOtMOurztdWT4vzcnyEeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9qocX0N5/qQ8PglDkDfyStoKYdhlbgF54dljWaP0UzI=; b=I00CTdj8QL1I8Q6Q24cM3i8fp0tMsfXyqDXAvNz3PuWI/bdh5pOZnRcyYN/j1k86upBkeEfWjF6L6K5kMsBdu66UygfcRMDsObLvpLwaXIP0QqwhPDMuWNfWx8Q1rrrOVSfNF8uxmaU5/+2opGBLz69OLm008JVUT3ACwSJ/pGzEav6QWlWAWSpkx0AFep75EO60ntbfzb+8rfTtjvhBi/4ocFeFtHvTSZ8dFZoaDl29pl15AhyhprZzrLGFFnPXELs7g+pgSl3CnHuUtTD9jpEAJ1xZzZdoaj+lZIg6PccJNpRjneFjA6SDKbxD8JL/hfzu0KQZtzJUbMmJlLYhRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fujitsu.com; dmarc=pass action=none header.from=fujitsu.com; dkim=pass header.d=fujitsu.com; arc=none Received: from OS3PR01MB9499.jpnprd01.prod.outlook.com (2603:1096:604:1c8::5) by OSZPR01MB8661.jpnprd01.prod.outlook.com (2603:1096:604:185::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.29; Sat, 15 Oct 2022 06:37:09 +0000 Received: from OS3PR01MB9499.jpnprd01.prod.outlook.com ([fe80::5989:c90d:abf4:e100]) by OS3PR01MB9499.jpnprd01.prod.outlook.com ([fe80::5989:c90d:abf4:e100%6]) with mapi id 15.20.5723.029; Sat, 15 Oct 2022 06:37:09 +0000 From: "yangx.jy@fujitsu.com" <yangx.jy@fujitsu.com> To: "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>, "jgg@nvidia.com" <jgg@nvidia.com>, "rpearsonhpe@gmail.com" <rpearsonhpe@gmail.com> CC: "leon@kernel.org" <leon@kernel.org>, "lizhijian@fujitsu.com" <lizhijian@fujitsu.com>, "y-goto@fujitsu.com" <y-goto@fujitsu.com>, "zyjzyj2000@gmail.com" <zyjzyj2000@gmail.com>, "yangx.jy@fujitsu.com" <yangx.jy@fujitsu.com> Subject: [PATCH v6 8/8] RDMA/rxe: Enable atomic write capability for rxe device Thread-Topic: [PATCH v6 8/8] RDMA/rxe: Enable atomic write capability for rxe device Thread-Index: AQHY4GCMZQMABIytdkCk4JhboIV3nQ== Date: Sat, 15 Oct 2022 06:37:09 +0000 Message-ID: <20221015063648.52285-9-yangx.jy@fujitsu.com> References: <20221015063648.52285-1-yangx.jy@fujitsu.com> In-Reply-To: <20221015063648.52285-1-yangx.jy@fujitsu.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.34.1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=fujitsu.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: OS3PR01MB9499:EE_|OSZPR01MB8661:EE_ x-ms-office365-filtering-correlation-id: d3b9499f-aac9-4ee9-f560-08daae77af46 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qJFSgEYQedPAoCj7BEAn1Aqc6TmPdhC6YQo1VPMSTDtvvB6bTDcrZKs/g/w3pp6sJ2ClASjgZjjpBYv2cObnQ2GoDBHZgM47/Qbjxe69hGQOGnNbjVzTt2GjqWMUrx0YdCxUp6S0XusuUQf5ZnI7fogyqUYv6cYk/qL3eCbgbg3MtmBi3Etaj3+qrLwMvXspINR3+EzM+xB2loe2V9TbMESNJ4ZU2f33JMKFMQ9SdOnsbc9+Hw/rX37GTqATo21j8cEZJ2IHf36imyIPdRR5wF4mGhZv4XkBe0X9Em3DX0TL3pYD6fyM4+WntQ7hqsj3CqezRaqMKqiDs/aNo9c9IyihVwGYK/IWNKn0+NFNx8STGU8aFI1jPAQFBc8uIgGB72g6CAOIAotcJlkTY9Ygs1mSWZkwjisVBMNhL5EK8rQ2jzh1g20bqlbQVNvV+iXFu/BVMlITx/JBxuUmsT8fLSU1JfZFJZNZrGUXi3YGh4LvwANYJKjg/qeniNyv8PW/Go4DFlWLY3r0oxtcqGaw/83M3CGx/Xox2zqYMP6VwNZ/Baw9+gKczt0SoKzRT7949qJjoTil5+xCBkxgycCmeRYGXYMbFgh7KaUkUwlnrRMNmtwXiA/YBuHNMsYh0F/DHxOAEZ4tXOydz7OHchz4k7Ttv3Tzt5dT3FFcKel1MQyatlpFAHSiYIb5KmTSpXblZkK0DTPFUwHd+bQaFByZIUYwxidtwtmPFwpmDvawJYRRJ5AySxlq5sVQdns/g7k8UyXeGrvua5aGOjgGlFNCVgA70098UtGnvr3WfCz6pSs= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB9499.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(39860400002)(136003)(346002)(376002)(366004)(396003)(451199015)(1590799012)(6486002)(85182001)(316002)(86362001)(38100700002)(36756003)(5660300002)(110136005)(26005)(6512007)(54906003)(478600001)(122000001)(8936002)(4744005)(82960400001)(91956017)(1580799009)(66946007)(76116006)(2616005)(107886003)(66556008)(66476007)(38070700005)(41300700001)(71200400001)(6506007)(66446008)(64756008)(8676002)(2906002)(4326008)(1076003)(186003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?eucgb2312_cn?b?aVAxQmRRUUJheUxWQUdxdytW?= =?eucgb2312_cn?b?Sk5wbTRaR0RXeUNHNkZsSkhLMXUzNmhOR1JNZm1ObllkMVZ4RW0rdFFVZWdtYXpM?= =?eucgb2312_cn?b?NnpPQXEzSzRSYXUyb1plTzdabHdGaEtHWlp4ZENPODNCLzArMHJwTFJHeGxjK2Nu?= =?eucgb2312_cn?b?ZkxRK0RkRXBUcWgrWUxYRzA0QXRpaXN1VnJ4MjU2RVFRaGp1WDZjVEQ3WGx0ZE80?= =?eucgb2312_cn?b?N1ZLMWZhblZCdHFDbjNxVmF0SjB0WTFWbmkyd296T3FIUGFHTFdDTXBuY0EvaGVz?= =?eucgb2312_cn?b?VXJQV2I0STlicVROVlpaTjByRGFvc2lObEJjUXIzcEI3cWtCRzlJMGoycTBTc3NU?= =?eucgb2312_cn?b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dzZOUkpMVHpDVWlEVmNBVkY1OXhNck81VkpIQ01aNEdmUE5n?= =?eucgb2312_cn?b?akl0S2lrV2NWMDdyNUs2MUIwdG1lc0E2cytUOUg5WXk1cHRKVUtIeUdwcVBPWXZo?= =?eucgb2312_cn?b?VVgyVDgyMVh5bmc2dFp3Q0VKWlE9PQ==?= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: fujitsu.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB9499.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3b9499f-aac9-4ee9-f560-08daae77af46 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2022 06:37:09.1038 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a19f121d-81e1-4858-a9d8-736e267fd4c7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: hNH5CBP8624SE7TYBldA9mZng4Cru3RoKpQlkWCqDVZPDtv8MOf7CLeSXq5GgU2b/DGLw28qn4tzWv9KsfvAPQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZPR01MB8661 Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org |
Series |
RDMA/rxe: Add atomic write operation
|
expand
|
diff --git a/drivers/infiniband/sw/rxe/rxe_param.h b/drivers/infiniband/sw/rxe/rxe_param.h index 86c7a8bf3cbb..bbc88cd71d95 100644 --- a/drivers/infiniband/sw/rxe/rxe_param.h +++ b/drivers/infiniband/sw/rxe/rxe_param.h @@ -51,7 +51,12 @@ enum rxe_device_param { | IB_DEVICE_SRQ_RESIZE | IB_DEVICE_MEM_MGT_EXTENSIONS | IB_DEVICE_MEM_WINDOW +#ifdef CONFIG_64BIT + | IB_DEVICE_MEM_WINDOW_TYPE_2B + | IB_DEVICE_ATOMIC_WRITE, +#else | IB_DEVICE_MEM_WINDOW_TYPE_2B, +#endif /* CONFIG_64BIT */ RXE_MAX_SGE = 32, RXE_MAX_WQE_SIZE = sizeof(struct rxe_send_wqe) + sizeof(struct ib_sge) * RXE_MAX_SGE,
The capability shows that rxe device supports atomic write operation. Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com> --- drivers/infiniband/sw/rxe/rxe_param.h | 5 +++++ 1 file changed, 5 insertions(+)