From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 5A9BA43BBA;
	Thu,  7 Mar 2024 12:31:03 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 446CB427D8;
	Thu,  7 Mar 2024 12:31:03 +0100 (CET)
Received: from us-smtp-delivery-124.mimecast.com
 (us-smtp-delivery-124.mimecast.com [170.10.133.124])
 by mails.dpdk.org (Postfix) with ESMTP id 572B94067E
 for <dev@dpdk.org>; Thu,  7 Mar 2024 12:31:02 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1709811061;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=eNjXm0VaFayOZRkbzMmD7U0kZ4JwPSmZ5FHPZNob/XM=;
 b=W/kGTTmRVmJdtINcGorvjBT6hpxWTsBCXGcabu7854b+U9ghBm5C5GKG7Kbx3q4l18Q/5j
 H4pAludCZLUe3VQc/B7DF4K5lyjYglTIgu5RFhtQ8aWAafC+u+kzyzSJT+hgc1jWBuoG9/
 7w7qM5ADncghqhY8OM/ZIfhSopOp8t0=
Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com
 [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS
 (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id
 us-mta-542-xLTIaAQJPiqna4wBTltAqQ-1; Thu, 07 Mar 2024 06:31:00 -0500
X-MC-Unique: xLTIaAQJPiqna4wBTltAqQ-1
Received: by mail-lf1-f72.google.com with SMTP id
 2adb3069b0e04-5132c85310aso907990e87.2
 for <dev@dpdk.org>; Thu, 07 Mar 2024 03:30:59 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1709811059; x=1710415859;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=eNjXm0VaFayOZRkbzMmD7U0kZ4JwPSmZ5FHPZNob/XM=;
 b=vLo2yYNeQ2dXo5NtObaIyYMMYJ+PwpQIgc78uTtTeqgwP76yKO77qycdW4iqQYr09U
 ysgNXd4zjS9QkfFvclj4J1bbfsbgScThgadH7NpPl4uj1DWfkJQ0xzNF3yD5IUoP3Q9s
 52DNuQkB9HT2hJ0gfp0N4mpd9gZn6NJf0DzICfhMl+SQVXNMiqOJjT83pj4LWg0vXkOR
 g2LcNlinyzkciNxyUbq7qY4QUxFSbqdzFYTmse3ObudlH5Kv1BQ919aNaszfGB5DZXGa
 KGuFh0ynAW0Q+lenQV4qnrgUacroSZcxCyoicPiddDcwKSNl7PX4l4CV4/1mcKLZoe9t
 u1vg==
X-Gm-Message-State: AOJu0YzAvjgFaIrG3EmKB89hlDMsoAfezD+mzAgJ2E7K2G/t4g6IXr+9
 8Si3s9k0f8ANGEHtXsEl8w5poam1nAA9HALzVZS04pQwSsHud9cnVJNoylM8v4QWHHk1xohjJIN
 fPQt2B7NJfOKZ04LzCIu6QZvVj+W29JrWV8lJNxEl2ui7g4I6MNrux/1nDplJCVrasUVSY+MkfD
 tdicTIv6b9lSPnBcQ=
X-Received: by 2002:a19:f612:0:b0:513:2c86:3498 with SMTP id
 x18-20020a19f612000000b005132c863498mr1204071lfe.48.1709811058787; 
 Thu, 07 Mar 2024 03:30:58 -0800 (PST)
X-Google-Smtp-Source: AGHT+IELB0yPWXS2otfsm2hFm5fVgI2F9BYmhgP9zHjGMm86OINw9ixNqCu0IiNv29d90bvDDE/q4PfkMKN5NkujT30=
X-Received: by 2002:a19:f612:0:b0:513:2c86:3498 with SMTP id
 x18-20020a19f612000000b005132c863498mr1204062lfe.48.1709811058476; Thu, 07
 Mar 2024 03:30:58 -0800 (PST)
MIME-Version: 1.0
References: <20230927150854.3670391-2-paul.szczepanek@arm.com>
 <20240301102104.20074-1-paul.szczepanek@arm.com>
 <20240301102104.20074-5-paul.szczepanek@arm.com>
In-Reply-To: <20240301102104.20074-5-paul.szczepanek@arm.com>
From: David Marchand <david.marchand@redhat.com>
Date: Thu, 7 Mar 2024 12:30:47 +0100
Message-ID: <CAJFAV8xfr-F12hGNHnY04ZOcxN46W63DNp8YDwEvJAD0hSBczw@mail.gmail.com>
Subject: Re: [PATCH v7 4/4] test: add unit test for ptr compression
To: Paul Szczepanek <paul.szczepanek@arm.com>
Cc: dev@dpdk.org
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

On Fri, Mar 1, 2024 at 11:21=E2=80=AFAM Paul Szczepanek <paul.szczepanek@ar=
m.com> wrote:
>
> Test compresses and decompresses pointers with various combinations
> of memory regions and alignments and verifies the pointers are
> recovered correctly.
>
> Signed-off-by: Paul Szczepanek <paul.szczepanek@arm.com>
> ---
>  app/test/meson.build             |   1 +
>  app/test/test_eal_ptr_compress.c | 108 +++++++++++++++++++++++++++++++
>  2 files changed, 109 insertions(+)
>  create mode 100644 app/test/test_eal_ptr_compress.c
>
> diff --git a/app/test/meson.build b/app/test/meson.build
> index 7d909039ae..0d1b777199 100644
> --- a/app/test/meson.build
> +++ b/app/test/meson.build
> @@ -68,6 +68,7 @@ source_file_deps =3D {
>      'test_dmadev_api.c': ['dmadev'],
>      'test_eal_flags.c': [],
>      'test_eal_fs.c': [],
> +    'test_eal_ptr_compress.c': [],
>      'test_efd.c': ['efd', 'net'],
>      'test_efd_perf.c': ['efd', 'hash'],
>      'test_errno.c': [],
> diff --git a/app/test/test_eal_ptr_compress.c b/app/test/test_eal_ptr_com=
press.c
> new file mode 100644
> index 0000000000..c1c9a98be7
> --- /dev/null
> +++ b/app/test/test_eal_ptr_compress.c
> @@ -0,0 +1,108 @@
> +/* SPDX-License-Identifier: BSD-3-Clause
> + * Copyright(c) 2010-2014 Intel Corporation

Copyright ARM 2024.


--=20
David Marchand