remove repeated 'the' in the code
authorSean Morrissey <sean.morrissey@intel.com>
Mon, 22 Nov 2021 10:50:45 +0000 (10:50 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 26 Nov 2021 10:28:34 +0000 (11:28 +0100)
Remove the use of double "the" as it does not make sense.

Cc: stable@dpdk.org
Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
Signed-off-by: Conor Fogarty <conor.fogarty@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
Reviewed-by: Conor Walsh <conor.walsh@intel.com>
Acked-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
17 files changed:
app/test/test_barrier.c
drivers/bus/vmbus/rte_bus_vmbus.h
drivers/common/cpt/cpt_hw_types.h
drivers/net/bnx2x/elink.c
drivers/net/bnxt/hsi_struct_def_dpdk.h
drivers/net/bonding/rte_eth_bond_pmd.c
drivers/net/hinic/base/hinic_pmd_hwdev.c
drivers/net/i40e/base/i40e_common.c
drivers/net/ice/ice_ethdev.h
drivers/net/ionic/ionic_if.h
drivers/net/mlx5/mlx5_trigger.c
lib/bbdev/rte_bbdev_pmd.h
lib/compressdev/rte_compressdev_pmd.h
lib/cryptodev/cryptodev_pmd.h
lib/eventdev/eventdev_pmd.h
lib/ip_frag/rte_ipv6_fragmentation.c
lib/rawdev/rte_rawdev_pmd.h

index 9641133..6d6d487 100644 (file)
@@ -6,7 +6,7 @@
   * This is a simple functional test for rte_smp_mb() implementation.
   * I.E. make sure that 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.
   * The test uses simple implementation of Peterson's lock algorithm
   * (https://en.wikipedia.org/wiki/Peterson%27s_algorithm)
   * for two execution units to make sure that rte_smp_mb() prevents
index 466d42d..a24bad8 100644 (file)
@@ -291,7 +291,7 @@ struct iova_list {
  * @param data
  *     Pointer to the buffer additional data to send
  * @param dlen
- *      Maximum size of what the the buffer will hold
+ *      Maximum size of what the buffer will hold
  * @param xact
  *     Identifier of the request
  * @param flags
index a1f969e..522844c 100644 (file)
@@ -466,7 +466,7 @@ typedef union {
                uint64_t dbell_cnt             : 20;
                /** [ 19:  0](R/W/H) Number of instruction queue 64-bit words
                 * to add to the CPT instruction doorbell count. Readback value
-                * is the the current number of pending doorbell requests.
+                * is the current number of pending doorbell requests.
                 *
                 * If counter overflows CPT()_VQ()_MISC_INT[DBELL_DOVF] is set.
                 *
index b65126d..2093d8f 100644 (file)
@@ -15013,7 +15013,7 @@ static void elink_check_kr2_wa(struct elink_params *params,
 
        /* Once KR2 was disabled, wait 5 seconds before checking KR2 recovery
         * Since some switches tend to reinit the AN process and clear the
-        * the advertised BP/NP after ~2 seconds causing the KR2 to be disabled
+        * advertised BP/NP after ~2 seconds causing the KR2 to be disabled
         * and recovered many times
         */
        if (vars->check_kr2_recovery_cnt > 0) {
index 0c08171..88624f8 100644 (file)
@@ -14998,7 +14998,7 @@ struct hwrm_func_resource_qcaps_output {
        #define HWRM_FUNC_RESOURCE_QCAPS_OUTPUT_VF_RESERVATION_STRATEGY_MINIMAL \
                UINT32_C(0x1)
        /*
-        * The PF driver should not reserve any resources for each VF until the
+        * The PF driver should not reserve any resources for each VF until
         * the VF interface is brought up.
         */
        #define HWRM_FUNC_RESOURCE_QCAPS_OUTPUT_VF_RESERVATION_STRATEGY_MINIMAL_STATIC \
index 9bbe129..84f4900 100644 (file)
@@ -3498,7 +3498,7 @@ bond_ethdev_configure(struct rte_eth_dev *dev)
 
        /*
         * If RSS is enabled, fill table with default values and
-        * set key to the the value specified in port RSS configuration.
+        * set key to the value specified in port RSS configuration.
         * Fall back to default RSS key if the key is not specified
         */
        if (dev->data->dev_conf.rxmode.mq_mode & RTE_ETH_MQ_RX_RSS) {
index 80f9eb5..5eb0222 100644 (file)
@@ -826,7 +826,7 @@ static int set_vf_dma_attr_entry(struct hinic_hwdev *hwdev, u8 entry_idx,
 }
 
 /**
- * dma_attr_table_init - initialize the the default dma attributes
+ * dma_attr_table_init - initialize the default dma attributes
  * @hwdev: the pointer to the private hardware device object
  */
 static int dma_attr_table_init(struct hinic_hwdev *hwdev)
index baa51e1..9eee104 100644 (file)
@@ -5969,7 +5969,7 @@ enum i40e_status_code i40e_aq_add_cloud_filters(struct i40e_hw *hw,
  * @filter_count: number of filters contained in the buffer
  *
  * Set the cloud filters for a given VSI.  The contents of the
- * i40e_aqc_cloud_filters_element_bb are filled in by the caller of the
+ * i40e_aqc_cloud_filters_element_bb are filled in by the caller of
  * the function.
  *
  **/
index 11f7eb4..2e3e45f 100644 (file)
@@ -242,7 +242,7 @@ struct ice_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
-        * 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.
index ba4cc4b..693b44d 100644 (file)
@@ -684,7 +684,7 @@ enum ionic_txq_desc_opcode {
  *                   IONIC_TXQ_DESC_OPCODE_CSUM_HW:
  *                      Offload 16-bit checksum computation to hardware.
  *                      If @csum_l3 is set then the packet's L3 checksum is
- *                      updated. Similarly, if @csum_l4 is set the the L4
+ *                      updated. Similarly, if @csum_l4 is set the L4
  *                      checksum is updated. If @encap is set then encap header
  *                      checksums are also updated.
  *
index 68df3f8..74c9c0a 100644 (file)
@@ -853,7 +853,7 @@ error:
 
 /*
  * Unbind the hairpin port pair, HW configuration of both devices will be clear
- * and status will be reset for all the queues used between the them.
+ * and status will be reset for all the queues used between them.
  * This function only supports to unbind the Tx from one Rx.
  *
  * @param dev
index dd0e359..3da7a2b 100644 (file)
@@ -70,7 +70,7 @@ struct rte_bbdev *
 rte_bbdev_get_named_dev(const char *name);
 
 /**
- * Definitions of all functions exported by a driver through the the generic
+ * Definitions of all functions exported by a driver through the generic
  * structure of type *rte_bbdev_ops* supplied in the *rte_bbdev* structure
  * associated with a device.
  */
index 16b6bc6..b2a0e25 100644 (file)
@@ -64,7 +64,7 @@ struct rte_compressdev *
 rte_compressdev_pmd_get_named_dev(const char *name);
 
 /**
- * Definitions of all functions exported by a driver through the
+ * Definitions of all functions exported by a driver through
  * the generic structure of type *comp_dev_ops* supplied in the
  * *rte_compressdev* structure associated with a device.
  */
index 89bf2af..1bca24e 100644 (file)
@@ -159,7 +159,7 @@ rte_cryptodev_pmd_get_named_dev(const char *name);
 
 /**
  * Definitions of all functions exported by a driver through the
- * the generic structure of type *crypto_dev_ops* supplied in the
+ * generic structure of type *crypto_dev_ops* supplied in the
  * *rte_cryptodev* structure associated with a device.
  */
 
index 4787df7..d0b0c00 100644 (file)
@@ -237,7 +237,7 @@ rte_event_pmd_is_valid_dev(uint8_t dev_id)
 
 /**
  * Definitions of all functions exported by a driver through the
- * the generic structure of type *event_dev_ops* supplied in the
+ * generic structure of type *event_dev_ops* supplied in the
  * *rte_eventdev* structure associated with a device.
  */
 
index 88f29c1..2e69241 100644 (file)
@@ -90,7 +90,7 @@ rte_ipv6_fragment_packet(struct rte_mbuf *pkt_in,
 
        /*
         * Ensure the IP payload length of all fragments (except the
-        * the last fragment) are a multiple of 8 bytes per RFC2460.
+        * last fragment) are a multiple of 8 bytes per RFC2460.
         */
 
        frag_size = mtu_size - sizeof(struct rte_ipv6_hdr) -
index b1bed13..3b7be57 100644 (file)
@@ -126,7 +126,7 @@ rte_rawdev_pmd_is_valid_dev(uint8_t dev_id)
 }
 
 /**
- * Definitions of all functions exported by a driver through the
+ * Definitions of all functions exported by a driver through
  * the generic structure of type *rawdev_ops* supplied in the
  * *rte_rawdev* structure associated with a device.
  */