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 A0A09A0093; Mon, 15 Jun 2020 02:45:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6DF351BEB4; Mon, 15 Jun 2020 02:44:36 +0200 (CEST) Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) by dpdk.org (Postfix) with ESMTP id 6B9C64C7A for ; Mon, 15 Jun 2020 02:44:13 +0200 (CEST) Received: by mail-lf1-f65.google.com with SMTP id u16so8492651lfl.8 for ; Sun, 14 Jun 2020 17:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+n43t5qkHnnDF+Es1Hhy9M02FAdIDUC2uu0LAIJ/LJM=; b=Sjw2EXSGW0WmbVvtTM8g7clQPXzx2/TsmSsItREHxuV/umOShM5xzVBsrNVGOApC6P YQuAFvkUfbffZKvWK4wYffiz8RU7gq4uUfMcdh9LNXXpCm30sUmpOwsXffYP2tFMrCAt er6wvNHEXIsiZ08xuYztxo6Zo95D5A2156KDl3pGVooqq9y0pqwRuGDRQSpvG/U5I3RS GUcbjw8QDtz8JgQSav1nv4hF8HU62SvkTgcGP1ILYw6xeFHvSKCIYlKA2NPVeSl26cfz exCQrw+IahzKEv8p7okuEHoGVCnz+iZNKDw74nXp54EUWNDTcxUtmoyiGWQij3u/8+tm 4OKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+n43t5qkHnnDF+Es1Hhy9M02FAdIDUC2uu0LAIJ/LJM=; b=a20fyP6BE2Ujzl1Lecf76AXdBZrsl3pV8yQxqDYQwANaFQL2Q7jQs51lB54i320l+o /jjr9mo7E7Ceci52yVZCbu+VHdyBvaRi0TthHBmAr9ETODkue12C+PjxK3HhJm1HbT29 ENnvAvD7uTGZTfG1rCSiO9WfLT1dUaLJGHvSXhiS3Nv6HciQeGm0HF9iHpCBdBhGddLz FF35Qb9k+BNsWctASsopq1mvAZer5Rlg+Vpb4ehQ/6fLX+wx+VzzDD15rbNYQ4Y5j9Ao fHc+O2Z3Pxv0v2D2VT73NOWByk7iIY9m/RXGfdyW6FaaRX1+ZFcANc4poRIwD/+hnpcH Xplw== X-Gm-Message-State: AOAM531Drwss/mOXkSW5NI2pX4TVCsh8/d01VN2MtHwb643GSyPTGvDm ueUxxlf7Hmxtg2Krnml+veXIDF2iQuYN7A== X-Google-Smtp-Source: ABdhPJzObCGGEawP2+p8gN3bu5KsvC5U7gQJbDFLCflIBGn9JN1hmoT8rvR6+4RcCRDEW+4V6tDLaA== X-Received: by 2002:a19:c70d:: with SMTP id x13mr931337lff.212.1592181852899; Sun, 14 Jun 2020 17:44:12 -0700 (PDT) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id f19sm4176342lfk.24.2020.06.14.17.44.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jun 2020 17:44:12 -0700 (PDT) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Dmitry Malloy , Narcisa Ana Maria Vasile , Fady Bader , Tal Shnaiderman , Dmitry Kozlyuk , Harini Ramakrishnan , Omar Cardona , Pallavi Kadam , Ranjit Menon , John McNamara , Marko Kovacevic Date: Mon, 15 Jun 2020 03:43:52 +0300 Message-Id: <20200615004354.14380-11-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200615004354.14380-1-dmitry.kozliuk@gmail.com> References: <20200610142730.31376-1-dmitry.kozliuk@gmail.com> <20200615004354.14380-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v9 10/12] doc/windows: split build and run instructions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" With memory management implemented for Windows, the guide for running sample applications is going to be extended with hugepages and driver setup. Move run instructions to a separate file to give space for planned expansion. Signed-off-by: Dmitry Kozlyuk --- doc/guides/windows_gsg/build_dpdk.rst | 20 -------------------- doc/guides/windows_gsg/index.rst | 1 + doc/guides/windows_gsg/run_apps.rst | 24 ++++++++++++++++++++++++ 3 files changed, 25 insertions(+), 20 deletions(-) create mode 100644 doc/guides/windows_gsg/run_apps.rst diff --git a/doc/guides/windows_gsg/build_dpdk.rst b/doc/guides/windows_gsg/build_dpdk.rst index d46e84e3f..650483e3b 100644 --- a/doc/guides/windows_gsg/build_dpdk.rst +++ b/doc/guides/windows_gsg/build_dpdk.rst @@ -111,23 +111,3 @@ Depending on the distribution, paths in this file may need adjustments. meson --cross-file config/x86/meson_mingw.txt -Dexamples=helloworld build ninja -C build - - -Run the helloworld example -========================== - -Navigate to the examples in the build directory and run `dpdk-helloworld.exe`. - -.. code-block:: console - - cd C:\Users\me\dpdk\build\examples - dpdk-helloworld.exe - hello from core 1 - hello from core 3 - hello from core 0 - hello from core 2 - -Note for MinGW-w64: applications are linked to ``libwinpthread-1.dll`` -by default. To run the example, either add toolchain executables directory -to the PATH or copy the library to the working directory. -Alternatively, static linking may be used (mind the LGPLv2.1 license). diff --git a/doc/guides/windows_gsg/index.rst b/doc/guides/windows_gsg/index.rst index d9b7990a8..e94593572 100644 --- a/doc/guides/windows_gsg/index.rst +++ b/doc/guides/windows_gsg/index.rst @@ -12,3 +12,4 @@ Getting Started Guide for Windows intro build_dpdk + run_apps diff --git a/doc/guides/windows_gsg/run_apps.rst b/doc/guides/windows_gsg/run_apps.rst new file mode 100644 index 000000000..ff4c4654f --- /dev/null +++ b/doc/guides/windows_gsg/run_apps.rst @@ -0,0 +1,24 @@ +.. SPDX-License-Identifier: BSD-3-Clause + Copyright(c) 2020 Dmitry Kozlyuk + +Running DPDK Applications +========================= + +Run the ``helloworld`` Example +------------------------------ + +Navigate to the examples in the build directory and run `dpdk-helloworld.exe`. + +.. code-block:: console + + cd C:\Users\me\dpdk\build\examples + dpdk-helloworld.exe + hello from core 1 + hello from core 3 + hello from core 0 + hello from core 2 + +Note for MinGW-w64: applications are linked to ``libwinpthread-1.dll`` +by default. To run the example, either add toolchain executables directory +to the PATH or copy the library to the working directory. +Alternatively, static linking may be used (mind the LGPLv2.1 license). -- 2.25.4