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 65FA342C50; Mon, 12 Jun 2023 18:31:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4FCCE410DD; Mon, 12 Jun 2023 18:31:25 +0200 (CEST) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mails.dpdk.org (Postfix) with ESMTP id 4D87040698 for ; Mon, 12 Jun 2023 18:31:23 +0200 (CEST) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1b01d3bb571so23897695ad.2 for ; Mon, 12 Jun 2023 09:31:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1686587482; x=1689179482; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=fks/0gov0LGdk+WLTxy1pBf906mNRdzR/p8WpZLoJUg=; b=UABzvkuI12A1DyMI01505QIvhMvI3JbxfXtlwBUfXi9c7hJr1lrALm4GhjBrPgsq5W 3wirHkG28riq7/HOCyOBebzokeS9htFkN3bQeNdwWDHaZ0B+hqIB86hSb9GG4hB+XlCm LBVW7zeNHKiUPRqdMGQo/irbiL7jw7/ejCQ7XbGdgRjOwLPGt/aTNxaHexqZbMt9XsB5 TnD1lEt9+vH/8dt/gyD7xzhGl/KaBsYMjl0K5mrF5vOSU8weqEm5AJfUzlipTYg8USU9 vyR7gWSUXgwwj4yp8r5aIgU/Y1kG9668RR3t2eAADlHD6IRAdqQZp1Ibq7qsQt59zCLc ISRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686587482; x=1689179482; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fks/0gov0LGdk+WLTxy1pBf906mNRdzR/p8WpZLoJUg=; b=D424jalxAFBHQgq3Z1s5VFoVgLAhb1KDGtcEOehsLBdAaGzx9fbJV2sSl3JHG8cvJ9 4laws1766lbofpETAum/iDY0F7sAxDVSd1ZzKeK4Ded+5O9HECo2+q4GOk7E9EQZJRkQ DUqfldM8fWknuk/PjJLueoXzE37PNRa7rPiiWgVmgKnHaH/XT6wUkaaaMhNqYYpuWQNW nQmRob4191ezRgCUwi4+HEzCYfGavf/a38caCDf4fbnhPRPoJKUz8Miv2kJqlFgw6QxO W+kCReAIxR/WoKDqrUllLv27f+jTjr/BrW6r84hsKsRcbS6PpYFfL/tV1aOpjhWHXXMd FhTQ== X-Gm-Message-State: AC+VfDynKnKBDBTYULJhQ5Ku9jrqRfATpne4Ib1BwcOLYC0s41fPSVP5 bB5kZgsjFRFPqcTCbSPRn046ow== X-Google-Smtp-Source: ACHHUZ75p3tclT+gPq9WqHXPiBLWxAhcEuhbNftN3T+XPX1ig6cSbO/9LVkqMc/DD9gNHpJZUO9Kbg== X-Received: by 2002:a17:902:d714:b0:1b3:ade9:a0b with SMTP id w20-20020a170902d71400b001b3ade90a0bmr6340100ply.42.1686587482451; Mon, 12 Jun 2023 09:31:22 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id n4-20020a170902d2c400b001a6d4ea7301sm8431859plc.251.2023.06.12.09.31.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 09:31:22 -0700 (PDT) Date: Mon, 12 Jun 2023 09:31:20 -0700 From: Stephen Hemminger To: Vipin Varghese Cc: john.mcnamara@intel.com, marko.kovacevic@intel.com, dev@dpdk.org, thomas@monjalon.net, sanjay.padubidri@intel.com Subject: Re: [dpdk-dev] [PATCH v3] doc/testpmd: update compile steps for bpf examples Message-ID: <20230612093120.2a838715@hermes.local> In-Reply-To: <20190610054121.83723-1-vipin.varghese@intel.com> References: <20190523134744.73755-1-vipin.varghese@intel.com> <20190610054121.83723-1-vipin.varghese@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Mon, 10 Jun 2019 11:11:21 +0530 Vipin Varghese wrote: > Add note in the missing arguments for compiling BPF examples. > > Signed-off-by: Vipin Varghese > Acked-by: John McNamara > > --- > > V3: > - update the dependency for DPDK and others - Thomas Monjalon > > V2: > - ACK for documentation - John McNamara > - move to compile section - Thomas Monjalon > --- > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst > index cb83a3ce8..09cabec8c 100644 > --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst > +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst > @@ -4651,6 +4651,12 @@ For example: > cd examples/bpf > clang -O2 -target bpf -c t1.c > > +.. note:: > + > + To build DPDK based example, appropriate include and library path is to be > + passed to compiler. For other examples, corresponding dependencies is to be > + passed for include and libraries. > + > Then to load (and JIT compile) t1.o at RX queue 0, port 1: > > .. code-block:: console I am ok with this but the wording is so generic it doesn't really help the user. A real example on a real distribution would be better. Could someone update this patch and resubmit it? Or better yet just have a make or meson script in examples/bpf?