From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3C9ACA04C3; Fri, 22 Nov 2019 18:05:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 47FC82BAE; Fri, 22 Nov 2019 18:05:46 +0100 (CET) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by dpdk.org (Postfix) with ESMTP id 39DF02BA3 for ; Fri, 22 Nov 2019 18:05:45 +0100 (CET) Received: by mail-pf1-f182.google.com with SMTP id q26so3744067pfn.11 for ; Fri, 22 Nov 2019 09:05:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uu/7mHghjYBurZWNPxo3PYupCHZ24Iax+nSh0f+C3JY=; b=Whv4wmVP9yP7AqFFWXY3aWrHeU4aEGnkEaZWU+WTvjoH5/+XV3PSbXOk1vinlAzQvx UFO5f4Wv799Hk/dE0XQhZG5dI7RQYuoSb6hFV72JWVSFfk1AiUuNvcGUcntAMnQ5DKh0 /RrK8V8TLflDz+UNdJXk/d1rxPsbitgBKg/mNkayA2SuE5rA9mLbP3byXzcQs191xhim z3dVEnymyqT90T00obqcTZaKnV53AJFc9oR1364Nhi1OzeKo54H7We5UYjW96vmJhfQD YC60F5Lv76uhafTZz99rEIiSsMaF30UTJA5YJAvf9+pezR+dq1TGVB5bKCcX8gW4jdFg YkGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uu/7mHghjYBurZWNPxo3PYupCHZ24Iax+nSh0f+C3JY=; b=H6fFuKmyWZNB4xOvb3Hj2+L3TdOoOgf/E9SDJog5Ds8zcJQaJ6jetDkgKBg/jh5NG3 A53Vhu4e88r9/ykOQV1xUMQ92GVzzxO8re998skJV5ElaSaZnf5td27GWYvt57gtAxKi mu3sz0cpS4vq15I25EZxqpuJVBK45wJjJe8PtqGjIjwxF45TgsXuvDhEZCI3p4XICdKK 48NKYGSWSLMvh4C6Sjtn0J0J5BWGGegx9o1jabaLLoQprfwF7NLOUfvnUtRyrbWmbcpU YB57FaZZqd61WFSUbA+hnqCTLE35/C0HULCshmjrYNvLLkuiz2v+WsG0Lw8IiPrD1wRT L1Cg== X-Gm-Message-State: APjAAAUuUya4m85UQkRRrPH1qH894Za6lGhDxhxiXZrkZB+UbUE/ERb4 hcW42xzitGmQp0FtNp9U6mMDUQ3ZyB5aXA== X-Google-Smtp-Source: APXvYqzaGuYHg0C111M5tvwNlp1zrCoX//AwKAX0HyYdL4M9Pde7MZCYGqa009287jRRtEYGyt1uTg== X-Received: by 2002:a62:1841:: with SMTP id 62mr18240998pfy.108.1574442344415; Fri, 22 Nov 2019 09:05:44 -0800 (PST) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id g4sm8012959pfh.172.2019.11.22.09.05.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2019 09:05:43 -0800 (PST) Date: Fri, 22 Nov 2019 09:05:40 -0800 From: Stephen Hemminger To: Gokul Bargaje Cc: Ferruh Yigit , dev@dpdk.org, users@dpdk.org Message-ID: <20191122090540.7ed70003@hermes.lan> In-Reply-To: References: <6a0d3205-e506-c0cb-3482-3224b875c650@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [dpdk-users] What is the 'unit of timestamp' assigned to mbuf packet in DPDK? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" On Fri, 22 Nov 2019 22:30:11 +0530 Gokul Bargaje wrote: > Thank you for the clarification. But I am still unable to understand how > exactly timestamp is calculated before assigning to a timestamp field. > Could you please tell me the steps to calculate the timestamp in DPDK? > > I have to implement the PIE AQM algorithm in DPDK and for that, I need to > calculate the total time spent by the packet waiting in queue (i.e. the > difference between enqueue time and dequeue time). The use of timestamp field is very spotty. Only mellanox implements it.