fix typos
authorThierry Herbelot <thierry.herbelot@6wind.com>
Fri, 15 Dec 2017 12:34:29 +0000 (13:34 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 11 Jan 2018 17:26:46 +0000 (18:26 +0100)
Repeated occurrences of 'the'.

The change was obtained using the following command:

  sed -i "s;the the ;the ;" `git grep -l "the "`

Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
25 files changed:
app/test-crypto-perf/cperf_test_latency.c
app/test-crypto-perf/cperf_test_pmd_cyclecount.c
app/test-crypto-perf/cperf_test_throughput.c
app/test-crypto-perf/cperf_test_verify.c
doc/guides/contributing/patches.rst
doc/guides/linux_gsg/nic_perf_intel_platform.rst
doc/guides/rel_notes/release_2_1.rst
doc/guides/sample_app_ug/keep_alive.rst
doc/guides/sample_app_ug/performance_thread.rst
drivers/crypto/scheduler/rte_cryptodev_scheduler.h
drivers/net/bnxt/hsi_struct_def_dpdk.h
drivers/net/e1000/base/e1000_82575.c
drivers/net/e1000/base/e1000_ich8lan.c
drivers/net/fm10k/base/fm10k_mbx.c
drivers/net/i40e/i40e_ethdev.h
drivers/net/ixgbe/base/ixgbe_x550.c
drivers/net/qede/base/ecore_chain.h
drivers/net/qede/base/ecore_dev.c
drivers/net/qede/base/ecore_mcp_api.h
drivers/net/qede/base/ecore_proto_if.h
drivers/net/sfc/base/ef10_nic.c
examples/performance-thread/common/lthread_tls.c
lib/librte_eal/common/include/generic/rte_atomic.h
lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_82575.c
lib/librte_power/rte_power_acpi_cpufreq.c

index c590b40..8565d08 100644 (file)
@@ -190,7 +190,7 @@ cperf_latency_test_runner(void *arg)
                                                burst_size) != 0) {
                                RTE_LOG(ERR, USER1,
                                        "Failed to allocate more crypto operations "
                                                burst_size) != 0) {
                                RTE_LOG(ERR, USER1,
                                        "Failed to allocate more crypto operations "
-                                       "from the the crypto operation pool.\n"
+                                       "from the crypto operation pool.\n"
                                        "Consider increasing the pool size "
                                        "with --pool-sz\n");
                                return -1;
                                        "Consider increasing the pool size "
                                        "with --pool-sz\n");
                                return -1;
index 4ed7766..54a2e55 100644 (file)
@@ -153,7 +153,7 @@ pmd_cyclecount_bench_ops(struct pmd_cyclecount_state *state, uint32_t cur_op,
                                        burst_size) != 0) {
                        RTE_LOG(ERR, USER1,
                                        "Failed to allocate more crypto operations "
                                        burst_size) != 0) {
                        RTE_LOG(ERR, USER1,
                                        "Failed to allocate more crypto operations "
-                                       "from the the crypto operation pool.\n"
+                                       "from the crypto operation pool.\n"
                                        "Consider increasing the pool size "
                                        "with --pool-sz\n");
                                return -1;
                                        "Consider increasing the pool size "
                                        "with --pool-sz\n");
                                return -1;
@@ -202,7 +202,7 @@ pmd_cyclecount_build_ops(struct pmd_cyclecount_state *state,
                                        burst_size) != 0) {
                        RTE_LOG(ERR, USER1,
                                        "Failed to allocate more crypto operations "
                                        burst_size) != 0) {
                        RTE_LOG(ERR, USER1,
                                        "Failed to allocate more crypto operations "
-                                       "from the the crypto operation pool.\n"
+                                       "from the crypto operation pool.\n"
                                        "Consider increasing the pool size "
                                        "with --pool-sz\n");
                                return -1;
                                        "Consider increasing the pool size "
                                        "with --pool-sz\n");
                                return -1;
index d6878bf..eae284e 100644 (file)
@@ -154,7 +154,7 @@ cperf_throughput_test_runner(void *test_ctx)
                                                ops_needed) != 0) {
                                RTE_LOG(ERR, USER1,
                                        "Failed to allocate more crypto operations "
                                                ops_needed) != 0) {
                                RTE_LOG(ERR, USER1,
                                        "Failed to allocate more crypto operations "
-                                       "from the the crypto operation pool.\n"
+                                       "from the crypto operation pool.\n"
                                        "Consider increasing the pool size "
                                        "with --pool-sz\n");
                                return -1;
                                        "Consider increasing the pool size "
                                        "with --pool-sz\n");
                                return -1;
index 2ccb8c6..49bd105 100644 (file)
@@ -279,7 +279,7 @@ cperf_verify_test_runner(void *test_ctx)
                                        ops_needed) != 0) {
                        RTE_LOG(ERR, USER1,
                                "Failed to allocate more crypto operations "
                                        ops_needed) != 0) {
                        RTE_LOG(ERR, USER1,
                                "Failed to allocate more crypto operations "
-                               "from the the crypto operation pool.\n"
+                               "from the crypto operation pool.\n"
                                "Consider increasing the pool size "
                                "with --pool-sz\n");
                        return -1;
                                "Consider increasing the pool size "
                                "with --pool-sz\n");
                        return -1;
index 64408e7..3c2f310 100644 (file)
@@ -153,7 +153,7 @@ Make your planned changes in the cloned ``dpdk`` repo. Here are some guidelines
 * Don't break compilation between commits with forward dependencies in a patchset.
   Each commit should compile on its own to allow for ``git bisect`` and continuous integration testing.
 
 * Don't break compilation between commits with forward dependencies in a patchset.
   Each commit should compile on its own to allow for ``git bisect`` and continuous integration testing.
 
-* Add tests to the the ``app/test`` unit test framework where possible.
+* Add tests to the ``app/test`` unit test framework where possible.
 
 * Add documentation, if relevant, in the form of Doxygen comments or a User Guide in RST format.
   See the :ref:`Documentation Guidelines <doc_guidelines>`.
 
 * Add documentation, if relevant, in the form of Doxygen comments or a User Guide in RST format.
   See the :ref:`Documentation Guidelines <doc_guidelines>`.
@@ -363,7 +363,7 @@ Where the range is a ``git log`` option.
 Checking Compilation
 --------------------
 
 Checking Compilation
 --------------------
 
-Compilation of patches and changes should be tested using the the ``test-build.sh`` script in the ``devtools``
+Compilation of patches and changes should be tested using the ``test-build.sh`` script in the ``devtools``
 directory of the DPDK repo::
 
   devtools/test-build.sh x86_64-native-linuxapp-gcc+next+shared
 directory of the DPDK repo::
 
   devtools/test-build.sh x86_64-native-linuxapp-gcc+next+shared
index febd733..987cd0a 100644 (file)
@@ -160,7 +160,7 @@ Configurations before running DPDK
 
       usertools/cpu_layout.py
 
 
       usertools/cpu_layout.py
 
-   Or run ``lscpu`` to check the the cores on each socket.
+   Or run ``lscpu`` to check the cores on each socket.
 
 3. Check your NIC id and related socket id:
 
 
 3. Check your NIC id and related socket id:
 
index 103a5ee..e23f1a1 100644 (file)
@@ -531,7 +531,7 @@ Resolved Issues
 
 * **eal/linux: Fix irq handling with igb_uio.**
 
 
 * **eal/linux: Fix irq handling with igb_uio.**
 
-  Fixed an issue where the the introduction of ``uio_pci_generic`` broke
+  Fixed an issue where the introduction of ``uio_pci_generic`` broke
   interrupt handling with igb_uio.
 
   Fixes: c112df6875a5 ("eal/linux: toggle interrupt for uio_pci_generic")
   interrupt handling with igb_uio.
 
   Fixes: c112df6875a5 ("eal/linux: toggle interrupt for uio_pci_generic")
index 9b8be48..38856d2 100644 (file)
@@ -148,7 +148,7 @@ is configured to run every check_period milliseconds.
         rte_exit(EXIT_FAILURE, "Keepalive setup failure.\n");
 
 The rest of the initialization and run-time path follows
         rte_exit(EXIT_FAILURE, "Keepalive setup failure.\n");
 
 The rest of the initialization and run-time path follows
-the same paths as the the L2 forwarding application. The only
+the same paths as the L2 forwarding application. The only
 addition to the main processing loop is the mark alive
 functionality and the example random failures.
 
 addition to the main processing loop is the mark alive
 functionality and the example random failures.
 
index 57391ca..5dad83f 100644 (file)
@@ -310,7 +310,7 @@ interconnected via software rings.
 On initialization an L-thread scheduler is started on every EAL thread. On all
 but the master EAL thread only a a dummy L-thread is initially started.
 The L-thread started on the master EAL thread then spawns other L-threads on
 On initialization an L-thread scheduler is started on every EAL thread. On all
 but the master EAL thread only a a dummy L-thread is initially started.
 The L-thread started on the master EAL thread then spawns other L-threads on
-different L-thread schedulers according the the command line parameters.
+different L-thread schedulers according the command line parameters.
 
 The RX threads poll the network interface queues and post received packets
 to a TX thread via the corresponding software ring.
 
 The RX threads poll the network interface queues and post received packets
 to a TX thread via the corresponding software ring.
index 40b71f3..01e7646 100644 (file)
@@ -198,7 +198,7 @@ int
 rte_cryptodev_scheduler_ordering_get(uint8_t scheduler_id);
 
 /**
 rte_cryptodev_scheduler_ordering_get(uint8_t scheduler_id);
 
 /**
- * Get the the attached slaves' count and/or ID
+ * Get the attached slaves' count and/or ID
  *
  * @param scheduler_id
  *   The target scheduler device ID
  *
  * @param scheduler_id
  *   The target scheduler device ID
index c16edba..898c3ed 100644 (file)
@@ -909,7 +909,7 @@ struct rx_pkt_cmpl {
         * This is the length of the data for the packet stored in the
         * buffer(s) identified by the opaque value. This includes the
         * packet BD and any associated buffer BDs. This does not
         * This is the length of the data for the packet stored in the
         * buffer(s) identified by the opaque value. This includes the
         * packet BD and any associated buffer BDs. This does not
-        * include the the length of any data places in aggregation BDs.
+        * include the length of any data places in aggregation BDs.
         */
        uint32_t opaque;
        /*
         */
        uint32_t opaque;
        /*
@@ -3275,7 +3275,7 @@ struct hwrm_func_cfg_input {
        uint16_t fid;
        /*
         * Function ID of the function that is being configured. If set
        uint16_t fid;
        /*
         * Function ID of the function that is being configured. If set
-        * to 0xFF...   (All Fs), then the the configuration is for the
+        * to 0xFF...   (All Fs), then the configuration is for the
         * requesting function.
         */
        uint8_t unused_0;
         * requesting function.
         */
        uint8_t unused_0;
index c6400bd..15c7dd8 100644 (file)
@@ -2414,7 +2414,7 @@ out:
  *  e1000_reset_mdicnfg_82580 - Reset MDICNFG destination and com_mdio bits
  *  @hw: pointer to the HW structure
  *
  *  e1000_reset_mdicnfg_82580 - Reset MDICNFG destination and com_mdio bits
  *  @hw: pointer to the HW structure
  *
- *  This resets the the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on
+ *  This resets the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on
  *  the values found in the EEPROM.  This addresses an issue in which these
  *  bits are not restored from EEPROM after reset.
  **/
  *  the values found in the EEPROM.  This addresses an issue in which these
  *  bits are not restored from EEPROM after reset.
  **/
index 6dd046d..92ab6fc 100644 (file)
@@ -4888,7 +4888,7 @@ STATIC s32 e1000_id_led_init_pchlan(struct e1000_hw *hw)
  *  @hw: pointer to the HW structure
  *
  *  ICH8 use the PCI Express bus, but does not contain a PCI Express Capability
  *  @hw: pointer to the HW structure
  *
  *  ICH8 use the PCI Express bus, but does not contain a PCI Express Capability
- *  register, so the the bus width is hard coded.
+ *  register, so the bus width is hard coded.
  **/
 STATIC s32 e1000_get_bus_info_ich8lan(struct e1000_hw *hw)
 {
  **/
 STATIC s32 e1000_get_bus_info_ich8lan(struct e1000_hw *hw)
 {
index 16ab98d..e766e45 100644 (file)
@@ -850,7 +850,7 @@ STATIC s32 fm10k_mbx_read(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx)
  *  @hw: pointer to hardware structure
  *  @mbx: pointer to mailbox
  *
  *  @hw: pointer to hardware structure
  *  @mbx: pointer to mailbox
  *
- *  This function copies the message from the the message array to mbmem
+ *  This function copies the message from the message array to mbmem
  **/
 STATIC void fm10k_mbx_write(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx)
 {
  **/
 STATIC void fm10k_mbx_write(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx)
 {
index f2b4b70..ab661a9 100644 (file)
@@ -324,7 +324,7 @@ struct i40e_vsi {
         * needs to add, HW needs to know the layout that VSIs are organized.
         * Besides that, VSI isan element and can't switch packets, which needs
         * to add new component VEB to perform switching. So, a new VSI needs
         * needs to add, HW needs to know the layout that VSIs are organized.
         * Besides that, VSI isan element and can't switch packets, which needs
         * to add new component VEB to perform switching. So, a new VSI needs
-        * to specify the the uplink VSI (Parent VSI) before created. The
+        * to specify the uplink VSI (Parent VSI) before created. The
         * uplink VSI will check whether it had a VEB to switch packets. If no,
         * it will try to create one. Then, uplink VSI will move the new VSI
         * into its' sib_vsi_list to manage all the downlink VSI.
         * uplink VSI will check whether it had a VEB to switch packets. If no,
         * it will try to create one. Then, uplink VSI will move the new VSI
         * into its' sib_vsi_list to manage all the downlink VSI.
index 9862391..f7401c0 100644 (file)
@@ -2790,7 +2790,7 @@ STATIC s32 ixgbe_setup_sfi_x550a(struct ixgbe_hw *hw, ixgbe_link_speed *speed)
  *  ixgbe_setup_mac_link_sfp_x550a - Setup internal PHY for SFP
  *  @hw: pointer to hardware structure
  *
  *  ixgbe_setup_mac_link_sfp_x550a - Setup internal PHY for SFP
  *  @hw: pointer to hardware structure
  *
- *  Configure the the integrated PHY for SFP support.
+ *  Configure the integrated PHY for SFP support.
  **/
 s32 ixgbe_setup_mac_link_sfp_x550a(struct ixgbe_hw *hw,
                                    ixgbe_link_speed speed,
  **/
 s32 ixgbe_setup_mac_link_sfp_x550a(struct ixgbe_hw *hw,
                                    ixgbe_link_speed speed,
index ba272a9..d8f69ad 100644 (file)
@@ -128,7 +128,7 @@ struct ecore_chain {
        } pbl_sp;
 
        /* Address of first page of the chain  - the address is required
        } pbl_sp;
 
        /* Address of first page of the chain  - the address is required
-        * for fastpath operation [consume/produce] but only for the the SINGLE
+        * for fastpath operation [consume/produce] but only for the SINGLE
         * flavour which isn't considered fastpath [== SPQ].
         */
        void                            *p_virt_addr;
         * flavour which isn't considered fastpath [== SPQ].
         */
        void                            *p_virt_addr;
index da1830c..744d204 100644 (file)
@@ -3182,7 +3182,7 @@ static enum _ecore_status_t ecore_hw_get_resc(struct ecore_hwfn *p_hwfn,
         * resources allocation queries should be atomic. Since several PFs can
         * run in parallel - a resource lock is needed.
         * If either the resource lock or resource set value commands are not
         * resources allocation queries should be atomic. Since several PFs can
         * run in parallel - a resource lock is needed.
         * If either the resource lock or resource set value commands are not
-        * supported - skip the the max values setting, release the lock if
+        * supported - skip the max values setting, release the lock if
         * needed, and proceed to the queries. Other failures, including a
         * failure to acquire the lock, will cause this function to fail.
         * Old drivers that don't acquire the lock can run in parallel, and
         * needed, and proceed to the queries. Other failures, including a
         * failure to acquire the lock, will cause this function to fail.
         * Old drivers that don't acquire the lock can run in parallel, and
index be3e91f..225890e 100644 (file)
@@ -552,7 +552,7 @@ struct ecore_mcp_link_capabilities
 *ecore_mcp_get_link_capabilities(struct ecore_hwfn *p_hwfn);
 
 /**
 *ecore_mcp_get_link_capabilities(struct ecore_hwfn *p_hwfn);
 
 /**
- * @brief Request the MFW to set the the link according to 'link_input'.
+ * @brief Request the MFW to set the link according to 'link_input'.
  *
  * @param p_hwfn
  * @param p_ptt
  *
  * @param p_hwfn
  * @param p_ptt
index 6662232..abca740 100644 (file)
@@ -33,7 +33,7 @@ struct ecore_eth_pf_params {
        u32     num_arfs_filters;
 };
 
        u32     num_arfs_filters;
 };
 
-/* Most of the the parameters below are described in the FW iSCSI / TCP HSI */
+/* Most of the parameters below are described in the FW iSCSI / TCP HSI */
 struct ecore_iscsi_pf_params {
        u64             glbl_q_params_addr;
        u64             bdq_pbl_base_addr[2];
 struct ecore_iscsi_pf_params {
        u64             glbl_q_params_addr;
        u64             bdq_pbl_base_addr[2];
index 58d1b0a..83c958c 100644 (file)
@@ -1159,7 +1159,7 @@ fail1:
  * For the Huntington family, the current port mode cannot be discovered,
  * so the mapping used is instead the last match in the table to the full
  * set of port modes to which the NIC can be configured. Therefore the
  * For the Huntington family, the current port mode cannot be discovered,
  * so the mapping used is instead the last match in the table to the full
  * set of port modes to which the NIC can be configured. Therefore the
- * ordering of entries in the the mapping table is significant.
+ * ordering of entries in the mapping table is significant.
  */
 static struct {
        efx_family_t    family;
  */
 static struct {
        efx_family_t    family;
index 407262d..07de6ca 100644 (file)
@@ -82,7 +82,7 @@ void _lthread_key_pool_init(void)
 
 /*
  * Create a key
 
 /*
  * Create a key
- * this means getting a key from the the pool
+ * this means getting a key from the pool
  */
 int lthread_key_create(unsigned int *key, tls_destructor_func destructor)
 {
  */
 int lthread_key_create(unsigned int *key, tls_destructor_func destructor)
 {
index 16af5ca..3ba7245 100644 (file)
@@ -49,7 +49,7 @@ static inline void rte_rmb(void);
  *
  * Guarantees that the LOAD and STORE operations that precede the
  * rte_smp_mb() call are globally visible across the lcores
  *
  * Guarantees that the LOAD and STORE operations that precede the
  * rte_smp_mb() call are globally visible across the lcores
- * before the the LOAD and STORE operations that follows it.
+ * before the LOAD and STORE operations that follows it.
  */
 static inline void rte_smp_mb(void);
 
  */
 static inline void rte_smp_mb(void);
 
@@ -58,7 +58,7 @@ static inline void rte_smp_mb(void);
  *
  * Guarantees that the STORE operations that precede the
  * rte_smp_wmb() call are globally visible across the lcores
  *
  * Guarantees that the STORE operations that precede the
  * rte_smp_wmb() call are globally visible across the lcores
- * before the the STORE operations that follows it.
+ * before the STORE operations that follows it.
  */
 static inline void rte_smp_wmb(void);
 
  */
 static inline void rte_smp_wmb(void);
 
@@ -67,7 +67,7 @@ static inline void rte_smp_wmb(void);
  *
  * Guarantees that the LOAD operations that precede the
  * rte_smp_rmb() call are globally visible across the lcores
  *
  * Guarantees that the LOAD operations that precede the
  * rte_smp_rmb() call are globally visible across the lcores
- * before the the LOAD operations that follows it.
+ * before the LOAD operations that follows it.
  */
 static inline void rte_smp_rmb(void);
 
  */
 static inline void rte_smp_rmb(void);
 
index 5da7f91..60521a7 100644 (file)
@@ -2380,7 +2380,7 @@ out:
  *  e1000_reset_mdicnfg_82580 - Reset MDICNFG destination and com_mdio bits
  *  @hw: pointer to the HW structure
  *
  *  e1000_reset_mdicnfg_82580 - Reset MDICNFG destination and com_mdio bits
  *  @hw: pointer to the HW structure
  *
- *  This resets the the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on
+ *  This resets the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on
  *  the values found in the EEPROM.  This addresses an issue in which these
  *  bits are not restored from EEPROM after reset.
  **/
  *  the values found in the EEPROM.  This addresses an issue in which these
  *  bits are not restored from EEPROM after reset.
  **/
index e65c18c..39e42be 100644 (file)
@@ -343,7 +343,7 @@ fail:
 
 /**
  * It is to check the governor and then set the original governor back if
 
 /**
  * It is to check the governor and then set the original governor back if
- * needed by writing the the sys file.
+ * needed by writing the sys file.
  */
 static int
 power_set_governor_original(struct rte_power_info *pi)
  */
 static int
 power_set_governor_original(struct rte_power_info *pi)