Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4169722ybi; Tue, 18 Jun 2019 13:06:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmeY/CvxKhbL7arsNh4YGqHTBUzdZ5lWrmDZWeSbaCO8K9dzBMYa/Z5YiORjpy0svjiymb X-Received: by 2002:a17:90a:a00d:: with SMTP id q13mr6954098pjp.80.1560888409541; Tue, 18 Jun 2019 13:06:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560888409; cv=none; d=google.com; s=arc-20160816; b=wmfPtAWw2u9npgLVtWUiqzMHFfYOFr5Q/sm9EPRu5hUssw0pkWZ1K2ugQ8Wt3sby0o M1ON0ubaTM4f7hY2SmrndafVVs7H1DxnqhVYMIMcBSiKtJBdDpLTVlsh7ddEELE7AzyN 5DppBSKPxYU+c2eApREjs/qD7uG4ji2debzO9V2YcLaHfHQs6Je7oOlmMCGl7SQjRJqX 07//zrIx9DVA/T/uqBzVZFpJ5x74qsn3khG+g2UjeHeGiEGfm1uZfFF3E+D7fxWTOMGP Ufx5NgnQ70VvfRZzQQykQEXEhtcyDfwsagv1YdA42vsmqw5pC2gILk9WIYjs9SzAkoL1 tfMw== 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=pbiS99nnqULATf1DLumHtLXJJnWoprRkY3ZjLQuvNDI=; b=rkJ5NWZPmJGffuNRtakzXV6R1SlEUAQZ8ooBiiVgrKFxOwfbOoZ1a9aiqBzmHpAYU1 9IqDasuDHLYlac5eNTpUgPKlu4kHoHNqZPG+9b57saLvAqviga+FAkZYekCrORTUb2Uc nj3XU6IitPmp7KPdf6Wa4QgDymGUCLRpsxo3Sd5keFBXmPx42xsqxdtMVWf2jh+jt22I LZeecXfB78VpFzwhXXAo2k6Kzu/SIfwKJCcSqN4caegH7s3gnZ2473x/2hX9xvo0ZAfM /gPgdtK9jfkJ2A0dyjFTtLJy5k3/V8Qx1kT5/xBJ3ysExxacCdI6t3+ag4L8CPxaxabb Rbtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=IXN7EZWC; 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 d3si3104176pju.69.2019.06.18.13.06.33; Tue, 18 Jun 2019 13:06:49 -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=IXN7EZWC; 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 S1730593AbfFRUGB (ORCPT + 99 others); Tue, 18 Jun 2019 16:06:01 -0400 Received: from mail-eopbgr20081.outbound.protection.outlook.com ([40.107.2.81]:64723 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729331AbfFRUGA (ORCPT ); Tue, 18 Jun 2019 16:06:00 -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=pbiS99nnqULATf1DLumHtLXJJnWoprRkY3ZjLQuvNDI=; b=IXN7EZWC3Se0MuJ9CUz1MaLTTcnQWZVBnMVjdNXgkBc1LSXcl3atQ55Q2RGRKbAdSSTK+TuKi4fQ5iXHdKxuG33GncUQ3alE7SJ48kJQogIBIL4b0jJGc2Jegu5+BSR43eIyZqKkKKS4o+IPnyveQlvdIt4SGdG0oReJLYBX3xw= Received: from DB6PR0501MB2759.eurprd05.prod.outlook.com (10.172.227.7) by DB6PR0501MB2168.eurprd05.prod.outlook.com (10.168.56.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.15; Tue, 18 Jun 2019 20:05:56 +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; Tue, 18 Jun 2019 20:05:56 +0000 From: Saeed Mahameed To: "arnd@arndb.de" , "leon@kernel.org" CC: "linux-rdma@vger.kernel.org" , Or Gerlitz , Oz Shlomo , Paul Blakey , Mark Bloch , Maor Gottlieb , "linux-kernel@vger.kernel.org" , "davem@davemloft.net" , Eli Britstein , "netdev@vger.kernel.org" Subject: Re: [PATCH] [v2] net/mlx5e: reduce stack usage in mlx5_eswitch_termtbl_create Thread-Topic: [PATCH] [v2] net/mlx5e: reduce stack usage in mlx5_eswitch_termtbl_create Thread-Index: AQHVJcdJRWq22DhMyUGAw6Thkk8zhaah1uiA Date: Tue, 18 Jun 2019 20:05:56 +0000 Message-ID: <6eae69d099b2818f03e661e489f87b3adb94bf17.camel@mellanox.com> References: <20190618111621.3030135-1-arnd@arndb.de> In-Reply-To: <20190618111621.3030135-1-arnd@arndb.de> 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: 90316fd5-5dc4-4666-836c-08d6f4285fc0 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:DB6PR0501MB2168; x-ms-traffictypediagnostic: DB6PR0501MB2168: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 007271867D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(376002)(366004)(39860400002)(396003)(346002)(189003)(199004)(66946007)(2906002)(86362001)(99286004)(3846002)(6116002)(71200400001)(118296001)(6506007)(478600001)(71190400001)(2501003)(4744005)(76176011)(4326008)(26005)(256004)(5660300002)(7736002)(102836004)(14444005)(2616005)(229853002)(446003)(66066001)(486006)(6486002)(6246003)(68736007)(36756003)(110136005)(476003)(91956017)(66556008)(25786009)(54906003)(8676002)(8936002)(81156014)(64756008)(11346002)(58126008)(76116006)(66446008)(186003)(73956011)(316002)(81166006)(53936002)(14454004)(6512007)(305945005)(66476007)(6436002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0501MB2168;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: 9Mg10VfE1j99x0sYr4ClpVCtclWvsCyI6ZKeAdsVgvzUIRCuvZQZ1L03/R1RKPuwFQl2UNXsTCCgRZKORTRGe6IWCeb2OCKigdkwKGdoDzuGA6iaDkItjLb7TDXbkieh6atVxEMPhRBOX5Ks2SPhsxbFsYWRxDYckk5GX9IRKPDMJ6e9E0ei8/g8vvCTxh2wL2E7HrylJ7H1xzWMaCEv7EoMxgAe6H6bs4C8x4z5ERrkcYhQ36/gNxgDhIaF8jGStVeLdkkI0iq/EgHsEBb5cZu7m7KyDJ1qpR2icfY8F9i+khzLfcVirfCIfYRy6l6vp8srLu3WNl6bAiR+tvUT52Fc2FYX+6IzHrbKiusNlETCFHeRdf3gYXH7rV709QeeRoyGCnpZaLw50/2pWuq56Pr3RCDU/q6DWNKNMruHfYs= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90316fd5-5dc4-4666-836c-08d6f4285fc0 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2019 20:05:56.0704 (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: DB6PR0501MB2168 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDE5LTA2LTE4IGF0IDEzOjE1ICswMjAwLCBBcm5kIEJlcmdtYW5uIHdyb3RlOg0K PiBQdXR0aW5nIGFuIGVtcHR5ICdtbHg1X2Zsb3dfc3BlYycgc3RydWN0dXJlIG9uIHRoZSBzdGFj ayBpcyBhIGJpdA0KPiB3YXN0ZWZ1bCBhbmQgY2F1c2VzIGEgd2FybmluZyBvbiAzMi1iaXQgYXJj aGl0ZWN0dXJlcyB3aGVuIGJ1aWxkaW5nDQo+IHdpdGggY2xhbmcgLWZzYW5pdGl6ZS1jb3ZlcmFn ZToNCj4gDQo+IGRyaXZlcnMvbmV0L2V0aGVybmV0L21lbGxhbm94L21seDUvY29yZS9lc3dpdGNo X29mZmxvYWRzX3Rlcm10YmwuYzoNCj4gSW4gZnVuY3Rpb24gJ21seDVfZXN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