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 D52EB4576E; Thu, 8 Aug 2024 21:48:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A660A42DDA; Thu, 8 Aug 2024 21:48:13 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id 267D642D9F for ; Thu, 8 Aug 2024 21:48:10 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-70d1a74a43bso1162252b3a.1 for ; Thu, 08 Aug 2024 12:48:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1723146489; x=1723751289; 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=KI75ES28RmRSZwX5pwgOkPVl4wZrL3lPSfKfOonm2PY=; b=WIcrFXqjQpmFavue2bW8thAjCIEKNUKGA1KSSd6nGYLUhQLWb7L0fKveRl42tdDt5h ZS1qRB28tmpdRz1uIMv5MDWwmUGVSv1npFzBw3yycSVsPMww63Bq8Wuku/g1Zlh/iVOA pVIq7HXoXCxuSbV4FKbpgIkBw6C65W4eR2vdYOTYt6GqQkkS74ux8h9PmQFlhOA0J+FA FGfI6bAYQp86VSgkKYJAw+Fr1NCFMlCB8KTc20p53YDOYwRqnBGMSRnDhXkOrTpZNyrf xG4Ddi6NwrMelwZoMm6YisAuBPLCFmb3A8lX7W15zQgWAVGff2kKLHt6sJAnZy90hJ6B EaAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723146489; x=1723751289; 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=KI75ES28RmRSZwX5pwgOkPVl4wZrL3lPSfKfOonm2PY=; b=gFY2fUgr5xIsWhrZzBu74isTPnC+wpNbm/KgAYW9kisY5fF/9SrnmeGX207985cC+f jMIkTLQlXK55aK2UZWM+AWjk4/4Rdf5Zp5N+zoYkduOJbS+HBYadWC3HM/1VOxj5uVXR i6MPvXyX6+4Eb/A/l+m57CEBP/Qv8W/DCv6odfk4CHz3tWKkJORDDHLaHH9MXOkZfODZ KhwB6YBLTgIz25iqDekNfByRoR8WPkyARgR2TU0GJYd1pAdV1gMN0oLa9IlqHIQNbigc HMPaY1MiP8tjv3EXID1O4S7nggi9FosgvukImtDiA+7OQn124IxCcpNoHc9zmuf9TveZ 5OJQ== X-Gm-Message-State: AOJu0YxEI9KE5NaqPotN+E3wXV57A00tzfV/lPdRjwmTw6z2uIbOQ6RS KHMFNWSqd/a1O9SfJ3lrKTCAXj7QdLvETYoUeuOYaqQOl2oV3C4R42cN7rblbKBM3J07aVuKX7y m X-Google-Smtp-Source: AGHT+IF7GJTjr+wqg1h/S1qwF7qj9zegaPy62eISizfLrbLRqwRplbF0VQjxvdujB3yrZxykYumrtA== X-Received: by 2002:a05:6a00:915a:b0:70d:1a82:f9a4 with SMTP id d2e1a72fcca58-710cae89caemr2753217b3a.30.1723146489264; Thu, 08 Aug 2024 12:48:09 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-710cb2d376csm1469804b3a.111.2024.08.08.12.48.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Aug 2024 12:48:08 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Tyler Retzlaff Subject: [PATCH 3/5] test: support alarm test on FreeBSD Date: Thu, 8 Aug 2024 12:46:59 -0700 Message-ID: <20240808194756.167664-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808194756.167664-1-stephen@networkplumber.org> References: <20240808194756.167664-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 Yes the alarm API is supported on FreeBSD. Signed-off-by: Stephen Hemminger --- app/test/test_alarm.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/test/test_alarm.c b/app/test/test_alarm.c index b4034339b8..0cdfad1374 100644 --- a/app/test/test_alarm.c +++ b/app/test/test_alarm.c @@ -22,11 +22,6 @@ test_alarm_callback(void *cb_arg) static int test_alarm(void) { -#ifdef RTE_EXEC_ENV_FREEBSD - printf("The alarm API is not supported on FreeBSD\n"); - return 0; -#endif - /* check if it will fail to set alarm with wrong us value */ printf("check if it will fail to set alarm with wrong ms values\n"); if (rte_eal_alarm_set(0, test_alarm_callback, -- 2.43.0