From patchwork Fri Aug 9 15:24:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 1226 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 CF48F4577A; Fri, 9 Aug 2024 17:25:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BB65142E9D; Fri, 9 Aug 2024 17:25:52 +0200 (CEST) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mails.dpdk.org (Postfix) with ESMTP id 3D7094025F for ; Fri, 9 Aug 2024 17:25:51 +0200 (CEST) Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-6c5bcb8e8edso1617642a12.2 for ; Fri, 09 Aug 2024 08:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1723217150; x=1723821950; 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=Tx0ki/lWxeV836xCdE/wNpL9LVA8ItYa2voD5P3qiHw=; b=FYt7S5FG/wA7CnR+sg+M4Sx4HAeHc1ghr3sbHGlj6h/peSrbvPVqURC+ZXrZr+90dJ fQHN5p90yurqoyVWpyviSiO8nWhIy+RgHhHsYMg9e8OJfwp3lceat8B6REm+pp5T6b3l oTelVnBtVTSjP359nWA9DKtB6ED2e1+6D644MikZTgLBYIiLrYS0R/FpShs53mRJXUTj cb0hHJ9btjcnsWcr6LnVGexF5xLxmrE11ksvSj5zbkC7b2WoQIlCbkssUZZlvYng5PoU PTWSFDfSXs/NmDFergcgLc4YBZwDrpKgsqx/ZI6cDXVznjNgOgW5bpXvP9cZ8EqdSF0i gJtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723217150; x=1723821950; 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=Tx0ki/lWxeV836xCdE/wNpL9LVA8ItYa2voD5P3qiHw=; b=akTeQ08VYPlRaQSBr+uFPWglRdbOQX+FmaE8u3Y71z9ygN3gZDTMhWBm9kbiO8n558 ANClgEZ4bMf8QouKFD24B4Um81KiftH6Mc4FYw4559J6kBUReKceHJLIwLJnbGmGXVwF Gq6o8fld+0YFZsKxmMElv6HO1ZWoaUp5BIHbzo+7YULNwQuUFYM5p2rwdWRjA3lDEfo+ iA/W+iQ1JguLyic6wZBIzYpm9r4eiSooKxB/AMtT0ZgaEnB4G3j5TC1L3wJstYP1/j0a n9BLPzg6Y72VIgBl1OisGo01xUbatU4WDId+TopT3I4t3WoXsKIjh409LbXZPDOf1qM4 oYMg== X-Gm-Message-State: AOJu0YxtWrQnfaUu2RU1+rJI2qJkromWa82ukz4/rUooAEnmxNzY9YOH +Mc2HLWODLfypoXx3gqpprOZQfv4G8GBxg5FX0DiiAKFO7MgHQ1AwULRej77VWKiPgNLijZqmJt S X-Google-Smtp-Source: AGHT+IEk4UPXi6kJcAmRgD6z38g3Zn53iion5N8i8WEm5TPXJn5vp0xaPCow/Ud5J4VFSzkQFqpYPw== X-Received: by 2002:a17:90b:384c:b0:2cf:c9df:4cc8 with SMTP id 98e67ed59e1d1-2d1e806691cmr2048411a91.38.1723217150388; Fri, 09 Aug 2024 08:25:50 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Aug 2024 08:25:50 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 0/3] alarm test fixes Date: Fri, 9 Aug 2024 08:24:26 -0700 Message-ID: <20240809152540.9568-1-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 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 is the set of things which stood out as needing fixing when looking at the rte_eal_alarm tests. v2 - drop cleanup of eal alarm code for later - add RTE_ATOMIC() to fix clang build Stephen Hemminger (3): eal: add missing parameter check to rte_eal_alarm_set on Windows test: support alarm test on FreeBSD test/alarm: rewrite the alarm test app/test/test_alarm.c | 85 ++++++++++++++++++++++--------------- lib/eal/windows/eal_alarm.c | 7 +++ 2 files changed, 57 insertions(+), 35 deletions(-)