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 DF2E5A0C43; Sat, 23 Oct 2021 01:37:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 75A264069D; Sat, 23 Oct 2021 01:37:39 +0200 (CEST) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by mails.dpdk.org (Postfix) with ESMTP id 0FD9040150 for ; Sat, 23 Oct 2021 01:37:38 +0200 (CEST) Received: by mail-lf1-f46.google.com with SMTP id bp15so2947179lfb.4 for ; Fri, 22 Oct 2021 16:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+mZHkezj0mzKM6HhwEod2fd1BB8SSYNxmCLts2wvZ9Y=; b=SUdAYcwfD1gc518dGC/gE8rqKTJgJ3v1qHa6q7ENzYGtfEEScHiPee9buiSgExnDab MgEUEVmrVelsoc1KYYtwEVB7XaUAsvKw+B94pU5xVaNF0RNk+ro+580z/s32vlzMV3Wh 4lSnrWjXQlJn62EJ8Sefiy+34OoKle/iRFVVY+Fi3RaZaSoec7xxsWjplrLuLsC/8gqz hcTgqM+ZV32hXyzzlfvJ0gw063m4dTSyh6zXylMrsOjlJhNUjr8f6jDhuXVbuB5yzMjp P3E15qVDSL1+sktaZR1chckjcp0xfjuBoI59on6rnE4h+cxhOB3A5lOIZk7t0xOgvCvk ZgVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+mZHkezj0mzKM6HhwEod2fd1BB8SSYNxmCLts2wvZ9Y=; b=lQTBJuIQz7QhgkFLoY6xPNZquoudWR5eSxJFcWmVDaf8IvXVlFJoe9JD/BtyXMW6+D uYsuNeIHsX6tec6Qsq02dI9kgW41CrRAUXyGtZdML0PKNLBtDKbmF2w3rS5kgn9f7a6+ ZoY7J3WCsCcNGbAHJkrQSl+S4Ba1BGqccVaxF33DGws5zBtq26agT3xRdh0pGtkVhG41 Yrvh6x1Kl8XW/rFKo+FXLBvy08xZMF1hQtRzlg0Fx5r2Ik0P5oD+elDEhwV+KNRz2zm8 j3AeiomWB5i5gMUWzkbg/LcH+aPHWRend5yo2FXvhXtNdZ0f/jHS96HLi2yChkWP6amz FmCQ== X-Gm-Message-State: AOAM532C/rgCufT+HtYoCPB/Ct22TC5oXZkgKiAm/cNPWLYjImB8dW9O 3zaqNlNCn0/H86MxvpfVOU4= X-Google-Smtp-Source: ABdhPJyVs4idTkhqRk66PBugbtOsku3N7XK+Se5aqQ1U8wdEpP4XrMwwTjN+F3zV0DiDPq2/uZdZsg== X-Received: by 2002:a05:6512:1282:: with SMTP id u2mr2528548lfs.226.1634945857684; Fri, 22 Oct 2021 16:37:37 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id r7sm861163lfc.106.2021.10.22.16.37.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Oct 2021 16:37:37 -0700 (PDT) Date: Sat, 23 Oct 2021 02:37:36 +0300 From: Dmitry Kozlyuk To: Harman Kalra Cc: , Bruce Richardson , , , Message-ID: <20211023023736.03d72d89@sovereign> In-Reply-To: <20211023023355.24e64770@sovereign> References: <20210826145726.102081-1-hkalra@marvell.com> <20211022204934.132186-1-hkalra@marvell.com> <20211022204934.132186-7-hkalra@marvell.com> <20211023023355.24e64770@sovereign> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v5 6/6] eal/alarm: introduce alarm fini routine 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" 2021-10-23 02:33 (UTC+0300), Dmitry Kozlyuk: > 2021-10-23 02:19 (UTC+0530), Harman Kalra: > [...] > > /** > > * Function is to check if the kernel module(like, vfio, vfio_iommu_type1, > > * etc.) loaded. > > diff --git a/lib/eal/freebsd/eal.c b/lib/eal/freebsd/eal.c > > index 56a60f13e9..535ea687ca 100644 > > --- a/lib/eal/freebsd/eal.c > > +++ b/lib/eal/freebsd/eal.c > > @@ -977,6 +977,7 @@ rte_eal_cleanup(void) > > rte_eal_memory_detach(); > > rte_trace_save(); > > eal_trace_fini(); > > + rte_eal_alarm_fini(); > > Alarms are initialized after tracing, so they should be finalized after. "...finalized before", sorry.