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 B8139A00BE; Mon, 13 Dec 2021 16:41:41 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 73E6D406A2; Mon, 13 Dec 2021 16:41:41 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id D122540042 for ; Mon, 13 Dec 2021 16:41:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639410099; x=1670946099; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=2eql5rNC8UrZT/NP/EHUWCWzCtsg4XWaIat5NYPibwg=; b=JtiNgcpHXM17DG+urK4ePlvthUmUdPacxjAyRPeyns1+ud30QNhjygNG 6liAFUkO4BnO7YWMcAFE9SggfdwSBzQQXjBaCcriWxMPz6mMojmvZOMMT wdNMJXTTLDJuUA1GxgOBqW2tSUwj5B8mMsGsTOIv0BWXDk/RB6n6hlFhl leGAkdaJ6KM1YLmJF/sUOUI59vLZ6SVTOiJRbz1hzZs167pNRrvRax8nt k30qMhNaVN3P0ALAVD0eR8Gn/epr6qgI5qi5sunXXM+5GzQhGzvKHHx9J RxQI/GL36W7lFlgOuCODjhuB3RBPTaGAA1VXZmd3J8m/3ObbPRn+xZ4kb g==; X-IronPort-AV: E=McAfee;i="6200,9189,10196"; a="325029367" X-IronPort-AV: E=Sophos;i="5.88,202,1635231600"; d="scan'208";a="325029367" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2021 07:41:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,202,1635231600"; d="scan'208";a="566725651" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga008.fm.intel.com with ESMTP; 13 Dec 2021 07:41:37 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 13 Dec 2021 07:41:37 -0800 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 13 Dec 2021 07:41:36 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Mon, 13 Dec 2021 07:41:36 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Mon, 13 Dec 2021 07:41:36 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XyyYKrsz3RsPKvvesj3R++sxQgKhu8NEtDJHe2mSD0tDhMMIuN1X4W+wBV1LUwcnlPG3M03E2R4g6nBH4bFh1wkWCU/kPdTRfw0AmzETizu1s3ivi9a70eBGsRUk4aDdG+nMjVjc6mTXYufnTipca7Ev5z5dzkNyE1f9MDXRneR3UVmZXqAfTXSNym3FzlMuOF90wPkkwTu0Mk5ZGqiHFvvXVwqKMpSnP7c3dIpFEi79phNrD1jVBUDYF2TmEO84PXZnh5TWsoW9tf0J9RLqrXoihLGqVqoF+PB0xjLFGdOI3AVOWVdj7y0+JjhbTbGTHrRGQ/yME0rMGXy2BsI+Tw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=szu9Xx2+ferXKpP1WoATUTwzwSp9nFa5Zer2B1wf5co=; b=lmdVN7m1j69nF8NSskH4C+diMCPn6WFZBMgRWnUCw+rMB0QNlWmsMGbX/r6D5N7f+rHhIt/czJjsgk/B3KB6a1QgJ9jG/zTajw/YNmbgu6djiO6oYdOXUmuOUdu6qivtQvIRs65OV90y+Jaob/4G/LKj91twfOfqnCHD8EbA4yUCyvwrS14Kl6XWUQfejsOQ740BEg7J2+BXqsgQ9yod0aCLLiM2juR/h34x+Maga3erA8C2z0YnHY47F69/0kUDbVZUhzu7FZALKznE11ahzH0bttHfmiihzz6tLTC9vOed+bFRrgpKQFyVYowrI2MMOFqxvdpzOkG8M9aVoXuLTg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=szu9Xx2+ferXKpP1WoATUTwzwSp9nFa5Zer2B1wf5co=; b=Z54clQ3pDc7W/s19x7Dw4yVlJ07sQ5+KrmCGzn1QjBMzhZNoOGlD7KeXirzXeM+G6WyvWVfEvNWlJOYmUeDQp/MG6qNE3GkFKmxLiGpmSoz/7igxJ9pH8gZ6IvrXFD6zV2a326u1vjpQfEXuYpBJw+hnNkaAUhM1pTVpmUEc7Bs= Received: from SN6PR11MB3103.namprd11.prod.outlook.com (2603:10b6:805:d7::13) by SA2PR11MB4924.namprd11.prod.outlook.com (2603:10b6:806:113::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.12; Mon, 13 Dec 2021 15:41:32 +0000 Received: from SN6PR11MB3103.namprd11.prod.outlook.com ([fe80::4d37:4e1e:9da2:1bc2]) by SN6PR11MB3103.namprd11.prod.outlook.com ([fe80::4d37:4e1e:9da2:1bc2%6]) with mapi id 15.20.4778.018; Mon, 13 Dec 2021 15:41:31 +0000 From: "McDaniel, Timothy" To: "dev@dpdk.org" Subject: RE: dev Digest, Vol 381, Issue 38 Thread-Topic: dev Digest, Vol 381, Issue 38 Thread-Index: AQHX69YvB27juaTroUKT6MFmlo4nEKwwl5+w Date: Mon, 13 Dec 2021 15:41:31 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b8dfc9ce-5960-4c3d-d618-08d9be4f096f x-ms-traffictypediagnostic: SA2PR11MB4924:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1728; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /TLtLS4IC0NLILLnxE0QR1EEHfuOlKcr0cq8vYf1dxTgCNTgpnzlWfntdWwLuC+4FruHHe3RzVmz/TXzrJGY/iDFSJ3AlngWRhRqYksJF/xP7a/eV/cJdm/5khtCYk8YSqgWwxf5YZfpxo1p3b8vq74Hpf+EwsZRiuGUN9BEI9ub9mVK2yt2hmmrVKBGZS/ysmu12zhJUm0x7OxORwvKHcHxv9A++tep1YmSAl7HoqFGfusuAHog5ywpe+5Fl4DrVW0YtZleQZ7QiSi97vqJTiUD+ZJrbQOtjJkuJjOUv+w9zJd9ccKF9+zEznfGuvrM000ZYjAnSs6ibgp57qUANHwn861uZAoYJigGYds8DjGqZhz6Mts1t5c6A8CuLZ1V9CIwamWSRxECTLHME+XPP6TmFiqWrlV2ZjFG8PZ4iitv/SpHhRgvpxfcV4I2wrfHgNX1tzg4Oh6xc9k0xeX6i/RMnVbrdUpyH/jA/9DeYFtmNByOQ2bYFK/DJ/GNKmG/xIYkXYNDlAUP6+xeMTcQhj6GW6pvGdg7Lui9Bi2/aApSChvn7jlTMaZFFerGckSD+tm9DwWcbbKLg+awUlE5mHhHMdTLF3LCvo02LQ+Pu32TC4Bg41nDl/x3XkpdkHzbt0gT2PM1M/gXnM51GRxwtuBTZ3turxMpNrLAXVqPPTszo3Fk+AH+vm1CKK7BhurkIioaKesIlrLl6df9y/1hPzsS9uJ0d3Pwa3IOh2bYyBGzJBN4zQNjmOn2Akevks4I10NH84jmfDXXqFYehhAiTapJ9NfpVq5QHCJetMW2JxQ= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3103.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(966005)(8936002)(45080400002)(66946007)(66446008)(2906002)(64756008)(186003)(66556008)(66476007)(76116006)(26005)(71200400001)(30864003)(53546011)(55016003)(52536014)(6916009)(6506007)(316002)(508600001)(83380400001)(5660300002)(9686003)(33656002)(86362001)(38100700002)(38070700005)(82960400001)(122000001)(8676002)(7696005)(559001)(579004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KjU0G4UAO2VGPVYUHtiHw8IreHHLUTHXLhc62c4mzaPOLVB+jYzkeFI+gPRn?= =?us-ascii?Q?V8pXF3N2hM0QV4e+LNijaiQ6UDPZ3uUbwVhpJpRTYDde2TB1xa80/kwerkQK?= =?us-ascii?Q?XfQ0LIqKzJj52Tx74ambre6RyFUoD8sekdlpX+tQb+HLgILYLtP6oGCgTd4q?= =?us-ascii?Q?WvT3SSLy912WJiEiE9r5vf6Qpjhmjxqr8TwsKfeg5cjDpOTTGS+BSrJxViG9?= =?us-ascii?Q?7YcZ8V+fDPaEDq1pH389yMu0gPk+9MqO/GFodvNsGCE3SDI2q3NAK/zrodwM?= =?us-ascii?Q?rTuZHy8BHRPZbrPGZ57tFcfZoEyY4UO4oZYLfhALQYkYYNmro5Gp2drGh6bq?= =?us-ascii?Q?d/5mprIaODgsWDB5GKinBGYoJXo5wcfHkmAArXqgpBDq46srp3XUuG4kJcA8?= =?us-ascii?Q?iECfV9fXs7gklAvP+ZMVaJcLZChKCQD7cc0X2ICsHvu+0gg1Z/XLaJZqm26I?= =?us-ascii?Q?oeFQLRrDaM9tbFHtlZeqqy62q2wU5tiKVNSu5riWoH5gYGmIf6lP3KJqD2Iw?= =?us-ascii?Q?YKvcK2dePyd5Ldqb/sRFGYCOO1xdX98K3fidHtMO6D6PJhcbJUbBkLPO4N4p?= =?us-ascii?Q?bBVlFrjALB2FAiZj/8IHT6oul6PhUYnMr06h/9lmLliOkynKe0uTRIuzb3vr?= =?us-ascii?Q?Vmro5pcR0gJKTEdQkLEN6CUip6t4H6ippwIDKhlvXNSX2mm/gHa77ImJlqz6?= =?us-ascii?Q?K0oWkZUEg8j244FJaMuHztfxkyiaw9YBxt75tPLWqu80Qhlfr83/iru9fOQd?= =?us-ascii?Q?ei/GpO78vPCruEjzD1mBZjQSalMNgVkrF8z3wCffEpTJ8h9F1BYpuz/MtiSb?= =?us-ascii?Q?HdHawmQIoQLA253NYjdMJzp82KxbpnQ4+8DAtl3E+XMWkpU5iGyTjYv9sa0x?= =?us-ascii?Q?D0DtshA77us6JvsCgYj9P7VHCAvzD9ZKDsoxqdipD8gPsUWw6y34il7G6ROk?= =?us-ascii?Q?6c/N7lXoDY1nBqZSjzNshH0oAGQq8DmEeeK0g68fHnc2b/lh4GcXwfDRuxOt?= =?us-ascii?Q?1YAS4y/P42D5orQPoESQLysjxb8EdbT9QI8a/5DV6X1o1Na18KmilICCW/m0?= =?us-ascii?Q?FgXJKcrV2LdNYd0PO6ZkZJJ7Xa5Oq311skXieco8vezbZlrZu7D/3/FVYt6X?= =?us-ascii?Q?8+IQA0zhGosLGkRqX4tsWqFzlp0U0lH8YwXoBKzd8t5hF8uHTiML5tPeq3cZ?= =?us-ascii?Q?Ljm+1nQKrXsj5B0KJFE+xgqj2pextf4X+Oaswz3yH+uec9VYP3QD6Gieef3s?= =?us-ascii?Q?4wcJFy6Jxo9RwYCqmB9TYKlx5CqfFLOcZ8WeXYbvYxqFoazuNqvDef8Jyb8o?= =?us-ascii?Q?fOsa/X4r7aQxaZhjqPeEKhrkGhGSAKooE1powP5PgWDqtSqedAveOstjHUtV?= =?us-ascii?Q?b4CZ3ghQFoFyrusTx/XSSEReKvbt/hnip9lViV1BNJCBY6f5DA8fc/OTImwr?= =?us-ascii?Q?PV16kFEipqsbNpzaKinPx0S6RXh5jhii544s1OAqRg33XDrrJELFuPPH11He?= =?us-ascii?Q?JVzgwKkoSaxavUdHE0KCa07rbK9MLpGnKrgvROCq6mX4NhRA8gznnCEHgsdT?= =?us-ascii?Q?b5qHei5fwnABHTqi5azm3RHQLk7aMeYKn0ZFaV3vc7YKySph4iqubyOWIZmH?= =?us-ascii?Q?MIiWKXrlxf2FwmGd3W/fgDclDILUjgUSXcS3iqhtZ3U0U/dE6UZep3K5Zb3R?= =?us-ascii?Q?dKqOdA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3103.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b8dfc9ce-5960-4c3d-d618-08d9be4f096f X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2021 15:41:31.8054 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rphH9Ne4wdZA6R7q1wDCCNGI+vIJPePPosa4ExOmXKMqPUG2PRPKwVaHLIaLfzmeXHe7M2jF5r2thv9hJ6Kfz1zmUnV1VU9w0fdY+FiDtvY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB4924 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: dev-request@dpdk.org > Sent: Tuesday, December 7, 2021 7:51 PM > To: dev@dpdk.org > Subject: dev Digest, Vol 381, Issue 38 >=20 > Send dev mailing list submissions to > dev@dpdk.org >=20 > To subscribe or unsubscribe via the World Wide Web, visit > https://mails.dpdk.org/listinfo/dev > or, via email, send a message with subject or body 'help' to > dev-request@dpdk.org >=20 > You can reach the person managing the list at > dev-owner@dpdk.org >=20 > When replying, please edit your Subject line so it is more specific > than "Re: Contents of dev digest..." >=20 >=20 > Today's Topics: >=20 > 1. [PATCH v12 02/11] app/test: remove POSIX-specific code (Jie Zhou) > 2. [PATCH v2] doc/dlb2: update dlb2 documentation (Rashmi Shetty) > 3. [PATCH v13 01/11] eal/windows: return ENOTSUP for not > supported API (Jie Zhou) > 4. [PATCH v13 03/11] app/test: fix incorrect errno variable > (Jie Zhou) > 5. [PATCH v13 04/11] app/test: skip interrupt tests on Windows > (Jie Zhou) > 6. [PATCH v13 00/11] app/test: enable subset of tests on Windows > (Jie Zhou) >=20 >=20 > ---------------------------------------------------------------------- >=20 > Message: 1 > Date: Tue, 7 Dec 2021 13:24:14 -0800 > From: Jie Zhou > To: dev@dpdk.org > Cc: dmitry.kozliuk@gmail.com, bruce.richardson@intel.com, > roretzla@microsoft.com, navasile@linux.microsoft.com, > dmitrym@microsoft.com, pallavi.kadam@intel.com, > talshn@nvidia.com, > thomas@monjalon.net, aconole@redhat.com > Subject: [PATCH v12 02/11] app/test: remove POSIX-specific code > Message-ID: > <1638912263-7054-3-git-send-email-jizh@linux.microsoft.com> >=20 > - Replace POSIX-specific code with DPDK equivalents or conditional platfo= rm > specific code, or conditionally disable it on Windows > - Use NUL on Windows as /dev/null for Unix > - Exclude tests not supported on Windows yet > * multi-process > * PMD performance statistics display on signal >=20 > Signed-off-by: Jie Zhou > Signed-off-by: Dmitry Kozlyuk >=20 > --- > app/test/commands.c | 2 -- > app/test/packet_burst_generator.c | 1 + > app/test/process.h | 4 +++- > app/test/test.c | 5 ++++- > app/test/test_byteorder.c | 2 +- > app/test/test_cmdline_ipaddr.c | 19 +++++++++---------- > app/test/test_cmdline_lib.c | 13 +++++++++---- > app/test/test_crc.c | 1 - > app/test/test_memcpy_perf.c | 28 ++++++++++++++-------------- > app/test/test_pmd_perf.c | 6 +++++- > app/test/test_ring_stress_impl.h | 2 +- > app/test/test_telemetry_data.c | 2 ++ > 12 files changed, 49 insertions(+), 36 deletions(-) >=20 > diff --git a/app/test/commands.c b/app/test/commands.c > index 2dced3bc44..887cabad64 100644 > --- a/app/test/commands.c > +++ b/app/test/commands.c > @@ -8,8 +8,6 @@ > #include > #include > #include > -#include > -#include > #include > #include > #include > diff --git a/app/test/packet_burst_generator.c > b/app/test/packet_burst_generator.c > index 8ac24577ba..6b42b9b83b 100644 > --- a/app/test/packet_burst_generator.c > +++ b/app/test/packet_burst_generator.c > @@ -5,6 +5,7 @@ > #include > #include > #include > +#include >=20 > #include "packet_burst_generator.h" >=20 > diff --git a/app/test/process.h b/app/test/process.h > index 5b10cf64df..1f073b9c5c 100644 > --- a/app/test/process.h > +++ b/app/test/process.h > @@ -7,12 +7,14 @@ >=20 > #include /* errno */ > #include /* PATH_MAX */ > +#ifndef RTE_EXEC_ENV_WINDOWS > #include /* basename et al */ > +#include > +#endif > #include /* NULL */ > #include /* strerror */ > #include /* readlink */ > #include > -#include >=20 > #include /* strlcpy */ >=20 > diff --git a/app/test/test.c b/app/test/test.c > index 5194131026..e69cae3eea 100644 > --- a/app/test/test.c > +++ b/app/test/test.c > @@ -8,7 +8,6 @@ > #include > #include > #include > -#include > #include > #include >=20 > @@ -63,7 +62,9 @@ do_recursive_call(void) > const char *env_var; > int (*action_fn)(void); > } actions[] =3D { > +#ifndef RTE_EXEC_ENV_WINDOWS > { "run_secondary_instances", test_mp_secondary }, > +#endif > #ifdef RTE_LIB_PDUMP > #ifdef RTE_NET_RING > { "run_pdump_server_tests", test_pdump }, > @@ -82,7 +83,9 @@ do_recursive_call(void) > { "test_file_prefix", no_action }, > { "test_no_huge_flag", no_action }, > #ifdef RTE_LIB_TIMER > +#ifndef RTE_EXEC_ENV_WINDOWS > { "timer_secondary_spawn_wait", > test_timer_secondary }, > +#endif > #endif > }; >=20 > diff --git a/app/test/test_byteorder.c b/app/test/test_byteorder.c > index 03c08d9abf..de14ed539e 100644 > --- a/app/test/test_byteorder.c > +++ b/app/test/test_byteorder.c > @@ -46,7 +46,7 @@ test_byteorder(void) > return -1; >=20 > res_u16 =3D rte_bswap16(0x1337); > - printf("const %"PRIx16" -> %"PRIx16"\n", 0x1337, res_u16); > + printf("const %"PRIx16" -> %"PRIx16"\n", (uint16_t)0x1337, res_u16); > if (res_u16 !=3D 0x3713) > return -1; >=20 > diff --git a/app/test/test_cmdline_ipaddr.c b/app/test/test_cmdline_ipadd= r.c > index 2a1ee120fc..278fa3cd79 100644 > --- a/app/test/test_cmdline_ipaddr.c > +++ b/app/test/test_cmdline_ipaddr.c > @@ -1,12 +1,9 @@ > /* SPDX-License-Identifier: BSD-3-Clause > * Copyright(c) 2010-2014 Intel Corporation > */ > - > #include > #include > #include > -#include > -#include >=20 > #include >=20 > @@ -15,17 +12,21 @@ >=20 > #include "test_cmdline.h" >=20 > -#define IP4(a,b,c,d) {((uint32_t)(((a) & 0xff)) | \ > - (((b) & 0xff) << 8) | \ > - (((c) & 0xff) << 16) | \ > - ((d) & 0xff) << 24)} > +#define IP4(a,b,c,d) {.s_addr =3D (uint32_t)(((a) & 0xff) | \ > + (((b) & 0xff) << 8) | \ > + (((c) & 0xff) << 16) | \ > + ((d) & 0xff) << 24)} >=20 > #define U16_SWAP(x) \ > (((x & 0xFF) << 8) | ((x & 0xFF00) >> 8)) >=20 > /* create IPv6 address, swapping bytes where needed */ > #ifndef s6_addr16 > -# define s6_addr16 __u6_addr.__u6_addr16 > +#ifdef RTE_EXEC_ENV_WINDOWS > +#define s6_addr16 u.Word > +#else > +#define s6_addr16 __u6_addr.__u6_addr16 > +#endif > #endif > #define IP6(a,b,c,d,e,f,g,h) .ipv6 =3D \ > {.s6_addr16 =3D \ > @@ -166,8 +167,6 @@ const char * ipaddr_garbage_network6_strs[] =3D { > }; > #define IPv6_GARBAGE_PREFIX 64 >=20 > - > - > const char * ipaddr_invalid_strs[] =3D { > /** IPv4 **/ >=20 > diff --git a/app/test/test_cmdline_lib.c b/app/test/test_cmdline_lib.c > index f50ccdb599..fcd58cb76a 100644 > --- a/app/test/test_cmdline_lib.c > +++ b/app/test/test_cmdline_lib.c > @@ -8,7 +8,6 @@ > #include > #include > #include > -#include > #include > #include >=20 > @@ -22,6 +21,12 @@ >=20 > #include "test_cmdline.h" >=20 > +#ifndef RTE_EXEC_ENV_WINDOWS > +#define NULL_INPUT "/dev/null" > +#else > +#define NULL_INPUT "NUL" > +#endif > + >=20 > /**************************************************************** > / > /* static functions required for some tests */ > static void > @@ -156,10 +161,10 @@ test_cmdline_socket_fns(void) > cl =3D cmdline_stdin_new(&ctx, NULL); > if (cl !=3D NULL) > goto error; > - cl =3D cmdline_file_new(NULL, "prompt", "/dev/null"); > + cl =3D cmdline_file_new(NULL, "prompt", NULL_INPUT); > if (cl !=3D NULL) > goto error; > - cl =3D cmdline_file_new(&ctx, NULL, "/dev/null"); > + cl =3D cmdline_file_new(&ctx, NULL, NULL_INPUT); > if (cl !=3D NULL) > goto error; > cl =3D cmdline_file_new(&ctx, "prompt", NULL); > @@ -171,7 +176,7 @@ test_cmdline_socket_fns(void) > cmdline_free(cl); > return -1; > } > - cl =3D cmdline_file_new(&ctx, "prompt", "/dev/null"); > + cl =3D cmdline_file_new(&ctx, "prompt", NULL_INPUT); > if (cl =3D=3D NULL) { > printf("Error: failed to open /dev/null for reading!"); > return -1; > diff --git a/app/test/test_crc.c b/app/test/test_crc.c > index bf1d344359..0ed080e482 100644 > --- a/app/test/test_crc.c > +++ b/app/test/test_crc.c > @@ -14,7 +14,6 @@ > #define CRC32_VEC_LEN2 348 > #define CRC16_VEC_LEN1 12 > #define CRC16_VEC_LEN2 2 > -#define LINE_LEN 75 >=20 > /* CRC test vector */ > static const uint8_t crc_vec[CRC_VEC_LEN] =3D { > diff --git a/app/test/test_memcpy_perf.c b/app/test/test_memcpy_perf.c > index c711e36ba7..0dc88ed39c 100644 > --- a/app/test/test_memcpy_perf.c > +++ b/app/test/test_memcpy_perf.c > @@ -6,10 +6,10 @@ > #include > #include > #include > -#include >=20 > #include > #include > +#include > #include > #include >=20 > @@ -271,7 +271,7 @@ static int > perf_test(void) > { > int ret; > - struct timeval tv_begin, tv_end; > + struct timespec tv_begin, tv_end; > double time_aligned, time_unaligned; > double time_aligned_const, time_unaligned_const; >=20 > @@ -298,32 +298,32 @@ perf_test(void) > printf("\n=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D %2dB aligned > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D", > ALIGNMENT_UNIT); > /* Do aligned tests where size is a variable */ > - gettimeofday(&tv_begin, NULL); > + timespec_get(&tv_begin, TIME_UTC); > perf_test_variable_aligned(); > - gettimeofday(&tv_end, NULL); > + timespec_get(&tv_end, TIME_UTC); > time_aligned =3D (double)(tv_end.tv_sec - tv_begin.tv_sec) > - + ((double)tv_end.tv_usec - tv_begin.tv_usec)/1000000; > + + ((double)tv_end.tv_nsec - tv_begin.tv_nsec) / NS_PER_S; > printf("\n------- ----------------- ----------------- -----------------= ---------------- > -"); > /* Do aligned tests where size is a compile-time constant */ > - gettimeofday(&tv_begin, NULL); > + timespec_get(&tv_begin, TIME_UTC); > perf_test_constant_aligned(); > - gettimeofday(&tv_end, NULL); > + timespec_get(&tv_end, TIME_UTC); > time_aligned_const =3D (double)(tv_end.tv_sec - tv_begin.tv_sec) > - + ((double)tv_end.tv_usec - tv_begin.tv_usec)/1000000; > + + ((double)tv_end.tv_nsec - tv_begin.tv_nsec) / NS_PER_S; > printf("\n=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Unaligned > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D"); > /* Do unaligned tests where size is a variable */ > - gettimeofday(&tv_begin, NULL); > + timespec_get(&tv_begin, TIME_UTC); > perf_test_variable_unaligned(); > - gettimeofday(&tv_end, NULL); > + timespec_get(&tv_end, TIME_UTC); > time_unaligned =3D (double)(tv_end.tv_sec - tv_begin.tv_sec) > - + ((double)tv_end.tv_usec - tv_begin.tv_usec)/1000000; > + + ((double)tv_end.tv_nsec - tv_begin.tv_nsec) / NS_PER_S; > printf("\n------- ----------------- ----------------- -----------------= ---------------- > -"); > /* Do unaligned tests where size is a compile-time constant */ > - gettimeofday(&tv_begin, NULL); > + timespec_get(&tv_begin, TIME_UTC); > perf_test_constant_unaligned(); > - gettimeofday(&tv_end, NULL); > + timespec_get(&tv_end, TIME_UTC); > time_unaligned_const =3D (double)(tv_end.tv_sec - tv_begin.tv_sec) > - + ((double)tv_end.tv_usec - tv_begin.tv_usec)/1000000; > + + ((double)tv_end.tv_nsec - tv_begin.tv_nsec) / NS_PER_S; > printf("\n=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D\n\n"); >=20 > printf("Test Execution Time (seconds):\n"); > diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c > index 0aa9dc1b1c..25611bfe9b 100644 > --- a/app/test/test_pmd_perf.c > +++ b/app/test/test_pmd_perf.c > @@ -296,6 +296,7 @@ reset_count(void) > idle =3D 0; > } >=20 > +#ifndef RTE_EXEC_ENV_WINDOWS > static void > stats_display(uint16_t port_id) > { > @@ -325,6 +326,7 @@ signal_handler(int signum) > if (signum =3D=3D SIGUSR2) > stats_display(0); > } > +#endif >=20 > struct rte_mbuf **tx_burst; >=20 > @@ -638,7 +640,7 @@ exec_burst(uint32_t flags, int lcore) > i =3D (i >=3D conf->nb_ports - 1) ? 0 : (i + 1); > } >=20 > - sleep(5); > + rte_delay_us(5 * US_PER_S); >=20 > /* only when polling second */ > if (flags =3D=3D SC_BURST_XMIT_FIRST) > @@ -669,8 +671,10 @@ test_pmd_perf(void) >=20 > printf("Start PMD RXTX cycles cost test.\n"); >=20 > +#ifndef RTE_EXEC_ENV_WINDOWS > signal(SIGUSR1, signal_handler); > signal(SIGUSR2, signal_handler); > +#endif >=20 > nb_ports =3D rte_eth_dev_count_avail(); > if (nb_ports < NB_ETHPORTS_USED) { > diff --git a/app/test/test_ring_stress_impl.h b/app/test/test_ring_stress= _impl.h > index 2825a9dce6..62f046a91a 100644 > --- a/app/test/test_ring_stress_impl.h > +++ b/app/test/test_ring_stress_impl.h > @@ -360,7 +360,7 @@ test_mt1(int (*test)(void *)) > /* signal worker to start test */ > __atomic_store_n(&wrk_cmd, WRK_CMD_RUN, __ATOMIC_RELEASE); >=20 > - usleep(run_time * US_PER_S); > + rte_delay_us(run_time * US_PER_S); >=20 > /* signal worker to start test */ > __atomic_store_n(&wrk_cmd, WRK_CMD_STOP, __ATOMIC_RELEASE); > diff --git a/app/test/test_telemetry_data.c b/app/test/test_telemetry_dat= a.c > index 18b93db8ef..73eee293a1 100644 > --- a/app/test/test_telemetry_data.c > +++ b/app/test/test_telemetry_data.c > @@ -4,7 +4,9 @@ >=20 > #include > #include > +#ifndef RTE_EXEC_ENV_WINDOWS > #include > +#endif > #include > #include >=20 > -- > 2.31.0.vfs.0.1 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 2 > Date: Tue, 7 Dec 2021 17:01:51 -0600 > From: Rashmi Shetty > To: dev@dpdk.org > Cc: jerinj@marvell.com, harry.van.haaren@intel.com, > pravin.pathak@intel.com, mike.ximing.chen@intel.com, > timothy.mcdaniel@intel.com, Rashmi Shetty > > Subject: [PATCH v2] doc/dlb2: update dlb2 documentation > Message-ID: <20211207230151.2332031-1-rashmi.shetty@intel.com> >=20 > Number of direct credits, atomic inflight and history list are > updated to DLB2.0 supported sizes. As DLB2.0 does not provide > dev arg to override the default per-queue atomic inflight > allocation, it is removed from the documentation. >=20 > Signed-off-by: Rashmi Shetty > --- > doc/guides/eventdevs/dlb2.rst | 19 ++++++------------- > 1 file changed, 6 insertions(+), 13 deletions(-) >=20 > diff --git a/doc/guides/eventdevs/dlb2.rst b/doc/guides/eventdevs/dlb2.rs= t > index bce984ca08..bc53618b53 100644 > --- a/doc/guides/eventdevs/dlb2.rst > +++ b/doc/guides/eventdevs/dlb2.rst > @@ -151,7 +151,7 @@ load-balanced queues, and directed credits are used f= or > directed queues. > These pools' sizes are controlled by the nb_events_limit field in struct > rte_event_dev_config. The load-balanced pool is sized to contain > nb_events_limit credits, and the directed pool is sized to contain > -nb_events_limit/4 credits. The directed pool size can be overridden with= the > +nb_events_limit/2 credits. The directed pool size can be overridden with= the > num_dir_credits devargs argument, like so: >=20 > .. code-block:: console > @@ -239,8 +239,8 @@ queue A. > Due to this, workers should stop retrying after a time, release the even= ts it > is attempting to enqueue, and dequeue more events. It is important that = the > worker release the events and don't simply set them aside to retry the e= nqueue > -again later, because the port has limited history list size (by default,= twice > -the port's dequeue_depth). > +again later, because the port has limited history list size (by default,= same > +as port's dequeue_depth). >=20 > Priority > ~~~~~~~~ > @@ -309,18 +309,11 @@ scheduled. The likelihood of this case depends on t= he > eventdev configuration, > traffic behavior, event processing latency, potential for a worker to be > interrupted or otherwise delayed, etc. >=20 > -By default, the PMD allocates 16 buffer entries for each load-balanced q= ueue, > -which provides an even division across all 128 queues but potentially wa= stes > +By default, the PMD allocates 64 buffer entries for each load-balanced q= ueue, > +which provides an even division across all 32 queues but potentially was= tes > buffer space (e.g. if not all queues are used, or aren't used for atomic > scheduling). >=20 > -The PMD provides a dev arg to override the default per-queue allocation.= To > -increase per-queue atomic-inflight allocation to (for example) 64: > - > - .. code-block:: console > - > - --allow ea:00.0,atm_inflights=3D64 > - > QID Depth Threshold > ~~~~~~~~~~~~~~~~~~~ >=20 > @@ -337,7 +330,7 @@ Per queue threshold metrics are tracked in the DLB > xstats, and are also > returned in the impl_opaque field of each received event. >=20 > The per qid threshold can be specified as part of the device args, and > -can be applied to all queue, a range of queues, or a single queue, as > +can be applied to all queues, a range of queues, or a single queue, as > shown below. >=20 > .. code-block:: console > -- > 2.25.1 >=20 Reviewed-by: Timothy McDaniel >=20 > ------------------------------ >=20 > Message: 3 > Date: Tue, 7 Dec 2021 17:50:52 -0800 > From: Jie Zhou > To: dev@dpdk.org > Cc: dmitry.kozliuk@gmail.com, bruce.richardson@intel.com, > roretzla@microsoft.com, navasile@linux.microsoft.com, > dmitrym@microsoft.com, pallavi.kadam@intel.com, > talshn@nvidia.com, > thomas@monjalon.net, aconole@redhat.com > Subject: [PATCH v13 01/11] eal/windows: return ENOTSUP for not > supported API > Message-ID: > <1638928262-13177-2-git-send-email-jizh@linux.microsoft.com> >=20 > UT memory_autotest on Windows has 2 failed cases on eal APIs > eal_memalloc_get_seg_fd and eal_memalloc_get_seg_fd_offset. These 2 > APIs are not supported on Windows yet. Should return ENOTSUP such that > in test_memory.c these 2 ENOTSUP cases will not be marked as failures, > same as other ENOTSUP cases. >=20 > Signed-off-by: Jie Zhou > Acked-by: Dmitry Kozlyuk >=20 > --- > lib/eal/windows/eal_memalloc.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/lib/eal/windows/eal_memalloc.c b/lib/eal/windows/eal_memallo= c.c > index 55d6dcc71c..aa7589b81d 100644 > --- a/lib/eal/windows/eal_memalloc.c > +++ b/lib/eal/windows/eal_memalloc.c > @@ -17,7 +17,7 @@ eal_memalloc_get_seg_fd(int list_idx, int seg_idx) > RTE_SET_USED(list_idx); > RTE_SET_USED(seg_idx); > EAL_LOG_NOT_IMPLEMENTED(); > - return -1; > + return -ENOTSUP; > } >=20 > int > @@ -28,7 +28,7 @@ eal_memalloc_get_seg_fd_offset(int list_idx, int seg_id= x, > size_t *offset) > RTE_SET_USED(seg_idx); > RTE_SET_USED(offset); > EAL_LOG_NOT_IMPLEMENTED(); > - return -1; > + return -ENOTSUP; > } >=20 > static int > @@ -428,7 +428,7 @@ eal_memalloc_sync_with_primary(void) > { > /* No multi-process support. */ > EAL_LOG_NOT_IMPLEMENTED(); > - return -1; > + return -ENOTSUP; > } >=20 > int > -- > 2.31.0.vfs.0.1 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 4 > Date: Tue, 7 Dec 2021 17:50:54 -0800 > From: Jie Zhou > To: dev@dpdk.org > Cc: dmitry.kozliuk@gmail.com, bruce.richardson@intel.com, > roretzla@microsoft.com, navasile@linux.microsoft.com, > dmitrym@microsoft.com, pallavi.kadam@intel.com, > talshn@nvidia.com, > thomas@monjalon.net, aconole@redhat.com > Subject: [PATCH v13 03/11] app/test: fix incorrect errno variable > Message-ID: > <1638928262-13177-4-git-send-email-jizh@linux.microsoft.com> >=20 > Fix incorrect errno variable used in memory autotest. > Use rte_errno instead. >=20 > Fixes: 086d426406bd ("app/test: fix memory autotests on FreeBSD") > Cc: bruce.richardson@intel.com >=20 > Signed-off-by: Jie Zhou > Acked-by: Dmitry Kozlyuk >=20 > --- > app/test/test_memory.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/app/test/test_memory.c b/app/test/test_memory.c > index dbf6871e71..140ac3f3cf 100644 > --- a/app/test/test_memory.c > +++ b/app/test/test_memory.c > @@ -63,7 +63,7 @@ check_seg_fds(const struct rte_memseg_list *msl, const > struct rte_memseg *ms, > /* we're able to get memseg fd - try getting its offset */ > ret =3D rte_memseg_get_fd_offset_thread_unsafe(ms, &offset); > if (ret < 0) { > - if (errno =3D=3D ENOTSUP) > + if (rte_errno =3D=3D ENOTSUP) > return 1; > return -1; > } > -- > 2.31.0.vfs.0.1 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 5 > Date: Tue, 7 Dec 2021 17:50:55 -0800 > From: Jie Zhou > To: dev@dpdk.org > Cc: dmitry.kozliuk@gmail.com, bruce.richardson@intel.com, > roretzla@microsoft.com, navasile@linux.microsoft.com, > dmitrym@microsoft.com, pallavi.kadam@intel.com, > talshn@nvidia.com, > thomas@monjalon.net, aconole@redhat.com > Subject: [PATCH v13 04/11] app/test: skip interrupt tests on Windows > Message-ID: > <1638928262-13177-5-git-send-email-jizh@linux.microsoft.com> >=20 > Even though test_interrupts.c can compile on Windows, skip interrupt > tests for now since majority of eal_interrupt on Windows are stubs. > Will remove the skip after interrupt being fully enabled on Windows. >=20 > Signed-off-by: Jie Zhou > Acked-by: Dmitry Kozlyuk >=20 > --- > app/test/test_interrupts.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) >=20 > diff --git a/app/test/test_interrupts.c b/app/test/test_interrupts.c > index 2a05399f96..eec9b2805b 100644 > --- a/app/test/test_interrupts.c > +++ b/app/test/test_interrupts.c > @@ -12,6 +12,15 @@ >=20 > #include "test.h" >=20 > +#ifdef RTE_EXEC_ENV_WINDOWS > +static int > +test_interrupt(void) > +{ > + printf("Interrupt on Windows is not fully supported yet, skipping > test\n"); > + return TEST_SKIPPED; > +} > +#else > + > #define TEST_INTERRUPT_CHECK_INTERVAL 100 /* ms */ >=20 > /* predefined interrupt handle types */ > @@ -590,5 +599,6 @@ test_interrupt(void) >=20 > return ret; > } > +#endif /*ifdef RTE_EXEC_ENV_WINDOWS*/ >=20 > REGISTER_TEST_COMMAND(interrupt_autotest, test_interrupt); > -- > 2.31.0.vfs.0.1 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 6 > Date: Tue, 7 Dec 2021 17:50:51 -0800 > From: Jie Zhou > To: dev@dpdk.org > Cc: dmitry.kozliuk@gmail.com, bruce.richardson@intel.com, > roretzla@microsoft.com, navasile@linux.microsoft.com, > dmitrym@microsoft.com, pallavi.kadam@intel.com, > talshn@nvidia.com, > thomas@monjalon.net, aconole@redhat.com > Subject: [PATCH v13 00/11] app/test: enable subset of tests on Windows > Message-ID: > <1638928262-13177-1-git-send-email-jizh@linux.microsoft.com> >=20 > The goal of this patchset is to enable unit tests in CI for Windows. > It mainly contains: > - Replace POSIX specific codes > - Fix some lib and tests per failures investigation > - Add test stubs for not yet supported ones on Windows > - Replace .sh script with .py script for meson.build > - Enable build and run subset of unit tests on Windows >=20 > Future work: > - Work with CI lab to onboard unit tests for Windows to catch regression > - Investigate issues hit at CI onboarding > - Enable more tests >=20 > --- > V2 changes: > - Fix compilation error on FreeBSD > - Fix email mismatch issue > - Add a missing space around "*" >=20 > --- > V3 changes: > - Fix a misc c coding style issue > - Revise some commit title and message body > - Fix violations of PEP8 in new added Python scripts > - Add error handling in get_coremask.py > - Fix has_hugepage.py to check system support of hugepages > instead of checking privileges > - Fix test meson.build to run Python scripts using py3 > - Consolidate lists of source files, test dep, etc. across all > platforms, with conditional extending on some platform(s) >=20 > --- > V4 changes: > - Remove building of ip_frag, rib, and reorder libraries on Windows. > These three libs usually can be built on Windows without change. > However, in between the time of V3 and V4, there is regression in > upstream caused build failures of these three libs. Will separately > investigate and enable these libraries. >=20 > - Remove previous patch#2 (Enable mempool/stack on Windows) from this > patchset as it was separated out and merged as patch-19314. >=20 > - Consolidate the source files, deps, tests lists across platforms as > much as possible. >=20 > --- > V5 changes: > - Remove a space between function name and open parenthesis '(' > - Add back a header mistakenly deleted >=20 > --- > V6 changes: > - Fix inconsistent static vs. non-static declarations >=20 > --- > V7 changes: > - Remove get_coremask.py as it is not needed any more in meson.build > - Remove enablement of efd and lpm and their corresponding unit tests. > The enablement of these two libs and their UTs will be in separate > patches after this patch set. >=20 > V8 changes: > - Fix coding style issue of using C99 // comments >=20 > --- > V9 changes: > - Fix has_hugepage.py with adding failure handling on Linux, using > proper variable name to follow Python convention, and removing > unnecessary comment. > - Enable previously skipped test_cmdline_socket_fns test cases > - Revise title and message, and add Fixes info for current Patch#3 > - Combine 2 patches (previous #2 and #3 in V8) into one and with > more detailed message >=20 > --- > V10 changes: > - Fix indentation >=20 > --- > V11 changes: > - Remove mandatory dependency on bitratestats, latencystats, > and metrics libs in test meson.build, which was reintroduced > at rebase in V9. >=20 > --- > V12 changes: > - Remove unnecessary print of a null string > - Enable several previous disabled tests > - Split Patch#9 in V11 into two patches for better structure > - Reorder some of the patches for better structure > - Document more details in commit message for issue tracking >=20 > --- > V13 changes: > - Fix misc coding style issue > - Fix build issue on Ubuntu 18.04 >=20 > Tested-by: Pallavi Kadam >=20 > Jie Zhou (11): > eal/windows: return ENOTSUP for not supported API > app/test: remove POSIX-specific code > app/test: fix incorrect errno variable > app/test: skip interrupt tests on Windows > app/test: skip two logs_autotest cases on Windows > app/test: differentiate a strerror on different OS > app/test: remove two alarm_autotest cases > app/test: resolve name collision > app/test: add test stubs for not supported ones > app/test: replace .sh script with .py script > app/test: enable unit test on Windows >=20 > app/test/commands.c | 2 - > app/test/has-hugepage.sh | 11 --- > app/test/has_hugepage.py | 26 ++++++ > app/test/meson.build | 113 ++++++++++++----------- > app/test/packet_burst_generator.c | 1 + > app/test/process.h | 4 +- > app/test/test.c | 5 +- > app/test/test_acl.c | 12 +++ > app/test/test_alarm.c | 4 + > app/test/test_bpf.c | 15 ++- > app/test/test_byteorder.c | 2 +- > app/test/test_cmdline_ipaddr.c | 13 ++- > app/test/test_cmdline_lib.c | 13 ++- > app/test/test_crc.c | 1 - > app/test/test_cryptodev.c | 4 + > app/test/test_cryptodev_asym.c | 4 + > app/test/test_cryptodev_blockcipher.c | 4 + > app/test/test_cryptodev_security_ipsec.c | 4 + > app/test/test_cryptodev_security_pdcp.c | 4 + > app/test/test_debug.c | 17 +++- > app/test/test_distributor.c | 13 +++ > app/test/test_distributor_perf.c | 13 +++ > app/test/test_eal_flags.c | 90 ++++++++++++++++++ > app/test/test_eal_fs.c | 12 +++ > app/test/test_efd.c | 15 ++- > app/test/test_efd_perf.c | 16 +++- > app/test/test_errno.c | 12 ++- > app/test/test_event_crypto_adapter.c | 15 ++- > app/test/test_event_eth_rx_adapter.c | 25 ++++- > app/test/test_event_eth_tx_adapter.c | 12 +++ > app/test/test_event_ring.c | 16 +++- > app/test/test_event_timer_adapter.c | 16 +++- > app/test/test_eventdev.c | 20 +++- > app/test/test_external_mem.c | 18 +++- > app/test/test_fib.c | 22 ++++- > app/test/test_fib6.c | 24 ++++- > app/test/test_fib6_perf.c | 16 +++- > app/test/test_fib_perf.c | 15 ++- > app/test/test_flow_classify.c | 13 +++ > app/test/test_func_reentrancy.c | 12 +++ > app/test/test_graph.c | 18 +++- > app/test/test_graph_perf.c | 16 +++- > app/test/test_hash_perf.c | 28 ++++-- > app/test/test_interrupts.c | 10 ++ > app/test/test_ipfrag.c | 16 +++- > app/test/test_ipsec.c | 15 ++- > app/test/test_ipsec_perf.c | 15 ++- > app/test/test_ipsec_sad.c | 14 ++- > app/test/test_kni.c | 10 +- > app/test/test_lcores.c | 12 +++ > app/test/test_logs.c | 6 +- > app/test/test_lpm.c | 14 ++- > app/test/test_lpm6.c | 14 ++- > app/test/test_lpm6_perf.c | 14 ++- > app/test/test_lpm_perf.c | 13 ++- > app/test/test_malloc.c | 20 ++-- > app/test/test_mbuf.c | 15 ++- > app/test/test_member.c | 16 +++- > app/test/test_member_perf.c | 16 +++- > app/test/test_memcpy_perf.c | 30 +++--- > app/test/test_memory.c | 2 +- > app/test/test_mp_secondary.c | 12 +++ > app/test/test_pie.c | 30 +++++- > app/test/test_pmd_perf.c | 6 +- > app/test/test_rawdev.c | 17 +++- > app/test/test_rcu_qsbr_perf.c | 12 +++ > app/test/test_red.c | 29 +++++- > app/test/test_reorder.c | 15 ++- > app/test/test_rib.c | 22 ++++- > app/test/test_rib6.c | 22 ++++- > app/test/test_ring_stress_impl.h | 2 +- > app/test/test_sched.c | 14 ++- > app/test/test_security.c | 4 +- > app/test/test_table.c | 13 +++ > app/test/test_table_acl.c | 3 + > app/test/test_table_combined.c | 4 + > app/test/test_table_pipeline.c | 4 + > app/test/test_table_ports.c | 4 + > app/test/test_table_tables.c | 4 + > app/test/test_telemetry_data.c | 2 + > app/test/test_timer_secondary.c | 13 +++ > app/test/test_trace.c | 32 ++++++- > lib/eal/common/eal_common_errno.c | 4 + > lib/eal/windows/eal_memalloc.c | 6 +- > 84 files changed, 1058 insertions(+), 184 deletions(-) > delete mode 100755 app/test/has-hugepage.sh > create mode 100644 app/test/has_hugepage.py >=20 > -- > 2.31.0.vfs.0.1 >=20 >=20 >=20 > End of dev Digest, Vol 381, Issue 38 > ************************************