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 DF0FE43E2C; Tue, 9 Apr 2024 19:06:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4D69406FF; Tue, 9 Apr 2024 19:06:46 +0200 (CEST) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mails.dpdk.org (Postfix) with ESMTP id 5E8FD4025D for ; Tue, 9 Apr 2024 19:06:06 +0200 (CEST) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-6ecea46e1bfso5511149b3a.3 for ; Tue, 09 Apr 2024 10:06:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1712682365; x=1713287165; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bq9t5rJHUVi9CccU2Gr2OTwqzu94PDbbpmVt8qQuE98=; b=hZSnLN3tBDKfWnfyZahYdsx281rMsA9wQ2kH/G1LqSccOgTIQp8U+35IoZTaLsXFcC I1mNXYAVJLPSvConQ9+8y4lqrCpROCdoG1xPiF6dIerhsf9wjFUKBFMLPSKrxeiCSVwq XH/VwJu8wOjmdOpevLFh6cd/z723oBuWCXfGr3lZaCJaY5U0NZ+2C3dpjPiFhS+YamOD Yz7AP4s7ykCx1FWawoJFfwBcwKlfOvJirsJJ+MvZ6LyATmggET1y5nXIzMQSdcOT5Vde 8VkDch0LBFyb4F6kH4pDzKKXCuqqiLLVRqwAhrp1i/oAA8sXDZTYgLCqJsZsESF2bF5F DaUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712682365; x=1713287165; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bq9t5rJHUVi9CccU2Gr2OTwqzu94PDbbpmVt8qQuE98=; b=rpC+/AvWdHpWuOp+IDh5YdlS8wNHKTEyGjhDZ/oXnERiOIeLOiCZjW4lGVxSSezNyH YaBQugdUGXLjL6zsb8qc5QASYKatXQ6nxdbKTPBIBOo9B3gu3TlgeN35UJTyNTxlHxgZ e+EO2kNqdI9NWE8rr6BTnNaqMCliqgo5og++wIOK3euk4yVJjGnRfZpLOwArIFW2K7DD U9rRV649S7PXaShTqVJ+BDK53HxycTdMX071QspGtKtJ0Os1Nhku2l4z3HhBRLdLB8Gm PW9sh6GW6rd0+mtw7evSIGtFl4OLYsKNyvkDdhWspXOZQkgij1QOKB0H5fs0P9ZPAssZ Gwgw== X-Gm-Message-State: AOJu0Yw2IiLfgrXnvDwCu1s6M28+LqN5Ww+yiLZMWf2Wyrhox1AFUzQV 5LIOch6pnyr391oJFUGYCXjXS6/cW9HX9sEcXUsh/tIcofQ7pZ+BcKBdSqA6KhXJBpJ24cbRICJ r X-Google-Smtp-Source: AGHT+IEqD7GiRYiH5Tcji6AWlyg3qxvDGzKw1sqiVXRsnY9ki9envOJrNILHG11LbIHdz1loyIwpjA== X-Received: by 2002:a05:6a00:14d4:b0:6ed:1012:93e8 with SMTP id w20-20020a056a0014d400b006ed101293e8mr160202pfu.24.1712682365356; Tue, 09 Apr 2024 10:06:05 -0700 (PDT) Received: from hermes.lan (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id x25-20020aa784d9000000b006e6b52eb59asm8545673pfn.126.2024.04.09.10.06.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 10:06:05 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v4 0/2] uuid: generator functions and unit test Date: Tue, 9 Apr 2024 10:05:01 -0700 Message-ID: <20240409170602.541658-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240403163432.437275-1-stephen@networkplumber.org> References: <20240403163432.437275-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 While looking at using uuid's in some logging cases, discovered that the existing uuid support in EAL was missing some functions add in later versions of libuuid. Add functions to generate Uuid values, and add missing functional tests for uuid's. v4 - review comments and use stdatomic Stephen Hemminger (2): eal: add functions to generate uuid values test: add functional test for uuid app/test/meson.build | 1 + app/test/test_uuid.c | 138 +++++++++++++++++++++++++++++++ lib/eal/common/eal_common_uuid.c | 56 +++++++++++++ lib/eal/include/rte_uuid.h | 26 ++++++ lib/eal/version.map | 4 + 5 files changed, 225 insertions(+) create mode 100644 app/test/test_uuid.c -- 2.43.0