]> git.droids-corp.org - dpdk.git/commitdiff
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 c590b40f9c2386c1e12179ebf9d5bb428169f859..8565d0836124d7e8af20beabbc5cc6a6772df576 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 4ed77666818aa458fdc392a8a6383a3be2a3dc21..54a2e55ae09418545dcfc187157f3e51e41ff3f0 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 d6878bf3fcb7bfce935a79e0592adf2c27387887..eae284e1d186ea85b32179cdcb44ffb0bec61b23 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 2ccb8c6bb6620bcde4882d065a83898c9b2f9c68..49bd105801afda490622c263719d29a29949e098 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 64408e788bedb51c2656ec5e26c2c462a9b28253..3c2f310ec24c3fb0b057843f7d6b2370eb4c557e 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 febd733780dfa4d8d1000f35db4cde5910466af9..987cd0a5a19c035b7c72258ac5f455c76503b5b5 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 103a5ee88d2f90cf6cdba47ccedd92f147dfc335..e23f1a1777e6f948c9219edee7bb2c9bc3fb29f8 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 9b8be4890a87b6436a1da06b44c945716d09acf4..38856d2c6e03208005d263c429feecb97b566fa9 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 57391caffca2372e6f142e138ed801db9070ef12..5dad83fdf1757d3fe48027e7493b5cdebaa3367a 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 40b71f3769048294e5fd5f80c9ee65adbbc87dc2..01e7646cad39f1faf92cf8095d5b9487d74b87cd 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 c16edbadb50d8dd87987161f52bd9726918e3a6e..898c3edaeffeaa2dfdcf3bf058446d8fe4ee19e7 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 c6400bde706bc058d0db25c15ffc5e77fd444f38..15c7dd84458b175144770321930f666abcdf7b53 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 6dd046d2f636cd36ee68dfe5466639a57c052682..92ab6fc6ca86a85535ac6ca28494228c1a3692f4 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 16ab98d39101af55b83313316285582e42e5ad10..e766e45cef33e5f189ea15b7ead9d060dfa89439 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 f2b4b70b5dfaeaaa3ecb783e85f52f473cb9df38..ab661a97d562863be35063abf5ed685517eecff6 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 9862391b986c992b54ffe03256813771a6be6bfb..f7401c0609e7e7893efddacf75b87f7aa0e3724a 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 ba272a911482d2f23cc3a6c7041d8b7234673479..d8f69ad65cb15c07aa2d99720c996079598007a4 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 da1830ced5565fa7639ab1b0eb382090fa82a7c0..744d20430322e0992c3cda9027d85ed73761a699 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 be3e91f0096f5aec0c2eec05bce0c1894a0ecd31..225890e289ad17b77ee7105a86006112cb96cd51 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 66622323952e58ffc633e0e57fb5cb5b797c6cc8..abca7408dea195e4a577fc2090b54f259b1bb936 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 58d1b0af93aac1c9a6003086a61b0c97bc822c63..83c958c436d60a1bb4c511302a2a966899e7933c 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 407262d6227e711948138831e0e2705f7a0c24fc..07de6cafabf5c7ac946f08d23383327a4c77957b 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 16af5ca57e015cf31cf0f9874ae29c4fa8d8e3a4..3ba7245a3e172bbeec3d34720905f80069513e3e 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 5da7f91fd1cb5feba410609cfa2e58e25483b90f..60521a73b5007cfcc9e8e147dd8232f5bf1a6a0c 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 e65c18c17d09a7e90f2b8dd559ea4a03a5c27f8e..39e42be8188321dc366751b5149e7d2bf6e8651f 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)