Message ID | 1497790871-23945-3-git-send-email-Ram.Amrani@cavium.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 7E6D4600F6 for <patchwork-linux-rdma@patchwork.kernel.org>; Sun, 18 Jun 2017 13:01:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 764C128484 for <patchwork-linux-rdma@patchwork.kernel.org>; Sun, 18 Jun 2017 13:01:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B12228498; Sun, 18 Jun 2017 13:01:48 +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 D814128484 for <patchwork-linux-rdma@patchwork.kernel.org>; Sun, 18 Jun 2017 13:01:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753109AbdFRNBq (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Sun, 18 Jun 2017 09:01:46 -0400 Received: from mail-sn1nam01on0069.outbound.protection.outlook.com ([104.47.32.69]:6320 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752909AbdFRNBo (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Sun, 18 Jun 2017 09:01:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=4iDimivxOL0NzIPfkC3cy8j/0qCPDBEcz6Ab81tV+74=; b=DdZAJW98aBifw9TWD28JOgj+i0/wtH3iC9SWyz1QMwsVec6CfQPaHHpiteeyQlFHC7JAoUNILYUsdm4iC9egVKCTpuHIJu92mrPG2HFZh1HJWDZA4BAKUadSDVRt3byOY6S2gdfe9KmcCcLHqCasoPvXU+8D3O0tLUabOt272g4= Received: from SN1PR0701CA0019.namprd07.prod.outlook.com (10.162.96.29) by BLUPR07MB420.namprd07.prod.outlook.com (10.141.28.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Sun, 18 Jun 2017 13:01:41 +0000 Received: from BL2FFO11FD009.protection.gbl (2a01:111:f400:7c09::105) by SN1PR0701CA0019.outlook.office365.com (2a01:111:e400:5173::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14 via Frontend Transport; Sun, 18 Jun 2017 13:01:40 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=cavium.com; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BL2FFO11FD009.mail.protection.outlook.com (10.173.161.15) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1157.12 via Frontend Transport; Sun, 18 Jun 2017 13:01:40 +0000 Received: from lb-tlvb-ramrani.il.qlogic.org (10.185.6.119) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Sun, 18 Jun 2017 06:01:36 -0700 From: Ram Amrani <Ram.Amrani@cavium.com> To: <dledford@redhat.com> CC: <Ariel.Elior@cavium.com>, <Michal.Kalderon@cavium.com>, <linux-rdma@vger.kernel.org>, Ram Amrani <Ram.Amrani@cavium.com> Subject: [PATCH for-next 2/2] RDMA/qedr: Notify user application number of supported WIDs Date: Sun, 18 Jun 2017 16:01:11 +0300 Message-ID: <1497790871-23945-3-git-send-email-Ram.Amrani@cavium.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1497790871-23945-1-git-send-email-Ram.Amrani@cavium.com> References: <1497790871-23945-1-git-send-email-Ram.Amrani@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39410400002)(39850400002)(39840400002)(39450400003)(2980300002)(428002)(199003)(189002)(9170700003)(36756003)(8676002)(305945005)(72206003)(104016004)(478600001)(107886003)(2351001)(50226002)(106466001)(8936002)(5003940100001)(356003)(5660300001)(2906002)(38730400002)(110136004)(77096006)(81166006)(76176999)(575784001)(101416001)(48376002)(50986999)(2950100002)(47776003)(4326008)(6916009)(86362001)(6666003)(189998001)(50466002)(54906002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR07MB420; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD009; 1:dc7b8iz96bnLtGQu2a+HDsoqZSt5Q362az0IfFfKrIud57cH4mt1aooDd/8+OCdfS+aOcc5D0dHQO6+ff+b59YZm1qgSJEORhikuruiI7wq/63Kr5TEiyaLUsHkNfkGyD1qfGiv/hlddPHsruLxcCZ625xxSyIKin7eSfAuE03thmJDiu7tdTrMhp+zr+u3oYjfCLy5lXhwgGbbal1z+8iV13umMORHoxPJWVmSr4DSr1Uapz7jrie06481CH19LT1ND3uKuThXdD91IZ51dWfJc+FiHmZzr6WYW72VPMX7V3DN5RTm75GeBwgVxKOorotFnGhZdqdjikNRPSPABDaSRDpf+mMuR8zC0QGphAtfUpX/kj+EojzNOaLIpK+IbU2okKFQqIMYAAe1RcvFVFlMAlMU2Jd/uyGVdx0SgLHCl0Yo/O8jLM1IlwwmqMEyBn33VD+fd0VRWQjk1V5qMLvPZKwgUoXve4RHIqjkLqd9N0q1dhiHb50TUMOtOli/5cO3LI4do+K5x9ETDKlx+VGTa1iAVIbHiiSWU+cYxEur/lu1UzcPP81D7ShB5bOxnGPaAmV2NXaGoorOu76E40mn2TNy1XtDu2eFdq7M6Xj62XlSGEWsYpGX/3C7nqk42E6cHjswQrXUMTxMbaNhepaCZK+Yw+eraQ8oQhBRz5Z/kZEgxoNSaqkJVBKFMNpdnd6DQ2Ql6Zp30tSqRwlNkXYnZV5/IJcJHOlWaA0zIX72LSUoyR5ztUInO07e2Lz3KnlSrPAk0dyKwWltegpg7JppsF2rPBezCy/Z8NDohQgDHRMgbDY2EZlFylaBnG7PF9Rb82J2xtQmDzsCOLB1OqXSS/PlN5f/+jgwjsm6XpRs= X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 24970d68-4042-4c67-6ee3-08d4b64a299a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:BLUPR07MB420; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB420; 3:06gINFM5vQB0MiypFEAm4JHDVoiWRieYSLqwtOkOqrgjDj4/mV4NiuB8b2bobLKIG+JedCOOC7XX44ZxqSaSL/1HxqIEJfaBmOq5utMzGw3MA7VDwaf/nVmZvtAiyv7qh6QuXnq1UlecC8ApvSJxEmeiVthg1HHzgubxSc1CwknnsCKesXQiAUFkfVk1W2bnd8cdOJ8aaHNb5+m3nwi1iiiYhHnIY4kb93PpUCHwOJEHolAXTkViibExLAINxnj3dy+V7anSJ9BAxCVDKF+JycT7fbg8GM/VFr5ybh6s7QI48zM1reLks/O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/TV5nposZho/FUPHcZLbq3qj17I6ZSmJcyHyn3xICDs7maKZEgCkQmoUSkinrtpVKwMoiy2v5RHiUxSIj8dG7X3egoLo5L9Qrm5/kkNMgt3F19zyLz/VCdaBdUSBO2HtcmiNVNgYopEGRS2/+7uEIoFQ/5+yRs5mgeSAPeXFFcQ5F3+vmC7B6LEK+hxIT9oPndmD77rK4SxVGHh+G1XUGOctMDAIW0PfUM4T+08I0DTWRon/MJ+dydjPp8RZQYZlwvwnTZg9OPGOkhWGcIciFBtmH0xUmjzSRFdJuAHvUm5JBOeYwHixtEIXnvOkGtRqFqD3GQBqkHbwa/G9myVo0wUvI8z/G+8jjwRwzCGO3pUz3H3PGAhlQg+7Pf2vSfLvsuynPrG51lUQvdBOV1SE8XHPbVz4SDB0icrVmaW1j5uppLqWgjtTihMHtT/Su17SofInxZ8qiwyVYPFQOFxAwNmKRe8csaHKm0RRrprB X-Microsoft-Antispam-PRVS: <BLUPR07MB4202653B06DFB0FF42DE6A6F8C70@BLUPR07MB420.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(13018025)(8121501046)(5005006)(13016025)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6041248)(20161123560025)(20161123562025)(20161123558100)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR07MB420; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR07MB420; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR07MB420; 4:obES9EKUSQ/ZAkyzazXgjHUy0lG0Es6maChO7RwU0RZ?= =?us-ascii?Q?l8iA1PDr8gSIN6A0UlSP0haGW9EyicNJLULVEn62vtSeHra7zey0/pKDSLu5?= =?us-ascii?Q?ikrduDHSPPYoJaWzKNc8mABGCLT6nI7yA4wUkMgw+qMFYLaCkbwFD8L9TSv7?= =?us-ascii?Q?1kIG/NlXmhp5IikHYE7Jl5ZSenSeYEwh6jDIacJ/jMI/evOGcjdg1EgIVeML?= =?us-ascii?Q?n2H3E3gut/sJZrmyquPWM+7ao2eujVPCUAp6P7uNANnduHM7mcW0yvr/Qt/G?= =?us-ascii?Q?qiTRUKb/3R94OL23+V5jL6y/00s1vVp4XgBpK9j1zFhMNANxIl22suAtfaei?= =?us-ascii?Q?J0Wl2y1VKtGebTZZtzvqxsANaLGQgJbqWY5+3VKdzfr6Jqu1Y7WCliX/rC44?= =?us-ascii?Q?AGHiCK/jKfQXvo/eA9NUkmLEKApoSRdsO1/3MH7ymDs45LTECH587BZc7VaD?= =?us-ascii?Q?pFCdj0SiL5k2N6G1s5WFiUPKy6O40hElsKdUDPM975e9nH7Git/bFpC4PoZx?= =?us-ascii?Q?efN7iooEouE2qfmp0Gkuxyl409/txOvUJ2HIMh6yU5Fs1oaWgsirrcqzcF1q?= =?us-ascii?Q?SkpxziMCNGS7PajGme9MqBVAn29UChBe0jqGm5MxdWAoCdVIUN6bWccUQhKi?= =?us-ascii?Q?gChYIbVgZq2TleBv4q33GlonUxXAo3w8sTpo2fL/uJ6uJunAZeizA6eK5b2i?= =?us-ascii?Q?6shXBtgSCH3nlq1m1Gjnlw0RKaijq16kHcxirqe5sNVc/+zycOtft1c8Zoms?= =?us-ascii?Q?TjdXANBr87w41QsUuqE2XVHdvMzSij8dS/7SdyD2g3OWRClbLxrAJ4JgWxmN?= =?us-ascii?Q?uUcTuNivELLqPpFmBQK3cQ/x7IIdFPhHiSEezT/8fLj6jUGxHRamdqpmX4E6?= =?us-ascii?Q?t2HK2ofP4M3ATUWrLdstGzHXfTe7rlI0tcbHOVNnWrM3hPF0RgUsQaqN5UZm?= =?us-ascii?Q?YEoUsvUb0PY4oew6z2CSQoc/Pq1QYndkC/Hck0h2vItf8h62bwxtnEtO9FHV?= =?us-ascii?Q?YCGupuR2njMOaWROIECp0BGEoLBCbtnfl4hCdSrZdXw/Kl1JxdfKE5+430JX?= =?us-ascii?Q?mkH0gp+a7qsR0/gv3UWfoV4STPpi7zLKbuTtG827Sg6bJH8GUcgmB0nkZufZ?= =?us-ascii?Q?L8n5d7AcVG/3dzmTG1DBhUntY1u5bvOifBC7UcHLNCbnbEglsuajiHlffIJ5?= =?us-ascii?Q?Q0U5t1mZ7cXY=3D?= X-Forefront-PRVS: 034215E98F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR07MB420; 23:h7Lkuvi/S0x44BYa2YiO44kJm8VG2+OybmfrTtkd/+?= =?us-ascii?Q?joS61pleAYVnfHNzSyKbwUcgKClS/9ceW/6sjnlBc4DLa6EFkYhU0XsP+N5Y?= =?us-ascii?Q?U9+UdpkFgu41Vn/IwNBFBi+xb63K2Kptk5bQsTCPCDy+Fuy0cOnKNHb3GhzA?= =?us-ascii?Q?h78HRp13tRT9mOQYgZoklz9YHMCXpSLiCqd6fmMZu9oSvnnxLRqh0nbFpdrZ?= =?us-ascii?Q?PFWXtdPjGzL+Xf4RQA+wSbR1kxfG/9uxVYrnoyuEtP6aaPsjtyga4GxV2XrY?= =?us-ascii?Q?DZtRFYS93BLSN7eH0AztkqfRHQeu+PoSdkLBdKeBVCtC2bwFN0b32Mwn/nRI?= =?us-ascii?Q?Lc56Gr9W1K17h/e/28iIZ7k+Y2rI0kZT1R7d85vRbHR57NqGAqHdflGHPMeH?= =?us-ascii?Q?4lqJPxs/BP8vRRjPaxVV8ZAAImJCb2ZpFH5SB1PYHhAe8CfE64HeyQQNlCU+?= =?us-ascii?Q?xCyLFffDlEeMBIrPeo9GOS+Q1ccgaccG27q3D01Kdw5aPOrvUlkunYwVZttt?= =?us-ascii?Q?qP53EJzOrFjvg45ConEDe8M33iLjPKJbSY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v05dgKbBPeu0oxjii5TD7ZQbmbaaKLnnDRh8TXIaIEWGitTe03?= =?us-ascii?Q?lOfqogBgAXOyl3tppVtrposFMR8hVHRhQXwl80EynQ80IZWyABJEIQ1B2NVU?= =?us-ascii?Q?bLf++oADJQtiJMIWQ84OYUe16w+B+eymIS4i6jvcmkQiA1JMm1+6nik50gyD?= =?us-ascii?Q?lWLHdfvXdiYW9iEfXHOrTI7S63VZwcIery6EOfIqmSy1vzkQwJ2M32T2Qfqt?= =?us-ascii?Q?IaDFRfkoya1RTYtwojp9OclYR2snNsRIxG3mzeIj0i+4mdhQF/2uRx98tJJz?= =?us-ascii?Q?5RPPyJZtwStgx4EsebaYkReeo/tjfgeUDaH13/1ja9CjQ7SNydViIO9OXLRh?= =?us-ascii?Q?iJyly524qBB6HAqVeiPQ2Ipm7uWCDYwmFEjP05XGDwi2jM0k0jqEOJIx41Ln?= =?us-ascii?Q?9FTInX7sRuK7jBJ+mQdAslVNaVXRf5JIZKLMY4YSUYbGF9WLe/0o4aq6dvr7?= =?us-ascii?Q?qtArpgopxjVrxnPjjuNHltJBQavXG6OxsReunC/VitXZaDN78j3M+fpL48Z9?= =?us-ascii?Q?TL5WItXSykrddtNVQFVg9eqHxUR4U3CCwTfs3q3HxN7BJ8rzfCAjjdVJr5gG?= =?us-ascii?Q?OPzyxINrzcv+GtOHtqhda4LXPJEAQLNOz18OzfI5u97vCGeucuD2NR8IlLsp?= =?us-ascii?Q?V90kj2rzj5TND2H6ozQhfhfRRtNUlJ2avLOoM9OdsORfsDCboH0BT3tpP6GU?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB420; 5:7VPjgs4haskSyofDx03rZybKgGsmVtexX4mmAl5HPk8gZxMni8IDn+3r8MfBsaQ/Gdz66GGsdAe2VdErymgO5nb/nCscxYXyt/j/GK8wliQxOGsJADPr/pBui6Ghlz2xiy0ivwoK/bh1lfjW2Cqm9pVklF8gtjI1FFdXs+qSmuY3FN2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ufpLS5RBInSjP/XxfVfYH/aIgXSnowZ4EPzekZgUjgZfr11gz8beaopAOHeyVwITvKfURsytu9KmSuq7PLG68+LvTfWREFLMMivwFuZFJcnlWa9rYRPd9d4Epk9epvbMbrAySjMFBLPookJCZTe+pOUd5IEXBTyIKS7eN5nL8vJHW/LYVSDsXz1ZZuoBNCGRqFI4jPB3SWkK77Isu3sjd01d2hBhs8WDsnEGygcqy0DF2iTieo0zZ6yw7eOY= X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2017 13:01:40.4316 (UTC) X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB420 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/drivers/infiniband/hw/qedr/verbs.c b/drivers/infiniband/hw/qedr/verbs.c index 6a0acfa..b1bcee0 100644 --- a/drivers/infiniband/hw/qedr/verbs.c +++ b/drivers/infiniband/hw/qedr/verbs.c @@ -373,6 +373,9 @@ struct ib_ucontext *qedr_alloc_ucontext(struct ib_device *ibdev, uresp.dpm_enabled = QEDR_LIB_UCXT_SUPPORT(dpm_enabled, udata, dev->user_dpm_enabled); + uresp.wids_enabled = QEDR_LIB_UCXT_SUPPORT(wids_enabled, udata, 1); + uresp.wid_count = QEDR_LIB_UCXT_SUPPORT(wid_count, udata, + oparams.wid_count); uresp.db_pa = ctx->dpi_phys_addr; uresp.db_size = ctx->dpi_size; diff --git a/include/uapi/rdma/qedr-abi.h b/include/uapi/rdma/qedr-abi.h index 2684004..54b6435 100644 --- a/include/uapi/rdma/qedr-abi.h +++ b/include/uapi/rdma/qedr-abi.h @@ -50,6 +50,8 @@ struct qedr_alloc_ucontext_resp { __u32 sges_per_srq_wr; __u32 max_cqes; __u8 dpm_enabled; + __u8 wids_enabled; + __u16 wid_count; }; struct qedr_alloc_pd_ureq {
The number of supported WIDs, if they are supported at all, can be limited due to, e.g., BAR resources. Notifying the user space application the number of available WIDs allows it to utilize them correctly. Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com> --- drivers/infiniband/hw/qedr/verbs.c | 3 +++ include/uapi/rdma/qedr-abi.h | 2 ++ 2 files changed, 5 insertions(+)