Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp60478imd; Fri, 2 Nov 2018 17:53:27 -0700 (PDT) X-Google-Smtp-Source: AJdET5diqqx15AAFWp1nWESYXdwK3JB0qDZE+fSDhvD7dHk2j8r19qNUUqORRK+nWDLPCwFOoBvh X-Received: by 2002:a63:f901:: with SMTP id h1mr4926614pgi.154.1541206406993; Fri, 02 Nov 2018 17:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541206406; cv=none; d=google.com; s=arc-20160816; b=Fs5N211RSWgt35NdpKUPfHFYGHryjEYl9Gsti5xXSElh/k9jyNM2DetQRsaq9GhwfY KwtiwhOZJ8rsMflTEFqIIW3PzUyNE69O4AJUT/yWIWZH4lQu1O50Qu2M/eiBQ7WZ8orm 1ecApC3ia6ON0JQzxKpodmeOSZQcyYy4sIEYevQkeBVlYmeDP/H52cYVZnxBxvbcc5KB 1zJV2PrFfNN+vgMlz+ZK5VCYlsqeXYOpHxIlTB4OAJcC84AGx7UC05Pm9j5vrhCwry1I 5uElGbABA44LA4AE4Mlh7aeELAHNSQRZEGKYpIlYntVbw7zgo9ZNq3JqFIhbJsQ6Qo6D mAEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=iuwsjHWMIBABfCtajKbfTWoHuc42mLF2V+JPCRBH5zA=; b=UN9Ic8yIIbGmzgcHfWAezDDe+f/qFJ2ELnmN+dTj7HcdS+xQkML/Fk9m1c9TyBWpEI bGU8Zpny4aHtea+dTYtB0HS5Y1h1aXupNL1LWUXEg1Z+vzZeimjTDbF6nKxnOMJB3V70 aNhSZpkhhkeUDJaqLmZNn1nj8pNXXoy+QifCIYcrTfl1sJXhVKya4fKQ2eDbTYIfBpGG G503INknQ4eDH2Uxg8ioYenNNiKbm9CtCIX7eOQ79SgsqliFpKpdYRVFbHwVC7pnO7xS fIxDj04OkKiIyf20xQBEpAyFAQsTQ5D2bUEtkPyCzBtKo4xKFscE4SyIlDZZjh/tlL6A jiuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=yMY9a1IL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r16-v6si34092313pgv.548.2018.11.02.17.52.58; Fri, 02 Nov 2018 17:53:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=yMY9a1IL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728323AbeKCKBt (ORCPT + 99 others); Sat, 3 Nov 2018 06:01:49 -0400 Received: from mail-he1eur01on0058.outbound.protection.outlook.com ([104.47.0.58]:15328 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726083AbeKCKBt (ORCPT ); Sat, 3 Nov 2018 06:01:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iuwsjHWMIBABfCtajKbfTWoHuc42mLF2V+JPCRBH5zA=; b=yMY9a1ILJIs+4rIc1b56y5H1OEubupencYHk5VvsQo7yqa2+2Ul3k0PX9Fmq9RS3qRsNBkSo6Z4gaZ9CRXFJeCwEHO+iJ6zYYRPdpPzLaxqIUAvGw4fSbm6ftGDNk2m7/ZnOVWYAobDBuiPbKF7W2A9w/R80JAxfeX+VM0fj3f4= Received: from DB6PR0502MB2901.eurprd05.prod.outlook.com (10.172.249.140) by DB6PR0502MB2901.eurprd05.prod.outlook.com (10.172.249.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.21; Sat, 3 Nov 2018 00:52:12 +0000 Received: from DB6PR0502MB2901.eurprd05.prod.outlook.com ([fe80::3c1f:a6d8:45c6:5d5]) by DB6PR0502MB2901.eurprd05.prod.outlook.com ([fe80::3c1f:a6d8:45c6:5d5%5]) with mapi id 15.20.1294.027; Sat, 3 Nov 2018 00:52:12 +0000 From: Saeed Mahameed To: "arnd@arndb.de" CC: "linux-kernel@vger.kernel.org" , Moshe Shemesh , "linux-rdma@vger.kernel.org" , Boris Pismenny , Tariq Toukan , "akpm@linux-foundation.org" , Eran Ben Elisha , "netdev@vger.kernel.org" , Ilya Lesokhin , "eric.dumazet@gmail.com" , "davem@davemloft.net" , "leon@kernel.org" , Kamal Heib Subject: Re: [PATCH] net/mlx5e: fix high stack usage Thread-Topic: [PATCH] net/mlx5e: fix high stack usage Thread-Index: AQHUcsFk3o0flMyDYkGmMaSNi/5NYKU8+hsAgAAJXYCAAAeNAIAAAoKAgAAr3IA= Date: Sat, 3 Nov 2018 00:52:12 +0000 Message-ID: <7d1bb1476459a16343fa0c0846d9181b667ad002.camel@mellanox.com> References: <20181102153316.1492515-1-arnd@arndb.de> <9f214f12ec89020ceb14c1aec25b3a0d968507aa.camel@mellanox.com> <2727f37b-1742-5532-317e-3be8a984266b@gmail.com> <4ebfc3aeb5335a1f671602f9a906f948c39a30da.camel@mellanox.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.28.5 (3.28.5-1.fc28) authentication-results: spf=none (sender IP is ) smtp.mailfrom=saeedm@mellanox.com; x-originating-ip: [73.15.39.150] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB6PR0502MB2901;6:eM/A8iMXdtPMnanA/vMWEtbSf/En51WdpaY5chbJVK3TZR2YoR3+/2+G9yFiLMG21BHOLD2pU5F6nsd6hwxMcpypLvwpT3VxBa5xDKRgCg5dLfUZpxLFt2mdVzhEHVAuu8BLVqtFnDHRMvWnysdh+AZNmdz3uZ7RxS+S+X2aTYwNEVhDaea2e8qG+XPWITdoIAnYbqxZHFYmXBkZJ6Rlov9J6O6UOIYtu1BOsnv8rjfV/8SsxJ53zgym2nsFvoHNPL/ATQDSrocwkQaHQ7S77Pr/6jfsLbnpoiTM5HnvijFGLiXTthBrGpBc69eImk5bgFd6e5IRZdfj+TblEIeKKudYRXqkzdmNaqvkCvRDzY+OBXK2tYTrtih/lX4rrtoNK7w5Av3CgBSthLW/yjgsdtCj+6Qw3zh+Dc6HCKaOKgfmOkrE1z2Ocb9a9zvEyUA/GCxZTu6/kRqLTK3Dv34KAw==;5:JtgsHOxokr3w1RQrM/WfTVACVX1Ay5qeMPeHHyfh/l4sGBQDwc/603r7OWU0H5O7by2KR9xU2+0C2sLqokPo3bGBb7hTaSP9cGP5A7FqnFCIsCMqWKBl849y8Uv8ASMVUYufQKGAO9H2D+10uY/XPPaLYoyDf5++/BM0VqvztMQ=;7:17EsgKgH5PfHqrs2jvfSXPB1ZMvRBRykCWy5K3s/wbpOw7mnz4MVQSl2mmxxnXtBalxXzdgXsid0CUEZ89chK96ixo7+C7DRFL5rU42OlcuKBFA1CZWjIdR4kXDzyd7N2povFiiciN8aIhArWqoSkg== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 868c8ecd-145b-4ec5-5bf7-08d641269793 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:DB6PR0502MB2901; x-ms-traffictypediagnostic: DB6PR0502MB2901: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: 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)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:DB6PR0502MB2901;BCL:0;PCL:0;RULEID:;SRVR:DB6PR0502MB2901; x-forefront-prvs: 08457955C4 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(39860400002)(396003)(346002)(366004)(376002)(189003)(199004)(2351001)(6916009)(25786009)(6512007)(39060400002)(4326008)(6436002)(6486002)(5640700003)(2906002)(5660300001)(6246003)(36756003)(107886003)(229853002)(76176011)(7736002)(102836004)(53546011)(26005)(6506007)(105586002)(2900100001)(99286004)(53936002)(54906003)(71190400001)(71200400001)(316002)(106356001)(118296001)(66066001)(93886005)(478600001)(14454004)(8936002)(3846002)(81156014)(6116002)(1730700003)(97736004)(50226002)(68736007)(8676002)(2501003)(81166006)(486006)(186003)(305945005)(86362001)(14444005)(446003)(2616005)(476003)(11346002)(256004)(99106002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0502MB2901;H:DB6PR0502MB2901.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: qnUmBe8kkv0oA5pI6fXONry5wXvJobMPkTH67xj21KrPT5yETn6MCv2m6bTGVP0UUvTeNZFKDhvSlY5uZBWPBRT8yi8qtfK3ZTK6tgrU4Y2JCA/Hz0bMXIkAjy4SGtuVIeKLNrsu8c4kHWbEoREeQTAPxUA/qFsAiU5jIA4qbuFIOYGog3nODa+BqMCq36pitSdXcjyvCv/qwr6RDJxhwP1h4XDFZFxpwFVhWqO+B/pVWDr8plW+VTGdTeBVaNqpCp3zqNmLHjGTcRzQYGu0veulKrDORjXSfirebsZiD/BASRK+NQR8jK+sE6F2oE/fLQyaUnZHhzjnZk/xnx2knQlQFo0nGy3ojRM5cIUJDiY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <5BF94FB26767EF4FAE3024555BC0A094@eurprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 868c8ecd-145b-4ec5-5bf7-08d641269793 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2018 00:52:12.4811 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0502MB2901 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDE4LTExLTAyIGF0IDIzOjE1ICswMTAwLCBBcm5kIEJlcmdtYW5uIHdyb3RlOg0K PiBPbiAxMS8yLzE4LCBTYWVlZCBNYWhhbWVlZCA8c2FlZWRtQG1lbGxhbm94LmNvbT4gd3JvdGU6 DQo+ID4gT24gRnJpLCAyMDE4LTExLTAyIGF0IDE0OjM5IC0wNzAwLCBFcmljIER1bWF6ZXQgd3Jv dGU6DQo+ID4gP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