Skip to content

Commit

Permalink
remove repeated 'the' in the code
Browse files Browse the repository at this point in the history
[ upstream commit b53d106 ]

Remove the use of double "the" as it does not make sense.

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>
  • Loading branch information
Sean Morrissey authored and cpaelzer committed Nov 30, 2021
1 parent 86e6d75 commit d544d3a
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion app/test/test_barrier.c
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion drivers/bus/vmbus/rte_bus_vmbus.h
Expand Up @@ -292,7 +292,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
Expand Down
2 changes: 1 addition & 1 deletion drivers/common/cpt/cpt_hw_types.h
Expand Up @@ -460,7 +460,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.
*
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/bnx2x/elink.c
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/bnxt/hsi_struct_def_dpdk.h
Expand Up @@ -9644,7 +9644,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 \
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/bonding/rte_eth_bond_pmd.c
Expand Up @@ -3485,7 +3485,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 & ETH_MQ_RX_RSS) {
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/hinic/base/hinic_pmd_hwdev.c
Expand Up @@ -828,7 +828,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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/i40e/base/i40e_common.c
Expand Up @@ -5863,7 +5863,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.
*
**/
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ice/ice_ethdev.h
Expand Up @@ -207,7 +207,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.
Expand Down
2 changes: 1 addition & 1 deletion lib/librte_bbdev/rte_bbdev_pmd.h
Expand Up @@ -76,7 +76,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.
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/librte_compressdev/rte_compressdev_pmd.h
Expand Up @@ -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.
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/librte_cryptodev/rte_cryptodev_pmd.h
Expand Up @@ -113,7 +113,7 @@ extern struct rte_cryptodev *rte_cryptodevs;

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

Expand Down
2 changes: 1 addition & 1 deletion lib/librte_eventdev/rte_eventdev_pmd.h
Expand Up @@ -144,7 +144,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.
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/librte_ip_frag/rte_ipv6_fragmentation.c
Expand Up @@ -81,7 +81,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) -
Expand Down
2 changes: 1 addition & 1 deletion lib/librte_rawdev/rte_rawdev_pmd.h
Expand Up @@ -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.
*/
Expand Down

0 comments on commit d544d3a

Please sign in to comment.