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 ADADFA055A for ; Wed, 26 Feb 2020 16:25:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D9C5B2C4F; Wed, 26 Feb 2020 16:25:29 +0100 (CET) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by dpdk.org (Postfix) with ESMTP id C662C3B5 for ; Wed, 26 Feb 2020 16:25:27 +0100 (CET) Received: by mail-pl1-f170.google.com with SMTP id t14so1407493plr.8 for ; Wed, 26 Feb 2020 07:25:27 -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=La4ldoyw1Si6UgpX4rN8DLHN0LYynzdpS88+UFrX02E=; b=0RCt68i2jd4cJCZcvyG6o94jradSA3Dzgs10jkYmUxyjpSNyMLm4UhpY3pId7CyqWb 1Aza3N27wP8/wUvmfQwZVmQCzWwzPxCtS+HWN2ramd+5vzNSOqhuYVX0mJoUyIBmXSA7 9WjJ00yj994kobo+qvwHDeVLisSFCanSCMFIdQzHIR7zk07EZvQ2DNZLbC8DW8dAKyoy E00XYy/Sf3g8KUj5S19qTTIB5l0LRGAU1tJiscL5UGcYUKYuHUoVKS2hEGl9bmDcpxHk Xa8BpVDX4uVZ4kVc+fZmvN+PqmDdYFPauBu0/32fk0Gf3wvarPmiP2WmFIOQWwSijQ0C ON6Q== 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=La4ldoyw1Si6UgpX4rN8DLHN0LYynzdpS88+UFrX02E=; b=oAV2DxsEWpZ+Z1p7Iq4wvBtlpLvCRf3q5z9I5AN2f8CP6C3iQ7QRW7S8Kvd+DMU8ci HLH8OHpuw87kCk1LbHzy57Vy7oYAerzNNurMiirP/xvWWfJlrvkCtHOw6VuNMLcZIIx6 VyOaQ7108ijvWlIW01H4T39VwZkKCkCfqd2PPv+iwnfFhVNKTxlRKlJB+rUMLbiD8NJZ 2DtAbhQdazCNjxT4P1ecz1lwBXlvh6uJhaVx2hv66NvWJMcM9rU5PudfSPdqw4YSegi0 59uG5hu2mglx2EdiGLvkaLAs2fVHVYewHHhawkS/5ux1dcxEoojHNkO1AMSy48yjjvzA pgsw== X-Gm-Message-State: APjAAAVcI3t3KLBfnDdG9kZAZ6uztA5diHD2Vu/SwdTK8tmD2UZSfBad G31+YYGgl+AX0KqEGY3lpIfyZb4H38E= X-Google-Smtp-Source: APXvYqxgannbBdEuMUEQoN7gMkEk7RriOFCGqFZMnqp1qRZU0KMTTj6AJZ30bUJXakRrRUL0TQurEw== X-Received: by 2002:a17:902:8b81:: with SMTP id ay1mr4266125plb.275.1582730726689; Wed, 26 Feb 2020 07:25:26 -0800 (PST) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id b27sm3205470pgl.77.2020.02.26.07.25.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 07:25:26 -0800 (PST) Date: Wed, 26 Feb 2020 07:25:18 -0800 From: Stephen Hemminger To: "Avinash ." Cc: users@dpdk.org, Gokul Bargaje , "Mohit P. Tahiliani" Message-ID: <20200226072518.3496f5ee@hermes.lan> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] DPDK Enqueue Pipeline 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 Wed, 26 Feb 2020 16:08:17 +0530 "Avinash ." wrote: > Hi all, > The DPDK QoS scheduler has a 4-stage pipeline for enqueuing the packets. > This is used for hiding the latency of prefetching the data structures. > Why is there no pipeline for dequeuing the packets? > How does the dequeue function maintain the state of a packet? In other > words, if I want to backtrace the packet that is dequeued to get the info > of what was the traffic class and from which queue the packet was dequeued. > Is there any way to get this. > > Thanks, > Avinash. Prefetching after receive burst is the responsibility of the application. You can't prefetch until the data arrives, and the amount and policy for prefetch depends on the timing of the application. There simple examples in DPDK and more complex in how FD.io VPP does it.