[v4,06/19] remove repeated word 'in'
Checks
Commit Message
Found by doing duplicate word scan.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
drivers/event/sw/sw_evdev.c | 2 +-
drivers/net/hns3/hns3_ethdev.c | 2 +-
drivers/net/mlx5/mlx5_flow.c | 2 +-
drivers/net/sfc/sfc_ef10_tx.c | 2 +-
drivers/net/sfc/sfc_tso.c | 2 +-
lib/mbuf/rte_mbuf_core.h | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
Comments
> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Wednesday, February 22, 2023 4:25 PM
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>; Van Haaren, Harry
> <harry.van.haaren@intel.com>; Dongdong Liu <liudongdong3@huawei.com>; Yisen
> Zhuang <yisen.zhuang@huawei.com>; Matan Azrad <matan@nvidia.com>;
> Viacheslav Ovsiienko <viacheslavo@nvidia.com>; Andrew Rybchenko
> <andrew.rybchenko@oktetlabs.ru>; Matz, Olivier <olivier.matz@6wind.com>
> Subject: [PATCH v4 06/19] remove repeated word 'in'
Lots of "in" and and one instance of "require" in in the event/sw PMD. Thanks for fixing!
> Found by doing duplicate word scan.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
All patch snippets LGTM:
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
@@ -245,7 +245,7 @@ qid_init(struct sw_evdev *sw, unsigned int idx, int type,
if (qid->type == RTE_SCHED_TYPE_ORDERED) {
uint32_t window_size;
- /* rte_ring and window_size_mask require require window_size to
+ /* rte_ring and window_size_mask require window_size to
* be a power-of-2.
*/
window_size = rte_align32pow2(
@@ -3845,7 +3845,7 @@ hns3_dev_promiscuous_enable(struct rte_eth_dev *dev)
/*
* When promiscuous mode was enabled, disable the vlan filter to let
- * all packets coming in in the receiving direction.
+ * all packets coming in the receiving direction.
*/
offloads = dev->data->dev_conf.rxmode.offloads;
if (offloads & RTE_ETH_RX_OFFLOAD_VLAN_FILTER) {
@@ -5039,7 +5039,7 @@ flow_mreg_del_default_copy_action(struct rte_eth_dev *dev)
}
/**
- * Add the default copy action in in RX_CP_TBL.
+ * Add the default copy action in RX_CP_TBL.
*
* This functions is called in the mlx5_dev_start(). No thread safe
* is guaranteed.
@@ -503,7 +503,7 @@ sfc_ef10_xmit_tso_pkt(struct sfc_ef10_txq * const txq, struct rte_mbuf *m_seg,
/*
* Tx prepare has debug-only checks that offload flags are correctly
- * filled in in TSO mbuf. Use zero IPID if there is no IPv4 flag.
+ * filled in TSO mbuf. Use zero IPID if there is no IPv4 flag.
* If the packet is still IPv4, HW will simply start from zero IPID.
*/
if (first_m_seg->ol_flags & RTE_MBUF_F_TX_IPV4)
@@ -149,7 +149,7 @@ sfc_efx_tso_do(struct sfc_efx_txq *txq, unsigned int idx,
/*
* Handle IP header. Tx prepare has debug-only checks that offload flags
- * are correctly filled in in TSO mbuf. Use zero IPID if there is no
+ * are correctly filled in TSO mbuf. Use zero IPID if there is no
* IPv4 flag. If the packet is still IPv4, HW will simply start from
* zero IPID.
*/
@@ -41,7 +41,7 @@ extern "C" {
/**
* The RX packet is a 802.1q VLAN packet, and the tci has been
- * saved in in mbuf->vlan_tci.
+ * saved in mbuf->vlan_tci.
* If the flag RTE_MBUF_F_RX_VLAN_STRIPPED is also present, the VLAN
* header has been stripped from mbuf data, else it is still
* present.