Remove the use of double "the" as it does not make sense. Signed-off-by: Sean Morrissey <sean.morris...@intel.com> Signed-off-by: Conor Fogarty <conor.foga...@intel.com> Acked-by: John McNamara <john.mcnam...@intel.com> Reviewed-by: Conor Walsh <conor.wa...@intel.com> --- app/test/test_barrier.c | 2 +- doc/guides/sample_app_ug/keep_alive.rst | 2 +- drivers/bus/vmbus/rte_bus_vmbus.h | 2 +- drivers/common/cpt/cpt_hw_types.h | 2 +- drivers/net/bnx2x/elink.c | 2 +- drivers/net/bnxt/hsi_struct_def_dpdk.h | 2 +- drivers/net/bonding/rte_eth_bond_pmd.c | 2 +- drivers/net/hinic/base/hinic_pmd_hwdev.c | 2 +- drivers/net/i40e/base/i40e_common.c | 2 +- drivers/net/ice/ice_ethdev.h | 2 +- drivers/net/ionic/ionic_if.h | 2 +- drivers/net/mlx5/mlx5_trigger.c | 2 +- lib/bbdev/rte_bbdev_pmd.h | 2 +- lib/compressdev/rte_compressdev_pmd.h | 2 +- lib/cryptodev/cryptodev_pmd.h | 2 +- lib/eventdev/eventdev_pmd.h | 2 +- lib/ip_frag/rte_ipv6_fragmentation.c | 2 +- lib/rawdev/rte_rawdev_pmd.h | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/app/test/test_barrier.c b/app/test/test_barrier.c index 9641133ccf..6d6d48749c 100644 --- a/app/test/test_barrier.c +++ b/app/test/test_barrier.c @@ -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 diff --git a/doc/guides/sample_app_ug/keep_alive.rst b/doc/guides/sample_app_ug/keep_alive.rst index b6d75c8a80..a907ff36a1 100644 --- a/doc/guides/sample_app_ug/keep_alive.rst +++ b/doc/guides/sample_app_ug/keep_alive.rst @@ -78,7 +78,7 @@ options. Explanation ----------- -The following sections provide some explanation of the The +The following sections provide some explanation of the Keep-Alive/'Liveliness' conceptual scheme. As mentioned in the overview section, the initialization and run-time paths are very similar to those of the :doc:`l2_forward_real_virtual`. diff --git a/drivers/bus/vmbus/rte_bus_vmbus.h b/drivers/bus/vmbus/rte_bus_vmbus.h index 466d42d277..a24bad831d 100644 --- a/drivers/bus/vmbus/rte_bus_vmbus.h +++ b/drivers/bus/vmbus/rte_bus_vmbus.h @@ -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 diff --git a/drivers/common/cpt/cpt_hw_types.h b/drivers/common/cpt/cpt_hw_types.h index a1f969eb14..522844c351 100644 --- a/drivers/common/cpt/cpt_hw_types.h +++ b/drivers/common/cpt/cpt_hw_types.h @@ -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. * diff --git a/drivers/net/bnx2x/elink.c b/drivers/net/bnx2x/elink.c index b65126d718..2093d8f373 100644 --- a/drivers/net/bnx2x/elink.c +++ b/drivers/net/bnx2x/elink.c @@ -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) { diff --git a/drivers/net/bnxt/hsi_struct_def_dpdk.h b/drivers/net/bnxt/hsi_struct_def_dpdk.h index 0c08171dec..88624f8129 100644 --- a/drivers/net/bnxt/hsi_struct_def_dpdk.h +++ b/drivers/net/bnxt/hsi_struct_def_dpdk.h @@ -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 \ diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index 9bbe1291bc..84f4900ee5 100644 --- a/drivers/net/bonding/rte_eth_bond_pmd.c +++ b/drivers/net/bonding/rte_eth_bond_pmd.c @@ -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) { diff --git a/drivers/net/hinic/base/hinic_pmd_hwdev.c b/drivers/net/hinic/base/hinic_pmd_hwdev.c index 80f9eb5c30..5eb022297e 100644 --- a/drivers/net/hinic/base/hinic_pmd_hwdev.c +++ b/drivers/net/hinic/base/hinic_pmd_hwdev.c @@ -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) diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c index baa51e1396..9eee104063 100644 --- a/drivers/net/i40e/base/i40e_common.c +++ b/drivers/net/i40e/base/i40e_common.c @@ -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. * **/ diff --git a/drivers/net/ice/ice_ethdev.h b/drivers/net/ice/ice_ethdev.h index 11f7eb4352..2e3e45f3d7 100644 --- a/drivers/net/ice/ice_ethdev.h +++ b/drivers/net/ice/ice_ethdev.h @@ -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. diff --git a/drivers/net/ionic/ionic_if.h b/drivers/net/ionic/ionic_if.h index ba4cc4b724..693b44d764 100644 --- a/drivers/net/ionic/ionic_if.h +++ b/drivers/net/ionic/ionic_if.h @@ -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. * diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c index e2bfde19c7..a0bee7436d 100644 --- a/drivers/net/mlx5/mlx5_trigger.c +++ b/drivers/net/mlx5/mlx5_trigger.c @@ -869,7 +869,7 @@ mlx5_hairpin_bind_single_port(struct rte_eth_dev *dev, uint16_t rx_port) /* * 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 diff --git a/lib/bbdev/rte_bbdev_pmd.h b/lib/bbdev/rte_bbdev_pmd.h index dd0e35994c..3da7a2bdf5 100644 --- a/lib/bbdev/rte_bbdev_pmd.h +++ b/lib/bbdev/rte_bbdev_pmd.h @@ -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. */ diff --git a/lib/compressdev/rte_compressdev_pmd.h b/lib/compressdev/rte_compressdev_pmd.h index 945a991fd6..f9a42d1f05 100644 --- a/lib/compressdev/rte_compressdev_pmd.h +++ b/lib/compressdev/rte_compressdev_pmd.h @@ -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. */ diff --git a/lib/cryptodev/cryptodev_pmd.h b/lib/cryptodev/cryptodev_pmd.h index a6b25d297b..b9146f652c 100644 --- a/lib/cryptodev/cryptodev_pmd.h +++ b/lib/cryptodev/cryptodev_pmd.h @@ -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. */ diff --git a/lib/eventdev/eventdev_pmd.h b/lib/eventdev/eventdev_pmd.h index 4787df7ba0..d0b0c00a60 100644 --- a/lib/eventdev/eventdev_pmd.h +++ b/lib/eventdev/eventdev_pmd.h @@ -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. */ diff --git a/lib/ip_frag/rte_ipv6_fragmentation.c b/lib/ip_frag/rte_ipv6_fragmentation.c index 88f29c158c..2e692418b5 100644 --- a/lib/ip_frag/rte_ipv6_fragmentation.c +++ b/lib/ip_frag/rte_ipv6_fragmentation.c @@ -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) - diff --git a/lib/rawdev/rte_rawdev_pmd.h b/lib/rawdev/rte_rawdev_pmd.h index b1bed13ee2..3b7be57d3e 100644 --- a/lib/rawdev/rte_rawdev_pmd.h +++ b/lib/rawdev/rte_rawdev_pmd.h @@ -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. */ -- 2.25.1