From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9ABEC433DB for ; Mon, 8 Mar 2021 22:36:37 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id 5D71165005 for ; Mon, 8 Mar 2021 22:36:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5D71165005 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9D0A622A4E8; Mon, 8 Mar 2021 23:36:36 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 7427422A369 for ; Mon, 8 Mar 2021 23:36:34 +0100 (CET) IronPort-SDR: rEptRikC+jsCAVysDDMHpBiIJR9zONU/kpqexY02ocG40581+2Dy54NIqGWCTB9JowSBCt84gm Dh16Hxd9SbVQ== X-IronPort-AV: E=McAfee;i="6000,8403,9917"; a="175729032" X-IronPort-AV: E=Sophos;i="5.81,233,1610438400"; d="scan'208";a="175729032" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2021 14:36:31 -0800 IronPort-SDR: iPfGyaL4deKawEv80vIUgjBcQCOu1cb14+jr1CFgSXPQ9WviH3bGxqcvE9u/TZTF1L4KTELJ6J pRxpLYAQNlrw== X-IronPort-AV: E=Sophos;i="5.81,233,1610438400"; d="scan'208";a="409471885" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.195.201]) ([10.213.195.201]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2021 14:36:30 -0800 To: Gabriel Black , "dev@dpdk.org" References: From: Ferruh Yigit X-User: ferruhy Message-ID: <862234f3-9315-7e38-21c8-6392a0099d39@intel.com> Date: Mon, 8 Mar 2021 22:36:26 +0000 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] Adding latency and packet-out-of-order measurements to testpmd 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" On 3/8/2021 9:28 PM, Gabriel Black wrote: > Hello, > > I'd like to be able to add latency and packet-out-of-order measurements to testpmd. The idea is that testpmd sends traffic and receives the same traffic after passing through some device/cloud. Is this a good fit to add to the testpmd application? If so, any pointers on where I should add the functionality? It seems like it has latency measurements already, but in the reverse scenario (where it is the DUT). > > e.g. > > | testpmd | <==============> | DUT | > > Thanks in advance, > Gabe > > Hi Gabriel, I think a new forwarding engine can be added for it, please check "struct fwd_engine". Packet payload can contain metada for required calculations.