Message ID | 1516700027-3361-2-git-send-email-Michal.Kalderon@cavium.com (mailing list archive) |
---|---|
State | Not Applicable |
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 A75236019D for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 23 Jan 2018 09:34:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90EA5285D4 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 23 Jan 2018 09:34:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 84017285DE; Tue, 23 Jan 2018 09:34:57 +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 6696D285D4 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 23 Jan 2018 09:34:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751353AbeAWJes (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Tue, 23 Jan 2018 04:34:48 -0500 Received: from mail-dm3nam03on0086.outbound.protection.outlook.com ([104.47.41.86]:21755 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751141AbeAWJeo (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Tue, 23 Jan 2018 04:34:44 -0500 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=8BvKO/WKnX8qPN6YJwgXkR+TnR77CXzdrPsKd4N0I18=; b=Pb0p/r3MoCUW/jKQEPZxNdW5WYJ1cEApgzZDej5A19P2fnJ/hPmfPwPRfh+bI6It0IWQT/FYMCliuzPOm/idcalMhaZMwLXobG9k5o1vY1KuI9KproCM74vxeqQFMZQsfA93tPOJT9SekIQJeI7ajUnTyvAcSQr483Az8mG+0SY= Received: from DM5PR07CA0045.namprd07.prod.outlook.com (10.168.109.31) by CY1PR0701MB1946.namprd07.prod.outlook.com (10.163.141.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Tue, 23 Jan 2018 09:34:42 +0000 Received: from BY2FFO11FD016.protection.gbl (2a01:111:f400:7c0c::121) by DM5PR07CA0045.outlook.office365.com (2603:10b6:3:16::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.428.17 via Frontend Transport; Tue, 23 Jan 2018 09:34:42 +0000 Authentication-Results: spf=fail (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; redhat.com; dkim=none (message not signed) header.d=none; redhat.com; dmarc=none action=none header.from=cavium.com; Received-SPF: Fail (protection.outlook.com: domain of cavium.com does not designate 50.232.66.26 as permitted sender) receiver=protection.outlook.com; client-ip=50.232.66.26; helo=CAEXCH02.caveonetworks.com; Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BY2FFO11FD016.mail.protection.outlook.com (10.1.14.148) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.428.12 via Frontend Transport; Tue, 23 Jan 2018 09:34:41 +0000 Received: from lb-tlvb-michal.il.qlogic.com.com (10.185.6.89) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Tue, 23 Jan 2018 01:34:39 -0800 From: Michal Kalderon <Michal.Kalderon@cavium.com> To: <michal.kalderon@cavium.com>, <davem@davemloft.net> CC: <netdev@vger.kernel.org>, <linux-rdma@vger.kernel.org>, <dledford@redhat.com>, <jgg@mellanox.com>, Michal Kalderon <Michal.Kalderon@cavium.com>, Ariel Elior <Ariel.Elior@cavium.com> Subject: [PATCH net 1/2] qed: Remove reserveration of dpi for kernel Date: Tue, 23 Jan 2018 11:33:46 +0200 Message-ID: <1516700027-3361-2-git-send-email-Michal.Kalderon@cavium.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1516700027-3361-1-git-send-email-Michal.Kalderon@cavium.com> References: <1516700027-3361-1-git-send-email-Michal.Kalderon@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)(376002)(39380400002)(396003)(346002)(39860400002)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(50226002)(72206003)(8936002)(2906002)(48376002)(77096007)(81156014)(81166006)(8676002)(26005)(104016004)(85426001)(50466002)(86362001)(305945005)(336011)(2950100002)(16586007)(5660300001)(316002)(6666003)(47776003)(36756003)(54906003)(76176011)(356003)(105606002)(107886003)(106466001)(478600001)(4326008)(51416003)(69596002)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1946; H:CAEXCH02.caveonetworks.com; FPR:; SPF:Fail; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD016; 1:STedHHtSVPSBTIWbavWsHKEtaQ4dL0r5duyFp62iNCh06wWd4rJdXnJclIvyQnHjodWMtLtzxfvI7Rqkd6zaZTG8Sy8qaBnu4Oiw0jj9lnY+MbL84eKzt4/nWCF6OptS X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c08d4013-a676-4779-0e19-08d5624487dc X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534164)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060); SRVR:CY1PR0701MB1946; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1946; 3:WRI0AqSbH1jDXJTXTUUu/dJ213/8zGGsIUtjlswWHXZ98ki7gbgTaAqCErBa11kHFX2mqXh2gwl9rNqqMdVph7Jj8bIqHvTjV+fWJUc6BNpmV83iyF3qP5vaknWNtmi2v5wcNm85Ai+giPJ8ktmzdJM51FW2KX7n/v35JnXPibAwuejMrdDNcCn029Ld2rCpr992fi/UTUnvy7GsPJtCe1eW/zUdO3SBOJWi5dk/ug7pJYSAgYwNgfiSQi62y64ezFmWKzqUi/089eY460g81BQ8RBV47z2vWdKOcFiWcplmOprcST0iQ4IDjhY8yKHH6SkQtGQfwJmx+eHDQ8bTNuFRkdowtyGZJLpHAfJVFSQ=; 25:sW8o8m0JZ+R0PjA1haX0m5mtE689rl45mHcJXwbGSHhF4i14AGY5Rq0VNtNqBTXakjwFTbb1qipbZIua741zQ5e8OVFT4LL+u8hdYwaOvKQaGlI4M402FqJcHxWaQDpmnLP+lvi5L36WVQuHy7sSIs8f5AXLCuu9KN1pk5r6mJ/ztoYD0OEhBrEdZfaSuhRC7d0zlfabGfYhwd8w8yHO/ZoXH6vQ6XOj2WKlBdNVTka3RxfG2Je7nI5rAxc7einaktJt7q/TeQMMoCZgjcUnbQy7zi78iTmODqmnJidUiyYMTv5Kc9zsVKAO5PV9THsuaY4XK5OP/zcjzPIBxYCBDg== X-MS-TrafficTypeDiagnostic: CY1PR0701MB1946: X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1946; 31:IvQcq20J30bjZ1tPBSjnf4vsGB995en9QjUjTRBa51YNWVIGg6JJH6M4BvRg/0ylW4R4jAWOyOsRJ6miIneJDFBIvb4desV7b7fYhEm8boIaya9UFQRmSr2XWu8ai/wM2bdCERPk2pQZ5ldM9CVkoh4lntGGrkXiBfQTDNmQzzqzlmHgF/p9eSpB6En0w8YIwIWl6wSz4UnL88/AmLkODpIZZu67eU/4NEvTmU53gi4=; 20:oXXcxbl8wmCUYDjcMgBRpBBYMJXkSflgxeSr70gz3uQBbUE7NPlBU1b1hSJYBGGuB6RpgRMuWMYEwWX+TlpBtKEWGpmcugBW1Qd3V0Db63WkAPOlnyctW63xoAevyFoVf7sFsi12rf4MYbTNjYDEen3jPmriThQ50jEIO1lsTgKhCrcfqyVIfaLPTgyt+Z5A2K56jXAHlouP880kiJur+eAiJbeeMllHKNdhtENuNlpY/UfOFRDt/jaQ9uBUVNqIslK2+6YhZNRtXpZZM34g9afAvqkPVzRHZLKLzWSRtH6tPfE1gwsr97wEnbs+1IqpgQlt5vwAgUdBycYJJEVpKqftW5OMCcvSArRp6FVy3qBvCaBOIS83mrkKZmGc0LCYbfuwXhZbzycRkWVvt0Gu6tuh9lPbAXkQvENM/3oZfKb4KVytDL8m0V8ySSDQpShN7EWSaQvCHfa8r3qBvtM15DDh+UpbXpweThKLVJsWFhqQ/e2Wdsq2bwvvj9kmhm+C X-Microsoft-Antispam-PRVS: <CY1PR0701MB19465373655851477B069C7E88E30@CY1PR0701MB1946.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(93006095)(93001095)(3002001)(10201501046)(6041288)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:CY1PR0701MB1946; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY1PR0701MB1946; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1946; 4:oTBvipwqNfDSi3bYPlp1YjefQpTpvbNc2oMOhbypIUjQ9OfYXTYA9stTwIJoCraeGo/lHoR/+ffmzHDAX+M0cR1+mztda27TL7VEbS4Cl0nUVZRujQ6iEAI8+nOZqXl8kWvCX8EjuLs2s2Q2x9BLliHqN+smOWovB35I6TjegpXgi74Bb/mUPXgihvIQOgfcD2VcB+b5DH3UbHmaaLKklG0qmKBxbMwzSZ8+XC9pmNa4GnSijZSkVAM8u/azerXDpS+oxuTbQOWkn+QRYoiWFQ== X-Forefront-PRVS: 05610E64EE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1946; 23:Q1elZDFseAR6TSxtEFyxfaerUWxxJV5V/P3ELEa?= =?us-ascii?Q?WWCVncETAewKDGLchtFDXgQkQmwG0ATrYAiT6mgY0J900c4g4M/QXWjLsWqC?= =?us-ascii?Q?eCu6O/COBLaT7wpaVkTaCth27Wi1ml1D9Sr0hXpW0cB9W3aXLDsDNnFJSgYi?= =?us-ascii?Q?7MedD2oxwb9WRujR+s5/jmZLJyxFOkDgvpdUC/RYLFMFELYf35UEpBwRB44d?= =?us-ascii?Q?Yxi/+g+zgNOWj3ZgHMoDjxbB+ncJ7xLOGm5OCfokw9zmGXpG3xTx+UeFOyaB?= =?us-ascii?Q?F80RWO6Z6Vf00s/benWN98l2G/71mSGKWFsKX6Pc7VQAEnuOzkCh9svbznor?= =?us-ascii?Q?ZAo5nmpAV90hCmLmMvI9gAio1+ehC3zXdr/Y8L6qfXRg+tSkkMM2dgPT2+3q?= =?us-ascii?Q?yNAFb4EOKAM63yb7lBKIeyr1rkLg5F1EB16BHH24emeYAF4RChqFYWWuDbIv?= =?us-ascii?Q?hrswsPK0CZ/N1KQde8lTBbosEZiRXxpbREWTiFN0r1476UaX9+3t0WVahoOz?= =?us-ascii?Q?zqcsy3eqqVg2BhdT6OWhlZp0H7YQsBa+2ifhmY5cFaf7i/3Xh4oiXZKvplS0?= =?us-ascii?Q?SvIPidTXJAxbCfyCTRHkqBscu1OIMjdfPw3dY9J4iY+aD/+9ZLo7q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hau5NIdbLhX/HuzH/PHHRvYHVCVlINI0RVDLgzB1pSjga13v/F11Ep9Fg=; 24:UHaL3ozKHQFoUXeelagZ88eHeDNx9SptJU2ztSfT9eSCb5ailyjEbTBtMYH9eyk5KoAe6rKakUfJPldnIqN9cfm2mCEeqm1egSRCI1n3ZRk=; 7:DMXUfN7lvKou32/j6f0E7ViVaMe3sB3FRAPZEBmDx3hZA6YKaVtb9IoMDH46jSw8390+uywSLB/C/gBNMZ7BBZlqiKsYFCQYdJOTMqu6sdXdaobapGfoCpV//+8wXAVakkTBZtiJgghRGvpmg8Jkx1L1V5/v3S15xAt0p6ATUczCutFNviGliY07SqMEioJxZmEa9y9cxB4Qor2wnmm3bKgVEkExJ+D/w9I7jt0apiHQwak/GcevRFbzVKaP1sO0 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jan 2018 09:34:41.7253 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c08d4013-a676-4779-0e19-08d5624487dc 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: CY1PR0701MB1946 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/net/ethernet/qlogic/qed/qed_rdma.c b/drivers/net/ethernet/qlogic/qed/qed_rdma.c index c8c4b39..9d6e2d4 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_rdma.c +++ b/drivers/net/ethernet/qlogic/qed/qed_rdma.c @@ -615,9 +615,6 @@ static int qed_rdma_reserve_lkey(struct qed_hwfn *p_hwfn) { struct qed_rdma_device *dev = p_hwfn->p_rdma_info->dev; - /* The first DPI is reserved for the Kernel */ - __set_bit(0, p_hwfn->p_rdma_info->dpi_map.bitmap); - /* Tid 0 will be used as the key for "reserved MR". * The driver should allocate memory for it so it can be loaded but no * ramrod should be passed on it.