From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DF64443E17; Sat, 6 Apr 2024 17:49:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A56A9402D4; Sat, 6 Apr 2024 17:49:16 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 44A45402C2 for ; Sat, 6 Apr 2024 17:49:16 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 21AE320CEE; Sat, 6 Apr 2024 17:49:16 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: [PATCH 4/4] dispatcher: use alloca instead of vla multi dimensional Date: Sat, 6 Apr 2024 17:49:11 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F374@smartserver.smartshare.dk> In-Reply-To: <1712250913-1977-5-git-send-email-roretzla@linux.microsoft.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH 4/4] dispatcher: use alloca instead of vla multi dimensional Thread-Index: AdqGs6lovZuH/HXUS8WEsc0EqfN9fgBhPBbA References: <20231107193220.GA15232@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <1712250913-1977-1-git-send-email-roretzla@linux.microsoft.com> <1712250913-1977-5-git-send-email-roretzla@linux.microsoft.com> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Tyler Retzlaff" , Cc: "Bruce Richardson" , "Stephen Hemminger" , "Thomas Monjalon" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org PiBGcm9tOiBUeWxlciBSZXR6bGFmZiBbbWFpbHRvOnJvcmV0emxhQGxpbnV4Lm1pY3Jvc29mdC5j b21dDQo+IFNlbnQ6IFRodXJzZGF5LCA0IEFwcmlsIDIwMjQgMTkuMTUNCj4gDQo+IFJGQyBzYW1w bGUgaWxsdXN0cmF0aW5nIGNvbnZlcnNpb24gb2YgbXVsdGktZGltZW5zaW9uYWwgVkxBIHRvIHVz ZQ0KPiBhbGxvY2EoKS4NCj4gDQo+IFNpZ25lZC1vZmYtYnk6IFR5bGVyIFJldHpsYWZmIDxyb3Jl dHpsYUBsaW51eC5taWNyb3NvZnQuY29tPg0KPiAtLS0NCj4gIGxpYi9kaXNwYXRjaGVyL3J0ZV9k aXNwYXRjaGVyLmMgfCA2ICsrKy0tLQ0KPiAgMSBmaWxlIGNoYW5nZWQsIDMgaW5zZXJ0aW9ucygr KSwgMyBkZWxldGlvbnMoLSkNCj4gDQo+IGRpZmYgLS1naXQgYS9saWIvZGlzcGF0Y2hlci9ydGVf ZGlzcGF0Y2hlci5jDQo+IGIvbGliL2Rpc3BhdGNoZXIvcnRlX2Rpc3BhdGNoZXIuYw0KPiBpbmRl eCA3OTM0OTE3Li5mMTU0YzI2IDEwMDY0NA0KPiAtLS0gYS9saWIvZGlzcGF0Y2hlci9ydGVfZGlz cGF0Y2hlci5jDQo+ICsrKyBiL2xpYi9kaXNwYXRjaGVyL3J0ZV9kaXNwYXRjaGVyLmMNCj4gQEAg LTExOSw3ICsxMTksNyBAQCBzdHJ1Y3QgcnRlX2Rpc3BhdGNoZXIgew0KPiAgCXN0cnVjdCBydGVf ZXZlbnQgKmV2ZW50cywgdWludDE2X3QgbnVtX2V2ZW50cykNCj4gIHsNCj4gIAlpbnQgaTsNCj4g LQlzdHJ1Y3QgcnRlX2V2ZW50IGJ1cnN0c1tFVkR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