Message ID | 20171214002537.GA19257@bryantan-devbox.prom.eng.vmware.com.prom.eng.vmware.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 61FC060327 for <patchwork-linux-rdma@patchwork.kernel.org>; Thu, 14 Dec 2017 00:26:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 529B029294 for <patchwork-linux-rdma@patchwork.kernel.org>; Thu, 14 Dec 2017 00:26:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4543029542; Thu, 14 Dec 2017 00:26:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AEFB729294 for <patchwork-linux-rdma@patchwork.kernel.org>; Thu, 14 Dec 2017 00:26:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751026AbdLNA0K (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Wed, 13 Dec 2017 19:26:10 -0500 Received: from mail-dm3nam03on0065.outbound.protection.outlook.com ([104.47.41.65]:12229 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750795AbdLNA0J (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Wed, 13 Dec 2017 19:26:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onevmw.onmicrosoft.com; s=selector1-vmware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=KRDq5SoPT1++c8FfbItgPGsz7ya4uVqX1nEsh01uyqA=; b=KcuzCXune1D4u6Y6x0m/HCQBBCDwREXLeM9CHPLzq0dEeWnK5/KFAQAmKaGzM9gK9dB+J4Yw0qIqX5JivQyxsTrt45P1cfFj2Swgp9b7ELhsJTmSuJwBTDTYVFudTzUg8ae+qKDpt7bxHw2qHElHx7lPaaqe2nlDFJWhW9PaXnU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=bryantan@vmware.com; Received: from bryantan-devbox.prom.eng.vmware.com.prom.eng.vmware.com (208.91.1.34) by CO2PR05MB2775.namprd05.prod.outlook.com (10.166.200.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.2; Thu, 14 Dec 2017 00:26:05 +0000 Date: Wed, 13 Dec 2017 16:25:48 -0800 From: Bryan Tan <bryantan@vmware.com> To: linux-rdma@vger.kernel.org Subject: [PATCH v1 for-rc 7/8] RDMA/vmw_pvrdma: Add UAR SRQ macros in ABI header file Message-ID: <20171214002537.GA19257@bryantan-devbox.prom.eng.vmware.com.prom.eng.vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171214001753.GA9780@bryantan-devbox.prom.eng.vmware.com.prom.eng.vmware.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [208.91.1.34] X-ClientProxiedBy: AM4PR07CA0012.eurprd07.prod.outlook.com (10.171.185.25) To CO2PR05MB2775.namprd05.prod.outlook.com (10.166.200.27) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a7829c19-5c7c-4154-8be6-08d5428944b4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307); SRVR:CO2PR05MB2775; X-Microsoft-Exchange-Diagnostics: 1; CO2PR05MB2775; 3:frlRrQvyUS5HPDtdj3kYNdhXvs2JbvKMQ8kduFUsNzvd8WzD9MKpXtrWzyfAP6y8YfJACDPPbShFyk8lFSq3mrREQT27l4AM+djC2siVANLcpWJYcnt1vh+PxtBT/7WddG5iruG9RsEKwQHsdowYn8GCcXhcj01c389ioygFvVudCMdvWLBxuWkf+OfW52FR/ugVccQUWZsM5lD6B7FuS/DARkRUa39kVl9Xns5ePAJyFEAPiSDDEV9rbY/UUQFr; 25:2iD2piDhoaeQKPllbhZMKf7TyWWAg/7L4gF2E5zb6BMYddP6c2DvY2Rv8Cxc/Ay6rA3ANnM671bgLc7itbi80FMdpZJ9BdRkLcBvANa1AGRvq7J3L6AlP3WwHtib950XXpfVIHl5wUkDknc+OKz1hskc/Lp344DsnqIY/gw1CzReR7BZhrSHC7EDCjMmmsV3B+GgoFbxBMrw9VE9YFvTNK4x0xtqEgePP2vFHIZFP++11XtCvHPJCi1RStOMsGbvOo2iX1Az3HxHFvZR+3yZKItJD/xwnQlCB1sSaTzvuCIlaZTjCVFhEK5YDCLnmWGGygMRdHcQTS4KM2Tht8+QVjsBl2jPhzdE/41u68nB3a4=; 31:xd/G6zNews34Jw5bJ1iFxdUcL5F6yPRu0sTZq/SbCseWF8imGOPsJJdlCTxeByBPRwE+w4SEwXuUnC1DPhT9vH3rffNi3EvWWHnC8SAivhTCB7iqZsPAJ+lkUE77kTpvJpkYeaXhL1X1TrososJ49OnsPzP3k1jsSSsvui/wwri5WDtQOA+DX4WYRTey16/tF60dg3QJiMUqeirMVVsHwNg6X/nL/mAEsPY2JXgAVp0= X-MS-TrafficTypeDiagnostic: CO2PR05MB2775: X-Microsoft-Exchange-Diagnostics: 1; CO2PR05MB2775; 20:j/wey+dS0DeZVHJudt6w8bOkba1M6tY8mj8c2xI71Ng7XWKGhb8NgcrEqLt9+UhfA3hNuG7F+heYFVj3VTkyM4stwBjadQpN4Dyqn4VUA6CEtZmHFFT1KzDk5faPHeBrMrhWbjnCKST5mL3JjSi0+ZBL6XUgIj6me8u9mJzffJvVo22i/OX7vhmdpMpzI44Gb6xSzlhjYGRUO6htX2IR4Y+rWiJi0ydcyjs+8v14hk6rN5mqIFH8g8cAxfI08JVEcUfFNsCTOIJ+WpoZNL7e9SE70kciK/I7ojALyHr0LTTixSQd+ZJpgnlYRv1xnfiw59H+EVV5NoeuZUy9vU/joTsiwJ0UIJ1V67jvdsOvkU0STDMNW5HV//hfcgSXfe85QKzx+6uIWdUtYh3BbfQOOgoS9yAKhNsYIazDN+BFFYuW/e7MCfe/hqSWeD2klrlyq8P0ramwZ+lUNKyciv/M7DysVt4IuRHl1lZTiYqV4AiM+wYZKqlhF/quW3dL5lpH; 4:Ss3Q6iiN59yaeVKYsMGo40VFn4NvhoV1Qu+TqWnb9z58budL6tIKmWvOQbIdVJK5VrCYHp8pvnk40NEGwte+IUmdQjIYRtlZ1QTLQzYuDPyrkhL9TPitPFEN8zIeYbMTHY67IjW9hmdvBb6E0EyDJoM/cfONMD/rsZIgkHTZsCmiLAQN/BGEi3LM/WBBcDNfKvxynnk8ljEGKtOc8Uan0edggwJ5H1WE/cgTlRQT+9Dvcwi5Uoel7OPjnxoSYncp5gxjwtWlQDc9TvSDBbH2XB8QMdl8XhXVHls30p5jkVB/bCX8CQNGKY9GCSMr//Jc X-Microsoft-Antispam-PRVS: <CO2PR05MB2775C16737CED7D39EC9DB5BB20A0@CO2PR05MB2775.namprd05.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(61668805478150); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231023)(93006095)(93001095)(6041248)(20161123555025)(20161123560025)(20161123558100)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:CO2PR05MB2775; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CO2PR05MB2775; X-Forefront-PRVS: 05214FD68E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(376002)(366004)(346002)(189003)(199004)(2950100002)(33656002)(1076002)(16586007)(5660300001)(316002)(50466002)(6116002)(8676002)(6916009)(305945005)(575784001)(7736002)(3846002)(8936002)(68736007)(83506002)(2351001)(16526018)(6666003)(23726003)(58126008)(86362001)(53936002)(2361001)(2906002)(47776003)(106356001)(478600001)(25786009)(66066001)(81166006)(105586002)(386003)(97736004)(81156014)(7696005)(55016002)(52116002)(18370500001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR05MB2775; H:bryantan-devbox.prom.eng.vmware.com.prom.eng.vmware.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR05MB2775; 23:+rVnDydrnCNu5ldNZqr8c4Zs9JZujuIDIWbNTKvdF?= =?us-ascii?Q?JwDvJNo03oL5UzOWaEh+/rYwXfy4Ok878Pm5BRkHRK+pBrhjBUWz6yMrnQFD?= =?us-ascii?Q?mUCv4YR5oQpEzxak21TUYM5q1ZmqurJUNGm64QgjAQZNOtDGoq6zd0OzWFdn?= =?us-ascii?Q?ys04TWCHUI36Mqcu/yVJ+O9gifa513XL1E3srFDXRWM4e8aVJoSGaNtaFuLM?= =?us-ascii?Q?uWzo9eqKPs1o0ncvaQXSXTAeXiNEibRAX23k5jvsh6EXAPsHIfKMFEPOuBDR?= =?us-ascii?Q?Lul3NFJGQtDsieubjn0o8QDEX6y1+Z4aqldB09au7nx5YtsjtWG3GR7sgB4V?= =?us-ascii?Q?5U1wUHc37qg4sZmRsCuGp53wzq4C6qaIkNOhWqde8NpnzE5ef2AA6iw1QphQ?= =?us-ascii?Q?t9Nolo9+RgCrC1VgY8nBY6SieFnb0pmxxw0/KYy2toSxfXmrDt3GyD6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VpgvnGZdI7THsyoAuXYrncp9GWJONd88iXmKz8X5n71Hhdss7T6xirLo6jnQ5cW/8dAnEXdDbUtRrAoEQQe3eIqsVKbVJ7Vrn3pUVRxemWJie2V0BQXRaKGrk+FQEqXYQ5PDYNfSoYMe0/qnutGnuvZ/10V2N7hGe2h/c=; 5:i21rmrTceT6/xbBMkekavOAcTSjCcai8dzI08ev6LT96bnPdU26uTVVPuVouqsZBZ+lYMIGvc4d0dbPQIO1UU242PZ6vz/2sTlmhv/9w6OYtjTmnTPHbhKbxdhL3/FvONfii9gp1Flxv48txoQJyf1NZJ+jisuP2qjQ/iWaqK+Y=; 24:Tn7WJPIWZl5+Uyqz3LrcuPLi7Pnlfx7/sQAVhWRKsmBvF3rg0Pii1b66DWcuS342tgRmRFGVg4HKOpmwpxI3VW8hwP/oBR49WAkU8T7Ltjw=; 7:+Mb8sAqPj2MWnpXsGYz5KMFBDJO9HQaZVN+LC3m0FBDULFOsSgrQAN/zokoQS4ODa2YJCLCqPfQg7PW2Fi/8trEXpKcJqDgxGFegpCaOFjYhz2UpWfv1z+icPVWIki3kN3RKfrywJATdzNGT7BUUOzvc1pFoKuIZwlELlQx6tVSgAfb6Cbml59TSljerBZgCDxlxeMltxAsjtRDKwf1yI+uQpSv6ZUxzQ7QaPtfQYzJcIB1Z0kzap+32kW7WNiyr SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CO2PR05MB2775; 20:xyf+srTrhEwtkvbotpMT9Nii3W7Kd1OISX+nVKo7gOQITDkjQ/9qjQ1LjplfIXePVl1X87fzaVg8Uk77ZxWyzHny6jVNpuyCRtqK6XvvL8mckRKBWPnjf/9xqObLWewhnpTHzWW4I9BigeTtbpb8lJWJvarQ+/cBawtu/aeWHJM= X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Dec 2017 00:26:05.7960 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a7829c19-5c7c-4154-8be6-08d5428944b4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR05MB2775 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/include/uapi/rdma/vmw_pvrdma-abi.h b/include/uapi/rdma/vmw_pvrdma-abi.h index 8d37af5..02ca0d0 100644 --- a/include/uapi/rdma/vmw_pvrdma-abi.h +++ b/include/uapi/rdma/vmw_pvrdma-abi.h @@ -58,6 +58,8 @@ #define PVRDMA_UAR_CQ_ARM_SOL (1 << 29) /* Arm solicited bit. */ #define PVRDMA_UAR_CQ_ARM (1 << 30) /* Arm bit. */ #define PVRDMA_UAR_CQ_POLL (1 << 31) /* Poll bit. */ +#define PVRDMA_UAR_SRQ_OFFSET 8 /* SRQ doorbell. */ +#define PVRDMA_UAR_SRQ_RECV (1 << 30) /* Recv bit. */ enum pvrdma_wr_opcode { PVRDMA_WR_RDMA_WRITE,