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 A3A2DA04C7; Tue, 15 Sep 2020 14:23:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 71F04E07; Tue, 15 Sep 2020 14:23:24 +0200 (CEST) Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by dpdk.org (Postfix) with ESMTP id 6DF4DDE0 for ; Tue, 15 Sep 2020 14:23:22 +0200 (CEST) Received: by mail-wr1-f65.google.com with SMTP id j2so3078885wrx.7 for ; Tue, 15 Sep 2020 05:23:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emumba-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EVQUx+Citaj+uaBsumj6yngOkwKrlepspFZo4Kk6XgM=; b=yQH80U0vgt6EcsxD7qqHzzR18F2utLn/tSTmJyBg+Tf4XJiGMQJELyAwMmi0lcBWcl XkVXZulAPbjLZeK6lAZIBE3SrYt8mwmxBckzYT0JGPNE7QUEILTKk9YAkpE3O3Pa0pMg 1xGxYgVgIJ2HG15JDrdtVmt7F6DWygWDpDD0bKj6l39LBqfL4QpyM/kylHhskls1PrUs 5NKkjSatZjaYp+oJ1sJb0sETS421JofI8SO5fK7MrawIf8x4d5uWhEwFI6s+/w9OGkLY uWQ5fkpg00/N4LopUiunIW3s6GKxBA/cxSk96rdF7FkJlDzAyA928cImOYtm5sUTqDu3 btsQ== 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:mime-version :content-transfer-encoding; bh=EVQUx+Citaj+uaBsumj6yngOkwKrlepspFZo4Kk6XgM=; b=aVyvBopozKaSWfgNB3CRWU/ISfc+eLrguZ2MY6CaSHIWCzhl76tVuJMPjpbXGn9QY3 yMnsh2ha2OpKtsVTR0SQsKCIDk+Gl1tS/I+iGLpzWpjBJkPXXiINlxgVgWsijAcvRGg3 tiBTSbO6aVWU+Yl/RboMrwJNfbNgnvD0JVqvQktzHunDEYQdm2F5kQmd0IQwoQJTK3f3 QoCcU76K5utf02WpLxbFYyjZ8BEDkmWNJCetzM5UmWKOyBkuDuKU9y44Qi4VWlwjfTJ4 YBCqsQ3Cd/JwfFl0HFkvwtru0X//a1W5Y47Vblza3ityD9Kj7IxQpWPZng/dD3HfWsXO Kkcw== X-Gm-Message-State: AOAM530y0mLSD1L+VT+dLSpScTQRCxfYUrloBZ+9wCEnG5txUX5KcK4c lqFpluab7IBIiA2ghpzDzmpOowP76igUGZJD X-Google-Smtp-Source: ABdhPJwmx9KIQEzRtowqZFkKOdveVFu1ukaqnFMp8wwWmaeggBTFREnZOeHm4sQU8iJcT2JJ6IqCDQ== X-Received: by 2002:adf:8b48:: with SMTP id v8mr21231068wra.21.1600172601838; Tue, 15 Sep 2020 05:23:21 -0700 (PDT) Received: from localhost.localdomain (mbl-109-40-166.dsl.net.pk. [124.109.40.166]) by smtp.gmail.com with ESMTPSA id t1sm22953145wmi.16.2020.09.15.05.23.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 05:23:21 -0700 (PDT) From: Sarosh Arif To: john.mcnamara@intel.com, marko.kovacevic@intel.com Cc: dev@dpdk.org, Sarosh Arif Date: Tue, 15 Sep 2020 17:22:42 +0500 Message-Id: <20200915122242.2203776-1-sarosh.arif@emumba.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] doc: fix grammatical error 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" This patch corrects a grammatical error by changing 'an DPDK' to 'a DPDK', so that the sentences can become grammatically accurate. Signed-off-by: Sarosh Arif --- doc/guides/linux_gsg/build_sample_apps.rst | 6 +++--- doc/guides/linux_gsg/enable_func.rst | 2 +- doc/guides/linux_gsg/linux_drivers.rst | 2 +- doc/guides/linux_gsg/sys_reqs.rst | 2 +- doc/guides/prog_guide/multi_proc_support.rst | 2 +- doc/guides/sample_app_ug/l3_forward_power_man.rst | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/guides/linux_gsg/build_sample_apps.rst b/doc/guides/linux_gsg/build_sample_apps.rst index 2f606535c..1c6023f9c 100644 --- a/doc/guides/linux_gsg/build_sample_apps.rst +++ b/doc/guides/linux_gsg/build_sample_apps.rst @@ -4,7 +4,7 @@ Compiling and Running Sample Applications ========================================= -The chapter describes how to compile and run applications in an DPDK environment. +The chapter describes how to compile and run applications in a DPDK environment. It also provides a pointer to where sample applications are stored. .. note:: @@ -15,7 +15,7 @@ It also provides a pointer to where sample applications are stored. Compiling a Sample Application ------------------------------ -Once an DPDK target environment directory has been created (such as ``x86_64-native-linux-gcc``), +Once a DPDK target environment directory has been created (such as ``x86_64-native-linux-gcc``), it contains all libraries and header files required to build an application. When compiling an application in the Linux* environment on the DPDK, the following variables must be exported: @@ -185,7 +185,7 @@ Each bit of the mask corresponds to the equivalent logical core number as report Since these logical core numbers, and their mapping to specific cores on specific NUMA sockets, can vary from platform to platform, it is recommended that the core layout for each platform be considered when choosing the coremask/corelist to use in each case. -On initialization of the EAL layer by an DPDK application, the logical cores to be used and their socket location are displayed. +On initialization of the EAL layer by a DPDK application, the logical cores to be used and their socket location are displayed. This information can also be determined for all cores on the system by examining the ``/proc/cpuinfo`` file, for example, by running cat ``/proc/cpuinfo``. The physical id attribute listed for each processor indicates the CPU socket to which it belongs. This can be useful when using other processors to understand the mapping of the logical cores to the sockets. diff --git a/doc/guides/linux_gsg/enable_func.rst b/doc/guides/linux_gsg/enable_func.rst index b2bda80bb..ad11bc9e4 100644 --- a/doc/guides/linux_gsg/enable_func.rst +++ b/doc/guides/linux_gsg/enable_func.rst @@ -112,7 +112,7 @@ In addition, C3 and C6 should be enabled as well for power management. The path Using Linux Core Isolation to Reduce Context Switches ----------------------------------------------------- -While the threads used by an DPDK application are pinned to logical cores on the system, +While the threads used by a DPDK application are pinned to logical cores on the system, it is possible for the Linux scheduler to run other tasks on those cores also. To help prevent additional workloads from running on those cores, it is possible to use the ``isolcpus`` Linux kernel parameter to isolate them from the general Linux scheduler. diff --git a/doc/guides/linux_gsg/linux_drivers.rst b/doc/guides/linux_gsg/linux_drivers.rst index 185074013..ccd93464a 100644 --- a/doc/guides/linux_gsg/linux_drivers.rst +++ b/doc/guides/linux_gsg/linux_drivers.rst @@ -159,7 +159,7 @@ Binding and Unbinding Network Ports to/from the Kernel Modules PMDs Which use the bifurcated driver should not be unbind from their kernel drivers. this section is for PMDs which use the UIO or VFIO drivers. As of release 1.4, DPDK applications no longer automatically unbind all supported network ports from the kernel driver in use. -Instead, in case the PMD being used use the UIO or VFIO drivers, all ports that are to be used by an DPDK application must be bound to the +Instead, in case the PMD being used use the UIO or VFIO drivers, all ports that are to be used by a DPDK application must be bound to the ``uio_pci_generic``, ``igb_uio`` or ``vfio-pci`` module before the application is run. For such PMDs, any network ports under Linux* control will be ignored and cannot be used by the application. diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst index a124656bc..7d1cdf57d 100644 --- a/doc/guides/linux_gsg/sys_reqs.rst +++ b/doc/guides/linux_gsg/sys_reqs.rst @@ -105,7 +105,7 @@ e.g. :doc:`../nics/index` Running DPDK Applications ------------------------- -To run an DPDK application, some customization may be required on the target machine. +To run a DPDK application, some customization may be required on the target machine. System Software ~~~~~~~~~~~~~~~ diff --git a/doc/guides/prog_guide/multi_proc_support.rst b/doc/guides/prog_guide/multi_proc_support.rst index a84083b96..1a4a9e2d4 100644 --- a/doc/guides/prog_guide/multi_proc_support.rst +++ b/doc/guides/prog_guide/multi_proc_support.rst @@ -75,7 +75,7 @@ and point to the same objects, in both processes. The EAL also supports an auto-detection mode (set by EAL ``--proc-type=auto`` flag ), -whereby an DPDK process is started as a secondary instance if a primary instance is already running. +whereby a DPDK process is started as a secondary instance if a primary instance is already running. Deployment Models ----------------- diff --git a/doc/guides/sample_app_ug/l3_forward_power_man.rst b/doc/guides/sample_app_ug/l3_forward_power_man.rst index 0cc6f2e62..7a9730197 100644 --- a/doc/guides/sample_app_ug/l3_forward_power_man.rst +++ b/doc/guides/sample_app_ug/l3_forward_power_man.rst @@ -49,7 +49,7 @@ to set the CPUFreq governor and set the frequency of specific cores. This application includes a P-state power management algorithm to generate a frequency hint to be sent to CPUFreq. The algorithm uses the number of received and available Rx packets on recent polls to make a heuristic decision to scale frequency up/down. -Specifically, some thresholds are checked to see whether a specific core running an DPDK polling thread needs to increase frequency +Specifically, some thresholds are checked to see whether a specific core running a DPDK polling thread needs to increase frequency a step up based on the near to full trend of polled Rx queues. Also, it decreases frequency a step if packet processed per loop is far less than the expected threshold or the thread's sleeping time exceeds a threshold. -- 2.25.1