Message ID | 20180508182919.23590-3-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 96B736037F for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 8 May 2018 18:30:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 922462920E for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 8 May 2018 18:30:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 85E082928D; Tue, 8 May 2018 18:30:42 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, 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 EB9C92928D for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 8 May 2018 18:30:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756047AbeEHSaZ (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Tue, 8 May 2018 14:30:25 -0400 Received: from mail-by2nam01on0085.outbound.protection.outlook.com ([104.47.34.85]:33504 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755675AbeEHSaT (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Tue, 8 May 2018 14:30:19 -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=jK5YOYDKZLezUNQorBH/CfN6En7UI87+ZQQtvLTBI2M=; b=NV6QcIUa3H2M0KzPxDv8zg75FbFYX5hdjHgwyuCFwNwdrX+53zQQDsvQtWZxvNsG1CsRdDCGyKsAnVEC/sa+L9yvdyQEEtOwmjRR4YuqUzmTr4QwX4vIf2+PEcRF0RjqtttsD6WowTg2p8XzRHTDpQzaGoAK/PZ3/ckyA0pqoPY= Received: from SN1PR0701CA0049.namprd07.prod.outlook.com (2a01:111:e400:52fd::17) by DM6PR07MB4394.namprd07.prod.outlook.com (2603:10b6:5:bf::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.17; Tue, 8 May 2018 18:30:17 +0000 Received: from BL2FFO11FD005.protection.gbl (2a01:111:f400:7c09::142) by SN1PR0701CA0049.outlook.office365.com (2a01:111:e400:52fd::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.735.16 via Frontend Transport; Tue, 8 May 2018 18:30:17 +0000 Authentication-Results: spf=pass (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=bestguesspass action=none header.from=cavium.com; Received-SPF: Pass (protection.outlook.com: domain of cavium.com designates 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 BL2FFO11FD005.mail.protection.outlook.com (10.173.161.1) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.20.715.13 via Frontend Transport; Tue, 8 May 2018 18:30:16 +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, 8 May 2018 11:30:58 -0700 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>, <chad.dupuis@cavium.com>, Michal Kalderon <Michal.Kalderon@cavium.com>, Sudarsana Kalluru <Sudarsana.Kalluru@cavium.com> Subject: [PATCH net 2/2] qede: Fix gfp flags sent to rdma event node allocation Date: Tue, 8 May 2018 21:29:19 +0300 Message-ID: <20180508182919.23590-3-Michal.Kalderon@cavium.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180508182919.23590-1-Michal.Kalderon@cavium.com> References: <20180508182919.23590-1-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)(346002)(396003)(39860400002)(2980300002)(438002)(189003)(199004)(356003)(8936002)(305945005)(476003)(50226002)(126002)(69596002)(5660300001)(51416003)(47776003)(76176011)(2616005)(81166006)(11346002)(86362001)(81156014)(8676002)(59450400001)(446003)(486006)(107886003)(4326008)(72206003)(1076002)(54906003)(106002)(48376002)(16586007)(110136005)(186003)(478600001)(36756003)(26005)(6666003)(50466002)(336012)(106466001)(77096007)(316002)(2906002)(104016004); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR07MB4394; H:CAEXCH02.caveonetworks.com; FPR:; SPF:Pass; LANG:en; PTR:50-232-66-26-static.hfc.comcastbusiness.net; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD005; 1:i9KGjHb5YMACHBeLibI2mnrFfru+ZYOJKulXdGeQCrMaTv23YOPO+jVIvVCW8z1bOabP6YZs8VCvsZxiR6IDzK5bDud/0vA7Ju804USKqyHLzDluo+6PruSztCW/XasW X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4608076)(2017052603328)(7153060); SRVR:DM6PR07MB4394; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4394; 3:d8wFRDMS8cK3pG7uepMQ0vzjoWM1Zl/XgNTaRwrKpKvYpqmW1h4vx9TB9Bsb820kh3csAYwm7dSarVi2/XZeAM8u3bJPQSiTTeyUdrnluCyJx7pNRn9fUjr+rPt9WHhKd8vSHiR0avx3Q9tEXkzHiVvtFHqj9zaOvlcy5dtsjdSfv2NJx43jdXTbrJqUdO1zusqueGl7fCTyRJMoFA0vRErfaHKKtIdcrMKc3pXXyED181ItRmhzNxYS7pPFsUXH9qgDv7k1+24CnXMAfJlUeh0xTv42KWl9PN6nzmYpR9ncHxn8dX9aUg1YlcpNsKuUkHvvJ2VWjzbMYSSNguMb2wV+CavWybkswfZ9J+rkfa4=; 25:dFGKhzm6dhb26RVkYYmTPEuzCX8K7F+hiIec90KVA0Nq/4406UxcGRynsqaia8U9qIJFL0jx/xrhNjjJxV3etS+FEFKd8Ciam5SyMsX3rpffCKCqu9c8jW9y97t0lpgU8n1uW9YrJeeaJ45trw9NqOA0gD4yJPyuktrMe3EG+QIq3gblBOeIBxe8ihEJfV8TRr+UkQpvDDfWrK7KVeMy7W3djgkmSg6NYnMRHm9m0ZlJxTiUKT4qQYw8DU6UAoL9geBizZNeIG/1ayLAY1sSOqWt+n+0tl+XLzYlqeZwhn3K4/+y9B2dQnJ0Gprn822aL67DeDPbQ7EfkgHf9QhNQw== X-MS-TrafficTypeDiagnostic: DM6PR07MB4394: X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4394; 31:zZxmSu+9v5p6TIIZ1JfRREvhUodB6gwyGbwiBJ9EGKMRwNeuo2qU/4hEtbgzl9H4G4Mvfm75yY+FXdALLsiSj7Zyj6NpTq8Avq5jNmOy7XaaQfA3KAaH3yJnkv96EJ8Pk+HpDO6YSycvbWZ1coxsQHgqppEK7mij7ezdZntue6xUUX+EdA6WXlmMSVlLJ8UiHkrcRL01fRTA0eMMTy0HP/QPWfwWY6EWKohlASuI9iw=; 20:5X5w9rRtxzR2897awPcJQLPic3WQX84choFUHigFNQ+IuQdf/Q7TVxJzSn9ACEFvVkjCKt+qLE3trucw6UrRNJH74KvvBKG/NJxGllfkc/97J1gE3VUdzcRIXIOK8+JawBseIt/0TSbx3wBxpSEX/a7A3Y2ktEB6l+nwU48cdMHE8sdx/Bh6OBFhMbjogGycnsxoE/BIStgGye6skEZdpghmzyPIlVo7AR2oxHzSneJy4zPBZ4XYY8iYu74TNTWoeHMsZGLaJU/AY0bCJJ9ciwCtN5CnqwYNmR9q36Qj+O9t7BQvPGzQRzA34b9fGjBBVdMjjUU81CGu4dAPUB0LpQ9J1IAOmnMCMQg9KzTtKVi6IPujIuezL0AYtViIdwMW6+G38TL+78rKczyHbFjeVZ04FGH9fukiwWo60RtKZcDbmAfLWuNZhiI+/RAZdg4NHUdQnNpZONMh9797vsIde79jNvPJ7AJzUiOm1lv539setvMC95lK0Sej0wch1hhq X-Microsoft-Antispam-PRVS: <DM6PR07MB439455FD0F7E2242C4230E48889A0@DM6PR07MB4394.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93004095)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:DM6PR07MB4394; BCL:0; PCL:0; RULEID:; SRVR:DM6PR07MB4394; X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4394; 4:QUiJHHiV3/oiu9Mad38SI2YCA7zJRwtAWssb/NMfRhu10lX+6FLML8MWg639XtD0SVjqNpid1ug9dpgNnN2iUx86QjEsgIGOMNIAOk7Ych9KfJxxtqSoI5bUOsGqu07qz4JwyX25Gv+T/jJwn4TUcenBBiKQmNqiTKOlntS7PysCRbODEzvTHuEvvF6g6U4BZUWnGhlLQE1H5e9BD8kukITLl9VFzzuor+PTKKd2z1MG2r+vyUQRCyVjCYsRE76Wa89uBoRfpAfIYP4a082qJA== X-Forefront-PRVS: 0666E15D35 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM6PR07MB4394; 23:0x7+tSYKSG0tgF/u88I46V8XUR0M7iZwghmAEAyjB?= =?us-ascii?Q?UWwn1AbroCllObtt2ztBSPxjmwWN5BuupEG4VM+Lv+uMAK9giLG6JI3OfYHu?= =?us-ascii?Q?2TeUNX1c/RseVEe5xCS2glIFMDClXTgJxr+guWs1c7qKyTbeI7RfUkKKNDPC?= =?us-ascii?Q?rMfMim+xCGcJhlCjVpmOQ4vyx++oPwW2fb/TxTQ/50RDXdOokvKZGnnbIJbj?= =?us-ascii?Q?ojCfbvh5Rsh5PkBN4veKSu70mzpjmjzs32735b3DSGLutC783TjHerTqYIrf?= =?us-ascii?Q?xzXXZstv1hc6vx6ZaB5+rU5DJm/WdpAu57/Olg3Q4tx98kOrHh+BNQnQmi2e?= =?us-ascii?Q?pi5elCR7ltJvSwBwaUV/Ih+XUHzhm6lFoNvxrNJmZud6PzR97MzZCpVPI0r5?= =?us-ascii?Q?NXNxjjmmdg8J46FMyjksNjWQKHDjDyKvqLD2vSaZS7VYgqAfiotlQlMdyTxZ?= =?us-ascii?Q?nE7bdDOrv8G/0wC4so4J29EZxBjx3ROFRBseRRn9m4oNCC5UMsUN/7mYWAEC?= =?us-ascii?Q?N51RPYPDTsZOxLJLrna64U6lRV++PHq7WI3pga6U+LY9JaMHt0IaoavRJffy?= =?us-ascii?Q?y7oq0mgEo9fpfnCByU4pdnTNgAWtFqplaKmK7uZ7+s5l/CTtxIwH54CIHQoz?= =?us-ascii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HeoP6sfldRNfPb7h0byBji6CNACX5UYvcioy93JrpeGUwZnUvIuAIk+ShCRDfmrSl9hVW3HKOAKy7y6DY+XGj726bzkqV7Mx96KybSUCP/oItiv1ws2hFtYUWPmeueivH8bCwOyI7tnaUQ1KpQxF6lCVHKPfqIW93LBj//IQE/0LLZGJieAoNyurjh+qFk42zz7gBgW+upC0rtdALkWt2O4WD8pZtKOR8B/HkCjV4F/WywMF1lVbfd02dEPynI/g==; 5:ycIO6E3nGNHW8ylsFbCTebHyZ3cwr0xbv6wA5bZxEw9Rm7CeM92EytnUZ46qaj+rFm9tGiJbsa/LBHvFNYcROcNfaecP3GCzlo29V236Bn9HzBdJ4lxaliavX8DwNIhDGAgZHLIlroLFhb56UMJTOvQFvbdk5VMBBd/1dblVaAI=; 24:t+Hy6f9gbuCejuJ50rM2VT4A3tfLA3027EUA5d+CarD5JA2qyjsct7K7fvCSS6i+K9seB5l7gBXwTDVaKKl8OQOtoLa06qBtoKq9b/ufVSs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM6PR07MB4394; 7:wYIzqSNjli5WUvy7aMldOIVcvxm+KKfbYvvg5j2oeDtFfcyTLwBOqLjL6Od2nKFS8xPIfN6Oe6jQ8hV7Ua5LK5UwNPztqXk0GnpZipP/lX+GMJbt29LqQeEAaGAteHu+rXxW4xDuzNKeneFN3QX6f0B+Axvhr7GSSVya0XsYse4DFvRr0+xPvlqq+UcUT/1Qq/uMypub2Q1q7srApL6CVywtwCmZzvxYyumTvX2QvH1fat4g0VAvdJjbStGfL6jC X-MS-Office365-Filtering-Correlation-Id: eaf25abe-f955-453a-e623-08d5b511bf62 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2018 18:30:16.9206 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eaf25abe-f955-453a-e623-08d5b511bf62 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: DM6PR07MB4394 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/qede/qede_rdma.c b/drivers/net/ethernet/qlogic/qede/qede_rdma.c index 50b142f..1900bf7 100644 --- a/drivers/net/ethernet/qlogic/qede/qede_rdma.c +++ b/drivers/net/ethernet/qlogic/qede/qede_rdma.c @@ -238,7 +238,7 @@ qede_rdma_get_free_event_node(struct qede_dev *edev) } if (!found) { - event_node = kzalloc(sizeof(*event_node), GFP_KERNEL); + event_node = kzalloc(sizeof(*event_node), GFP_ATOMIC); if (!event_node) { DP_NOTICE(edev, "qedr: Could not allocate memory for rdma work\n");