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 3503643DF1; Thu, 4 Apr 2024 00:13:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 025F7402D1; Thu, 4 Apr 2024 00:13:32 +0200 (CEST) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mails.dpdk.org (Postfix) with ESMTP id 03E7C4027B for ; Thu, 4 Apr 2024 00:13:31 +0200 (CEST) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6e6f4ad4c57so246149b3a.2 for ; Wed, 03 Apr 2024 15:13:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1712182410; x=1712787210; 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=Jj24zNcWqfmsFCyC5A+ymUkk7bfuqKadQoRltL/a61w=; b=RuH4KubIqybF4PhDeqmURgIRAK3bhfPK3sTZXrQ0oIjQOAniy0Y+pme46kFm4j1md9 GFMscANh5NnH3bVImHnleamm9IoYEDka7A1SnEE+RjLWHXP/ClmOXqz5ND9jLpx3U+k9 SxoAKFHb3OhnS6f4MyjiANrbXPTVA9rPjqlx2ZSPVMGfVmpfGVVi8W1e49FZj6vj9HTX DREexcXDgyii6mFg3MWQnE/wGQvff6CW3IbGDPdvfOhN18UEau5SseEasatOPuWCg1+r UKe74gPA+UV48faGDJM9Hk6PoB8t4DLKdq+yA2Ke4PJrCucIFjjr7ZjVRNuSowfCDX1o kKDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712182410; x=1712787210; 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=Jj24zNcWqfmsFCyC5A+ymUkk7bfuqKadQoRltL/a61w=; b=XJoh0UtYtGVAbwFvCTKS6HPBnRCkl7aNhimBduy59vsE+nwT0x5s7PjyuZ9LBjATbK Z6MFzLoaZK7dLiD+FfwHRYwgc8GTe4Cbz00VCxaPG3FA/UQmLXHjBtmYlD1aB8UGSLLW jZO9lLdK1IA6fsT6YTJ9OxHmpo6bkm0nDWQrrZWT6sOx4e7Ey/XAQP5tsC4yEIyN3AgB h2NsRF3+Nq2oexvloQsNuLiNIO+gv1FUgb/YTj+8y9Bxpr5y9tKx0KlUk76p3biGrrn9 7xQ7lshTwiJOtGHobIlX8fr+WdbtrLKxHcSWn7LO7No9wDpNzJbe1FfCeL6Vj/POPR0B xMlg== X-Gm-Message-State: AOJu0YwZSEdcoGSE8Wi44Mya2q0yr2hCUEuWwt+TFI6PHqZNn+NYWehx dPxUqggbgfJ7SmcoFkx/hQeE8H8uia5kgFTydGVD7L6T5qWKvtqCLt+8Qrv8N06VmbCNkZaaFjh kw4bFAA== X-Google-Smtp-Source: AGHT+IG/oNVOoGhojYiOb1nzV2exG3pu6zHFBiVlf6tsemHs9kejnr8OVF2w9tQxmvd4gQFy52vyww== X-Received: by 2002:a05:6a20:5492:b0:1a3:c503:8e78 with SMTP id i18-20020a056a20549200b001a3c5038e78mr1254948pzk.8.1712182410181; Wed, 03 Apr 2024 15:13:30 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 1-20020a17090a0f0100b002a261d1da0dsm224218pjy.24.2024.04.03.15.13.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 15:13:29 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 0/2] uuid: add generate functions and tests Date: Wed, 3 Apr 2024 15:11:06 -0700 Message-ID: <20240403221319.499014-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 The DPDK version of uuid was missing tests and a way to generate uuid's. Add both. v2 - use RTE_ATOMIC to get _Atomic in clang 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 | 135 +++++++++++++++++++++++++++++++ lib/eal/common/eal_common_uuid.c | 56 +++++++++++++ lib/eal/include/rte_uuid.h | 22 ++++- lib/eal/version.map | 2 + 5 files changed, 215 insertions(+), 1 deletion(-) create mode 100644 app/test/test_uuid.c -- 2.43.0