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 8CBE3432BA; Mon, 6 Nov 2023 17:27:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D55F402B1; Mon, 6 Nov 2023 17:27:16 +0100 (CET) Received: from mail-il1-f171.google.com (mail-il1-f171.google.com [209.85.166.171]) by mails.dpdk.org (Postfix) with ESMTP id 57A594025D for ; Mon, 6 Nov 2023 17:27:15 +0100 (CET) Received: by mail-il1-f171.google.com with SMTP id e9e14a558f8ab-359381980f7so18474715ab.2 for ; Mon, 06 Nov 2023 08:27:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1699288034; x=1699892834; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=GZ3DIvwih6SYhhIbYrjqW8zSq6coy6H4NlgghOzELGw=; b=DjCHul9dPEWOjR/4EdI2dX2aTMah5YpkMPuFzyMBXcY4QlY+cotzNQf5ZRPls4Yz+G BhvY3ZwMq7dR+fJYkjuM/XsNAfRCc87dzbLpUz7SsSoeezEGiVwLonit+k6VI7GxnSwv qvOsQ0ZBohGq8TmOBr9F0HFryC7I/YcFk/9qpagliNTVtrJeo1khP7wJlSWCT8svbUKQ 9mLMUpjQERJZQwyoZBD9CbImcazYA3gveGnibZq1Bng9pE3uLgqyAn2Ai408I/XyFP3L 7IwVdKZQAauRih28shqG450z5Tvf6tWHEW6zp27lhY26ynilZo1J8JmHsrKN68x/6258 wzgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699288034; x=1699892834; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GZ3DIvwih6SYhhIbYrjqW8zSq6coy6H4NlgghOzELGw=; b=BcWa4IBdZxTcMBDbZxRz4ccJMz364Hxb+4JQPn1AhXTfxJRBkf42HJwfRWwP5LkKAO 9u4w32AfrlhlcsCYTKNZxJhdL2lsprj/zO5Z514wYA2RA/k5R6L4DlTvrM1VyrOYh8Bl SuKMb71n/aoJRPgSehBe3IC3wUaNNUXzFGUNOZvFUoo7aez2XOC0MeT2KfOSMv172qB+ 3fCJR5xfxMKBy90E1RbyxdinsjpxjNykEdn9+ioSAZfb3HLGBv3vFGnhdzgTuFdk4x+b 2axjFpq9a0pMNCmFdHhTUHVNoI3xDMvN0FjxO7LVSUhsq7Mgo/CBh/SeMoKLJWaHFdKx daQQ== X-Gm-Message-State: AOJu0Ywm1gp76MO4OAQSzeVSJuTSOVCRUz6zE/154hTPI3aj143w5DwG lL4GYITTNpulopRQmxifATxIww== X-Google-Smtp-Source: AGHT+IEDSj9C7fVCHLq6XkQ5UeU+UrtbH8Qb64Uka0mT+BH+tyGBuTV5UkqC2vrxY1v+q8wB73XKFg== X-Received: by 2002:a05:6e02:1c85:b0:359:30b1:425e with SMTP id w5-20020a056e021c8500b0035930b1425emr187462ill.25.1699288034431; Mon, 06 Nov 2023 08:27:14 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id s8-20020a056a00178800b006c2fd6a7fe3sm5812909pfg.22.2023.11.06.08.27.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 08:27:14 -0800 (PST) Date: Mon, 6 Nov 2023 08:27:11 -0800 From: Stephen Hemminger To: Nagma Meraj Cc: "dev@dpdk.org" , Jayasvi Battu , RAJESH GUTTULA , Nidhi Tomar Subject: Re: rte_timer_reset related issues in DPDK 20.05 Message-ID: <20231106082711.1e54c814@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Mon, 6 Nov 2023 10:31:20 +0000 Nagma Meraj wrote: > TCS Confidential > > Hi, > > We are working on Front Haul Library which is using DPDK internally for data accleration. > In that we are facing the following issues: > 1.In Front Haul Library, one of the threads xran_timing_source_thread() is using DPDK rte_timer_reset() where in the timer_add() it is printing negative values in the timer_get_prev_enteries(). Do you have threads fighting over timer? What context is rte_timer_reset() being called in? > 2. That is,in prev[lvl]->sl_next[lvl] = -459511634 is taking negative value in a while loop as in the below code snippet and is going in an infinite loop because of which the above thread is getting stuck here and it is failing. Can we get possible scenarios when this type of errors generally occurs? > > [cid:2e8dda97-6a2a-474d-ba0a-98e7789a4014] > > > Thanks & Regards, > Nagma Meraj > > > TCS Confidential > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you Please don't put this on mailing list mail. If lawyers are watching, in theory we should ignore your mail.