From patchwork Fri Aug 9 15:24:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 143052 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5BB064577A; Fri, 9 Aug 2024 17:26:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3750A43245; Fri, 9 Aug 2024 17:25:55 +0200 (CEST) Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by mails.dpdk.org (Postfix) with ESMTP id D139743003 for ; Fri, 9 Aug 2024 17:25:52 +0200 (CEST) Received: by mail-pj1-f52.google.com with SMTP id 98e67ed59e1d1-2cb4c4de4cbso1678771a91.1 for ; Fri, 09 Aug 2024 08:25:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1723217152; x=1723821952; 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=Gd9BEzYCRQfmUNDeaN5v3qksJhHcZ5xiZrgduDSAYR1SOYpnHmKk4rc0VWcB4M8XbL /rTZHc7liSDeGY4KMbuuhC7A4BDO/eHJqGYrZQo8fuliZUez9qjgmIu/spT2nggCX+on HKuluqJbhzTR07GCBt9QmkqMs2gnAGsAPCsTZ2bvn5PG95CVuemc80vLJPcK2HfcdJby JqM6euwYIJMA9AX9kg7qeXhfFSSD7brIi/ixolvlNRAbF2qjXMfX/expzA1o5efkVelG KY9uD7GIZsY5zptEhwE60CcEPsj5I0ouYSytWuLmsQtYahpOcrK+BhcLTpr9dGOdGncM NoMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723217152; x=1723821952; 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=uMTi9wiVLxcRZBcTFubh4qCtOz4LFp1IfdZsrumbyU2O/cYh3+20VXNIT3MUGrT+GJ yMRcegk8eDgyCS0+t69SpKwmx8/H92ZW+rZbAqOSuqkOBVHmUb50PktsVx1AltEi0Peb pehTVH4ukYC3Mnd5HFrFyBzPhXwfbA3/SITJkVokTud3wlbkjhRYiAJM4xf5tMmMJb6x uZyFSk7Tz8vRCMD5pi1GaJb1Kkd6EPlElj8EyQmTINmECbz7WJdMprTwAW3y55rOMdye F0LYWdqxvTs1ni/QRRrKuLeWVMiGV8+ROk0yhU+TYL6trwZBHyvVUZpoavG7Wu0IveKB Mfag== X-Gm-Message-State: AOJu0YwLL8oWhLzjoBIBOsuNDvXhUCLSe/wuitSf3cA8oTIMcKsgCsN4 2z5fTb1VtskhIt17oYX5o3sQUiz4yx0xj0mtPRCxLuR9BxqzN3jJD325z+ownddo5bmmwKWbDFh t X-Google-Smtp-Source: AGHT+IEh3Djn5clvCPRarJMdl/H+RRKJfBowvDTiT6YSvCHIXzJHqwWFTPJruUtsvlA850YTFfxEFQ== X-Received: by 2002:a17:90b:4a42:b0:2c8:a8f:c97 with SMTP id 98e67ed59e1d1-2d1e8078a15mr2014496a91.37.1723217151943; Fri, 09 Aug 2024 08:25:51 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2d1c9c5e64fsm3154091a91.0.2024.08.09.08.25.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Aug 2024 08:25:51 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 2/3] test: support alarm test on FreeBSD Date: Fri, 9 Aug 2024 08:24:28 -0700 Message-ID: <20240809152540.9568-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240809152540.9568-1-stephen@networkplumber.org> References: <20240808194756.167664-1-stephen@networkplumber.org> <20240809152540.9568-1-stephen@networkplumber.org> MIME-Version: 1.0 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,