Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3005907ybi; Mon, 17 Jun 2019 14:31:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4/DHqU7inz5dF1EEWZRKWF9hBqap0cBbN5ZurCCGoK6w7/e1B0s4BcU5wPOkpIwbhKF2b X-Received: by 2002:aa7:80d9:: with SMTP id a25mr17599104pfn.50.1560807078469; Mon, 17 Jun 2019 14:31:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560807078; cv=none; d=google.com; s=arc-20160816; b=S2aoZNCFPdTM5KFzg6MEefwA7uSTUkB79C/laF/BK3oLyqIggiMXZUQxIgfN5tLZxV LWh+P43233tx0eBeEf9E5he64n0zDm1whBEhLUzAq2Y9ju9AkXNXvRDXruccyP+27Ahg g0QblCUI1vFgCYSBV5ifkFc66EZPaRfTc/MnflaX6cerIFfx7PcgDh2Ai53XBOE2txNm xkOvKMY1A2cXoiiqv6NLlwprYWddseWBk64z6MobMBKEDpHtJAHBDXZbDLUaI9fN0NFY OWymHBCYL0VgIDTyT6QzDD9X4hefX1bKW1rvL9BHeKf799XoqqoDBGip5I3cHFWjqgsD Yt6g== 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:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=ClbX7gI+g19ootHc77urvl4dDcTDkQH5RQvmAIDomRA=; b=WjMw7/at5MR2evCU95oXTaXIdeh9KfSIlbYqKHRSYKGnRpCE6DxhwblA43BEhP893V wBnYsNJRnilr7ddCb3K4n5Fyqij0UQ7qyVb6aBg8IsLSDObDnly1dpa6/YhgUXLf6SZj xD6RPBS42s2ReVkREtayRL2azKXOyQhemwwfpnxw7ygSeBZYQLLJ19tX0EiyJtnpTWTU NBtfPel0xf/qPWHZe0n3VCFeEWGMdonh7Uj3AxlIBNTrb+7jYekWl9IAdLwqIIEg/rMX vNZigQ1pAkO2pAWlghNo0TfLgYvEWq7gH2lR6zB/isHxxUHSgob55xJUlA4AsuhrRsxs wEgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=JCyRDbVi; 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 j23si11144810pfh.215.2019.06.17.14.31.03; Mon, 17 Jun 2019 14:31:18 -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=selector2 header.b=JCyRDbVi; 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 S1728769AbfFQVao (ORCPT + 99 others); Mon, 17 Jun 2019 17:30:44 -0400 Received: from mail-eopbgr80075.outbound.protection.outlook.com ([40.107.8.75]:49580 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728934AbfFQVaj (ORCPT ); Mon, 17 Jun 2019 17:30:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ClbX7gI+g19ootHc77urvl4dDcTDkQH5RQvmAIDomRA=; b=JCyRDbViwTTI4HqS4P2XpiCJah5GAQ3HPnMdPebjMpsj758RTtgkBBiIPVmoNx1N2IJDlGrHwjOtcd5PVTgfHMPPhjz5BNM1r+rJuvCZN0zT3LSj0ZwexmPAymhaWUZ3WaADIXlPjVdjo/pQ9H5N26mNBqvqoDbareoQCJgi+lQ= Received: from DB6PR0501MB2759.eurprd05.prod.outlook.com (10.172.227.7) by DB6PR0501MB2230.eurprd05.prod.outlook.com (10.168.55.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.13; Mon, 17 Jun 2019 21:30:35 +0000 Received: from DB6PR0501MB2759.eurprd05.prod.outlook.com ([fe80::a901:6951:59de:3278]) by DB6PR0501MB2759.eurprd05.prod.outlook.com ([fe80::a901:6951:59de:3278%2]) with mapi id 15.20.1987.014; Mon, 17 Jun 2019 21:30:34 +0000 From: Saeed Mahameed To: "davem@davemloft.net" , "arnd@arndb.de" CC: "linux-rdma@vger.kernel.org" , Or Gerlitz , Oz Shlomo , Paul Blakey , Mark Bloch , Maor Gottlieb , "linux-kernel@vger.kernel.org" , Eli Britstein , "netdev@vger.kernel.org" , "leon@kernel.org" Subject: Re: [PATCH] net/mlx5e: reduce stack usage in mlx5_eswitch_termtbl_create Thread-Topic: [PATCH] net/mlx5e: reduce stack usage in mlx5_eswitch_termtbl_create Thread-Index: AQHVJP0SzELjx0H8KE2MySy85rN5zKagVfkAgAAH1QA= Date: Mon, 17 Jun 2019 21:30:34 +0000 Message-ID: <69c6a9cfe132a4437bc7d481fb9aeddbe57f7114.camel@mellanox.com> References: <20190617110855.2085326-1-arnd@arndb.de> <20190617.140230.537297372523260104.davem@davemloft.net> In-Reply-To: <20190617.140230.537297372523260104.davem@davemloft.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.32.2 (3.32.2-1.fc30) authentication-results: spf=none (sender IP is ) smtp.mailfrom=saeedm@mellanox.com; x-originating-ip: [209.116.155.178] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d6b8f39f-9a8e-4f42-0e30-08d6f36b0889 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DB6PR0501MB2230; x-ms-traffictypediagnostic: DB6PR0501MB2230: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0071BFA85B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(346002)(366004)(136003)(396003)(39860400002)(189003)(199004)(256004)(8936002)(14444005)(476003)(486006)(2501003)(102836004)(7736002)(305945005)(6512007)(76176011)(6506007)(99286004)(2616005)(186003)(26005)(316002)(58126008)(2906002)(68736007)(110136005)(54906003)(446003)(14454004)(478600001)(91956017)(5660300002)(86362001)(71190400001)(6246003)(25786009)(36756003)(53936002)(11346002)(76116006)(3846002)(6116002)(73956011)(4326008)(229853002)(64756008)(118296001)(66556008)(66476007)(6436002)(66066001)(8676002)(66446008)(6486002)(81166006)(81156014)(71200400001)(66946007);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0501MB2230;H:DB6PR0501MB2759.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: IFRitn3LhFvbSEF2+YZu8zMVTYiiS4fH/l1uBz7vK3RzhImAe+YgRKf/kM0nwgPCUALkWE1GX52pnMLhAIWXpeno7BR9CqBc8JgnC93iWafA//ijm8Hp+ZnOdw8Fo6tnCrNyPOd0rvfKtISJY8mRYcL9oHB6VbkUZZgnPSkK+iStjyxBDHbjVcgzSX/Eqy4qVZMjAmna3ui2TDhQ+ywqa0RWF2cyxpyBojUEDtqoABYnsXlgSTLwWCWnhJPaBs428zwsZlNmwUpboWtF0D3tLg6RlfKo/i+cuvCXVfSUuC3y1pLfnyz5YG/M3Ey+UywYPT+b+w2PhhXgJY1cuSWiunKwOy4rAZAvzIHrWd7/vAbtQpm0ElShX6EJ6IX0Q7uFOR55iuR4KgBA1MdSPgqMcE8gWFkCKnM/Jykjd/aab2M= Content-Type: text/plain; charset="utf-8" Content-ID: <23411EEE6753F64894B885E3F75CECE2@eurprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: d6b8f39f-9a8e-4f42-0e30-08d6f36b0889 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2019 21:30:34.8833 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: saeedm@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2230 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDE5LTA2LTE3IGF0IDE0OjAyIC0wNzAwLCBEYXZpZCBNaWxsZXIgd3JvdGU6DQo+ IEZyb206IEFybmQgQmVyZ21hbm4gPGFybmRAYXJuZGIuZGU+DQo+IERhdGU6IE1vbiwgMTcgSnVu IDIwMTkgMTM6MDg6MjIgKzAyMDANCj4gDQo+ID4gUHV0dGluZyBhbiBlbXB0eSAnbWx4NV9mbG93 X3NwZWMnIHN0cnVjdHVyZSBvbiB0aGUgc3RhY2sgaXMgYSBiaXQNCj4gPiB3YXN0ZWZ1bCBhbmQg Y2F1c2VzIGEgd2FybmluZyBvbiAzMi1iaXQgYXJjaGl0ZWN0dXJlcyB3aGVuIGJ1aWxkaW5nDQo+ ID4gd2l0aCBjbGFu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