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 0CC06A0C4F for ; Fri, 23 Jul 2021 02:03:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 449C840E5A; Fri, 23 Jul 2021 02:03:19 +0200 (CEST) Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) by mails.dpdk.org (Postfix) with ESMTP id C5D0540040 for ; Fri, 23 Jul 2021 02:03:16 +0200 (CEST) Received: by mail-qk1-f170.google.com with SMTP id z9so7168132qkg.5 for ; Thu, 22 Jul 2021 17:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z988LPdaYaYBaXHLiYphXKfSAhqi10lHBv4Wc0G3tcw=; b=RC8tInIX0ELXOEvukFgQo7oaf3tqCksGeoeMxt4eqQqPAKrWnjbOKN6+kcUXNtjkEF di5uvA5GYYP9Bys4e8kJXF2mSwCjZ0OB3c7FFVbxAJtdPdAp2Eh7dPRpPfjTXL5KHmCm qI2zfe75tQ41/FuHi23zILte0QxClz+hMTfpc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z988LPdaYaYBaXHLiYphXKfSAhqi10lHBv4Wc0G3tcw=; b=sGPT/7EcECxXP78fPW7VQuW6wWiHE1kbqeyYRSMLBIpfBN1GYAEgjb5iN7dfrDXtpq RRAz7Z0bkkWbeKbSLCotwBr2d4qlA+61rDArwx7lTm+zaoveSOwdYk114JhpC0juH/Pn XUmLUddfxlrGYv9oVp0cKSfQmAIU7pvbgR3sQzu+N5o16+zz8hsATroDNf0NuYK9grUN IN7Cb5NGNXt7FT6zbpbYSsZ+i6sZtix5nM5QvWxxdQ3gVhAYttZdMQQPY2EUstIVi/45 Q4+098N5fBUjzO0LAwMvChq0qZCTX4sUEm0cliN+1TqWyl2wKsh7T76khpfo7+/UaNZH X16Q== X-Gm-Message-State: AOAM531DObq3E0wUFgAvZ3vEnCg6IQbria4AO6UCh7tlLI9fNt5LWqVR vClDlCOF5mMzutjy5bBo7h+YSQXhNEXUDw13UOcrkA== X-Google-Smtp-Source: ABdhPJxgm8oz4se2zfz9kpQdpR8L3+ECe9FkpU44zsvqSGfU7Y6IpNsvh8xRvDxjpwOHIToSLX23YYabFg/TsRvbHXc= X-Received: by 2002:a05:620a:120b:: with SMTP id u11mr2219655qkj.455.1626998596020; Thu, 22 Jul 2021 17:03:16 -0700 (PDT) MIME-Version: 1.0 References: <2236865.drsZmlonQt@thomas> In-Reply-To: <2236865.drsZmlonQt@thomas> From: Ajit Khaparde Date: Thu, 22 Jul 2021 17:02:59 -0700 Message-ID: To: Thomas Monjalon Cc: Asaf Penso , "users@dpdk.org" , dpdk-dev , David Marchand , Bruce Richardson , Ferruh Yigit , Jerin Jacob Kollanukkaran , Akhil Goyal , Maxime Coquelin X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Subject: Re: [dpdk-users] [DISCUSSION] code snippet documentation X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 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" T24gVGh1LCBKdWwgMjIsIDIwMjEgYXQgMToyOSBQTSBUaG9tYXMgTW9uamFsb24gPHRob21hc0Bt b25qYWxvbi5uZXQ+IHdyb3RlOgo+Cj4gMTUvMDcvMjAyMSAwOTowMSwgQXNhZiBQZW5zbzoKPiA+ IEhlbGxvIERQREsgY29tbXVuaXR5LAo+ID4KPiA+IEkgd291bGQgbGlrZSB0byBicmluZ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