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 64E19A04C3 for ; Fri, 22 Nov 2019 18:05:54 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C3E4D2BE3; Fri, 22 Nov 2019 18:05:49 +0100 (CET) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by dpdk.org (Postfix) with ESMTP id 488222BAE for ; Fri, 22 Nov 2019 18:05:45 +0100 (CET) Received: by mail-pf1-f172.google.com with SMTP id c184so3775323pfb.0 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=sP9F2pXp3OS1/TBm2jizEsiOhPAiqrE9v5IMWKb5iNpr2ndkVEMZQLJPsalcWhQbG3 29YYWPwPNv4fhDdnMv60xZcb1NjSiC3vRDBFUIATqPDJswQK5c9e77LmeqKDEyvKiF+C 8h3Q+zxjYR5laeaZZvgZaihCnmErvp2Oso4sUPpMeif+xsG1qoyOoZFkqkP3XbyIio/1 WoSHQlx2UJBKf6dHmsxcq6+24bk0/y8b67bcgQiBI8M9UlCIF0WetOzsoIHEzPhR41EG iyf5b3spD0kR3L4ewQ6PvL6JLb2CCUGdy7/3wk0asvBF59HAduEB8fprL0U0D3SSEDJj kKSA== X-Gm-Message-State: APjAAAXEffphVV7KP0hPh+wOTOjlJKx5aEEJwibs9168sCwWWldS7Yn1 GXvZbDK+BT/o21JvWosQy1cRJA== 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-users] What is the 'unit of timestamp' assigned to mbuf packet in DPDK? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" 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.