remove repeated 'the' in the code

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>
This commit is contained in:
Sean Morrissey 2021-11-22 10:50:45 +00:00 committed by David Marchand
parent 1eaa8f0160
commit b53d106d34
17 changed files with 17 additions and 17 deletions

View 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

View 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

View 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.
*

View 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) {

View 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 \

View 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) {

View 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)

View 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.
*
**/

View 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.

View 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.
*

View File

@ -853,7 +853,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

View 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.
*/

View 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.
*/

View 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.
*/

View 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.
*/

View 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) -

View 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.
*/