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 0901AA0A02; Fri, 26 Mar 2021 11:48:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 76CCE40685; Fri, 26 Mar 2021 11:48:09 +0100 (CET) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by mails.dpdk.org (Postfix) with ESMTP id 01CF94067B for ; Fri, 26 Mar 2021 11:48:07 +0100 (CET) Received: by mail-lf1-f54.google.com with SMTP id q29so6969163lfb.4 for ; Fri, 26 Mar 2021 03:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=67cp5j1i2nSI4P05s2TJSn4lXCJbkAfutxBLP8YWwa0=; b=RlkQJSvlEaz+82BNNmaeERzs37varr1F6+pwOQphv6wEsQHff2rPAZig+5pvie5DCl VMYIwiVq08q3INz+fkvHJMu3NCH/wvZ3BoxOFCwyXWoUQ7tB8UKibb+U1VYKLHqeFT1b O4fzsFs35Di++crAvsfnqsEXuRVek1jo0sibOzoLvZXsGRWV9cNZYqWqZdBai7623n/3 TM1O+DTvdx2vKWF9XT6wSN0x8K+4Owj2db8ZrstwZRZ4LoSTxgzA0ytuqT1AqFffDRYY D07xnxoMp5ttCEVWsymf2CfDiooDsi5l6VWyi9XoktTVGt/PdfUpFGpfmUwSwwqA6PDK MhsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=67cp5j1i2nSI4P05s2TJSn4lXCJbkAfutxBLP8YWwa0=; b=dAZVbUnAGyTc28hupV6iUC0oVbKrM1UReJTmcDJdZ8jjfdXVL68PBVhKE0WDFIMo1X OC7in/xXen+eHTraVp3oRm2ibb/D0mQhFEtvXX11khxo8t8KO59g4+VDymuRShy6u+Ps BRwbe7XN6hYIz280IAZG6WcdTRFVhbPm7/NIFcuFbHTIcGrSYL94VGf+fQYVPNbS/gA+ TzKHWUzoBOOgLsQZk04XWC55a5VU6Dm8mJqRIMFp+jXUCy6c3PKqb4uoXJL7ZvMKHIDH 9EDDYCdHcpXBrZ9yvvZ0N+5gpQUxi7fPhOAzwVQW78tzDedAwXm/CqJ0qjzsK3MXpEjo jfJQ== X-Gm-Message-State: AOAM531/XkaLF5+7ssZiYQoynAzLuOO5tRHwXSycPavpLEXDMVXDyaFn m/WTMNUHscKyYm7o4imfWuCX6i0FBLocqw== X-Google-Smtp-Source: ABdhPJwccmPVo5zCl+zScNIq4F/4dXfQU/6aMXEX24YJ+MifLPBowEbkUA5K/zcX1Oj6LLjGw6Kr0A== X-Received: by 2002:a19:e216:: with SMTP id z22mr7538936lfg.27.1616755687111; Fri, 26 Mar 2021 03:48:07 -0700 (PDT) Received: from mkPC.int.semihalf.com (host-193.106.246.138.static.3s.pl. [193.106.246.138]) by smtp.gmail.com with ESMTPSA id e15sm829956lfs.83.2021.03.26.03.48.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 03:48:06 -0700 (PDT) From: Michal Krawczyk To: dev@dpdk.org Cc: Michal Krawczyk Date: Fri, 26 Mar 2021 11:47:57 +0100 Message-Id: <20210326104759.280175-1-mk@semihalf.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/2] Fix unit tests execution for ENA PMD 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 Sender: "dev" Hi, ENA PMD uses timer service to implement various periodic device status check routine. Because of that, it already initializes the timer subsystem. As unit tests also initalizes the timer subsystem, return value is equal to -EAGAIN, as it was already done by the ENA PMD. This patch set adds missing documentation that this kind of return code may appear and this is not a failure and also changes unit tests tool, to do not fail if timer subsystem was already initialized. Stanislaw Kardach (2): timer: clarify subsystem_init return value test: proceed if timer subsystem was initialized app/test/test.c | 11 ++++++----- lib/librte_timer/rte_timer.h | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) -- 2.25.1