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 782C2431BE; Fri, 20 Oct 2023 23:42:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED12E41143; Fri, 20 Oct 2023 23:41:39 +0200 (CEST) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mails.dpdk.org (Postfix) with ESMTP id 57B6340A7A for ; Fri, 20 Oct 2023 23:41:35 +0200 (CEST) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6b5af4662b7so1194649b3a.3 for ; Fri, 20 Oct 2023 14:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838094; x=1698442894; 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=icOvJbOJsTDdP+66R4uRBps9bpq6ofm0IVLkWhoTkTA=; b=nWFxMS68QzDJGn2HDkxAfi04AYkmo/wzbnCG3O6lQdH2Omz2aWlmhSHTFpQbfiWNVV QlzH1ozAGBp4adc3mrSbftCqFxaCvYxln8Bfml+cxy1tJqj2OIWYWoYAZqeJRs+MtIiA 4DGMrQBwBarhQHl9ECw9657B1Zr8l5NgQN4OnCVX0EErjsjFypyW7vzRp1u3DKpO+BtB 8cEhbdZVdolV5TumNCOUEeoG4yo4x651vXknJsHUaC5fNn47N4MEcAxK0tMW264XgeMo gfMJXx1PZHUZvVbVsKYRgtBKr+RnGWBUo8pFnp1YyO/WdvL1XKl2SlStBOgjW44I1jan owYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838094; x=1698442894; 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=icOvJbOJsTDdP+66R4uRBps9bpq6ofm0IVLkWhoTkTA=; b=laVty/68Lz9bkY6Le/9QjZXkIVqrQVjVxtcOB7SnNJTm/S5cNaNM6IntIAPZqXl6SH 7CWFCfqgwVqNphMxEv6HykEVeQlSo0sNsAQLa6Pd+QlkcFqbMoLN2KH7cPR7CfVvRwhN O7moCDlCqZzlA/aQ5r1e2sL9LxtgM8is4ZSa0GNnokrb7ePErgFWA8k39Ng+p41ZQgBI nujPcIgpN3VnZq01nEIWK6s8n6I1eb2A0jCn2kYwUH9e/YqTYO0git1LRMH6MiXfXWCR 6fRxHECbsi18lKWbdqTFjcmUiKhWk1yneprW8onwIE+C8aFrWG9YFJEDljka5L2mngXB y5Xw== X-Gm-Message-State: AOJu0YxwtowEeOl8T15MH8wMaxpyL0HyTX/+Z7bqLyQWjsUwYGZCDn6I 5WLc6tBDLIhA+kTw2lsZkAGdcr3Dods0HlRoV5rbrw== X-Google-Smtp-Source: AGHT+IG3Ucn8psY4av5i/PpLFORbalxPyEKiiCyx+Kq1HRatQ3gQKi15wvT2UdrZD3WoI6Vxz1KNwQ== X-Received: by 2002:aa7:88d0:0:b0:68e:41e9:10be with SMTP id k16-20020aa788d0000000b0068e41e910bemr2799860pff.20.1697838094301; Fri, 20 Oct 2023 14:41:34 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:33 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Subject: [PATCH v2 04/14] eal: make rte_drand a stable API Date: Fri, 20 Oct 2023 14:41:09 -0700 Message-Id: <20231020214119.255491-5-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-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 This API was added in 2020. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_random.h | 4 ---- lib/eal/version.map | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/eal/include/rte_random.h b/lib/eal/include/rte_random.h index c12eb07ea818..ea74ca020044 100644 --- a/lib/eal/include/rte_random.h +++ b/lib/eal/include/rte_random.h @@ -70,9 +70,6 @@ uint64_t rte_rand_max(uint64_t upper_bound); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Generates a pseudo-random floating point number. * * This function returns a non-negative double-precision floating random @@ -87,7 +84,6 @@ rte_rand_max(uint64_t upper_bound); * @return * A pseudo-random value between 0 and 1.0. */ -__rte_experimental double rte_drand(void); #ifdef __cplusplus diff --git a/lib/eal/version.map b/lib/eal/version.map index 5fd7ceec94fb..edeb7ff518e2 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -57,6 +57,7 @@ DPDK_24 { rte_devargs_parsef; rte_devargs_remove; rte_devargs_type_count; + rte_drand; rte_driver_name; rte_dump_physmem_layout; rte_dump_stack; @@ -395,9 +396,6 @@ EXPERIMENTAL { rte_intr_type_get; rte_intr_type_set; - # added in 22.07 - rte_drand; - # added in 23.03 rte_lcore_register_usage_cb; __rte_eal_trace_generic_blob; -- 2.39.2