Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8748780ybi; Tue, 23 Jul 2019 14:25:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcPYMUQBplTZYUTE4F7/2CMrdtsAUbMo/SQyVdaUVW1XMXNK3Y/mLj4LBX5s+G5h2zo3R8 X-Received: by 2002:a63:c03:: with SMTP id b3mr13889692pgl.23.1563917146510; Tue, 23 Jul 2019 14:25:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1563917146; cv=pass; d=google.com; s=arc-20160816; b=UOFwgF6h7GIDZ2XPbSyyuPMGXK678lF80OKkGNgtnLFclZBxm9roo7TiTgI9lKo2AU UxJ3IE1ykJ8rQDD36yqeu4Tkzl/HC+c9FExAMy+50PIKnW2MQH1q0xdxJc6NdRT3UFNN P1cE7WCteeLOyGl4UR42E2kb4+qkxKW8diqL9zLv8kw9BwOtlwvo/GKBLnSf1tz/+vIY eBx2w85w5Xl7Rgay8OeSqxkiEW9w7t60hRSaXBHFuHLZv5bDGU1/lWrq25ko/Duz93dK KqNhtaTEIu+Vf/4OhKuJYBK7o0KUJwqhJqKT6+eDDp7Pux1b+Msnf41m6uLYLlDVoSzX Itog== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=AhVGkxJ5cxbWROktfi06/b14iV9pFaAg/pHaU+f4o5w=; b=PzaTm3CSwl2VIxAYGL2HiZlRN1/KmpaUy5h51nqmYDjQalKiMilydwqnarQMLOU72+ AATM0ufB0shPYIMcGV+cJC2b7K9Lc9rkbT5IACOCoi2XSEFFUHc/tJ5uCK3sBlyse7SI 5zw3QRZ1rn26pJZ3wameomxNXQlKFGGajE3Q4BBe9Pr4USWzB613K49LyrcONqIFhIUH MIyS6eOnP6MJJ3eX2gcVSXTPlT8vQXDfaCGLZro3XJCGChzWlECY41Ek5p551qU4iw/v 5UI3rzji2ibBEakxLpdXhz0Jid0VBGbmFRLs4WNXjMm8sHx0klpFpwa3U53xsIP9F3lF sCAQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=lZZsco8v; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.com); 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 x22si14712118pfo.255.2019.07.23.14.25.30; Tue, 23 Jul 2019 14:25:46 -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=lZZsco8v; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.com); 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 S2389306AbfGWLVu (ORCPT + 99 others); Tue, 23 Jul 2019 07:21:50 -0400 Received: from mail-eopbgr140058.outbound.protection.outlook.com ([40.107.14.58]:60899 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726709AbfGWLVu (ORCPT ); Tue, 23 Jul 2019 07:21:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vhq3bfKVSCXvGFaGMlAlcstL609rCUQaRklE0cmv4YUgU1HEYKZBzanMXRYUUo415v5S19N9JYxp7onWxIR41ag/POKlDRnhc/sw0y8S5HrGAl2bSS6oc25KlDI5dp8ERi7Jqn7nZFbgwNDgtdRG2eaZcfGoK9zStVa15s4tvp+YYPuBb+xArFzHBWq8VKPV6kIt94IGZMoevIo+k6ShA6GEI5HR0pb0KiPvwYDxvgZk3tccB30nGNxpcGDZ4Mq5A/0eFtKBP8hfOvyGaY1cdeMq8oDlRR1WhgzaGH7gFMAQ9CDJLogZY7kenmeSU3U2/RmyhSUDKwIgp3Pv+EYp3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AhVGkxJ5cxbWROktfi06/b14iV9pFaAg/pHaU+f4o5w=; b=dSqR75QrhYXgVngu3aXP9OwEe+J7BZaIrMDF2zBTEG5MX175HzkpmmfxY+0/qrleXpXYNQcigsLVDHKUTfVc6I0zrp+9EJ7CMGzmUWXSPATRkTmD4N9hQKhqhO7NKd5g5X9YkKbblzOxgag200b4sCxRu+Dw0aqnLJYYBUdKQD7Yg5UxFmEcL1OIcQbbN7Bm3DqVXIQXbLViK0QjhAeUDOJDojsEi5xAB+92Zk1TmOhXAkIiXJMp7lirI2ZwafiH4OZwuQrxVqSPjUonDn6sLFcPFr6UEHuZamNLZiFGPOHIaCKmlYWwK0ir8SLJupfXGOujmf7Tn8/GZgtQMXhxzw== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=mellanox.com;dmarc=pass action=none header.from=mellanox.com;dkim=pass header.d=mellanox.com;arc=none 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=AhVGkxJ5cxbWROktfi06/b14iV9pFaAg/pHaU+f4o5w=; b=lZZsco8vI+n1NUTpvh4EsC5+or8eSvRrqasf7LMcJLuWzNbue70ObkLXB3Yv3YMXXFOmpb7eso84A8ij1KM4z6NiuzPfG0hg1s89m/7txqB0RNq93BBWcTNxPH1mDACx1OhJCBWaC877WJZCMIfkOa960QZ5e92dTX/AiKXOGbw= Received: from AM6PR05MB5879.eurprd05.prod.outlook.com (20.179.0.76) by AM6PR05MB4933.eurprd05.prod.outlook.com (20.177.35.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.16; Tue, 23 Jul 2019 11:21:45 +0000 Received: from AM6PR05MB5879.eurprd05.prod.outlook.com ([fe80::f9d8:38bc:4a18:f7a7]) by AM6PR05MB5879.eurprd05.prod.outlook.com ([fe80::f9d8:38bc:4a18:f7a7%5]) with mapi id 15.20.2094.013; Tue, 23 Jul 2019 11:21:45 +0000 From: Maxim Mikityanskiy To: Arnd Bergmann CC: Saeed Mahameed , "David S. Miller" , Alexei Starovoitov , Tariq Toukan , Leon Romanovsky , Daniel Borkmann , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend , "netdev@vger.kernel.org" , "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "xdp-newbies@vger.kernel.org" , "bpf@vger.kernel.org" Subject: Re: [PATCH] [net-next] net/mlx5e: xsk: dynamically allocate mlx5e_channel_param Thread-Topic: [PATCH] [net-next] net/mlx5e: xsk: dynamically allocate mlx5e_channel_param Thread-Index: AQHVNYx/Ypx2Y7+f3k6VGsR33x4yYqbBB2OAgBcfHYA= Date: Tue, 23 Jul 2019 11:21:45 +0000 Message-ID: <535ebf16-c523-0799-3ffe-6cfbeee3ac57@mellanox.com> References: <20190708125554.3863901-1-arnd@arndb.de> <543fa599-8ea1-dbc8-d94a-f90af2069edd@mellanox.com> In-Reply-To: <543fa599-8ea1-dbc8-d94a-f90af2069edd@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HE1PR05CA0356.eurprd05.prod.outlook.com (2603:10a6:7:94::15) To AM6PR05MB5879.eurprd05.prod.outlook.com (2603:10a6:20b:a2::12) authentication-results: spf=none (sender IP is ) smtp.mailfrom=maximmi@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [95.67.35.250] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4f262864-2d22-4062-9061-08d70f5ff206 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:AM6PR05MB4933; x-ms-traffictypediagnostic: AM6PR05MB4933: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0107098B6C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(396003)(346002)(376002)(366004)(39860400002)(52314003)(189003)(199004)(76176011)(486006)(14454004)(305945005)(102836004)(8676002)(3846002)(53546011)(81156014)(6506007)(386003)(52116002)(26005)(476003)(6916009)(8936002)(6116002)(14444005)(478600001)(446003)(2616005)(256004)(316002)(186003)(68736007)(4326008)(54906003)(11346002)(2906002)(5660300002)(6486002)(6512007)(66066001)(53936002)(71190400001)(6246003)(66946007)(64756008)(66476007)(7736002)(66446008)(66556008)(31686004)(71200400001)(6436002)(7416002)(31696002)(36756003)(81166006)(25786009)(99286004)(86362001)(229853002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR05MB4933;H:AM6PR05MB5879.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: 0VsLoKxS7KmFXUViiYkh11BuFbxfhhHLbT8ReFKs+O6MR5h/MuIejvi8NHLPPJJ27zMpOxfvx5LAVqNIsclDHeMzdSjtpFJd2PUW+rKXYyOxHlnkkdy/wZec4ExpAhqzi8YStfHne3S9mfbAT5hyAMv3gRYkDnnoEZP7ncjLj9H6WpecQEIDcj56401N2HOdh1khgv2OK48OmPAXWtn9HpV5CNS98wbPUib9eweIIrqsAZdFvq+B+7ik0adzhFX+vf3k0PBMLqnySrxTwQzj6FDVO41FGH4yqrhb4mpyKiCt1blt8X568l+0cQhaENhc1JIQPz9scY6L+hUZcsobyzg3yFyBmZfVH0QyjyHEdr37G6F66UB9xldbD9nh4hJagvoV599LnIuHrs3rRRCnCJzmxt1tHbd31jEUxMrhLLs= 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: 4f262864-2d22-4062-9061-08d70f5ff206 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jul 2019 11:21:45.5029 (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: maximmi@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB4933 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMjAxOS0wNy0wOCAxODoxNiwgTWF4aW0gTWlraXR5YW5za2l5IHdyb3RlOg0KPiBPbiAyMDE5 LTA3LTA4IDE1OjU1LCBBcm5kIEJlcmdtYW5uIHdyb3RlOg0KPj4gLQltbHg1ZV9idWlsZF94c2tf Y3BhcmFtKHByaXYsIHBhcmFtcywgeHNrLCAmY3BhcmFtKTsNCj4+ICsJY3BhcmFtID0ga3phbGxv Yyhza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