Found by doing duplicate word scan. Signed-off-by: Stephen Hemminger <step...@networkplumber.org> --- drivers/common/sfc_efx/base/efx_types.h | 2 +- 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 +- 7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/common/sfc_efx/base/efx_types.h b/drivers/common/sfc_efx/base/efx_types.h index 12ae1084d83a..a6123962f976 100644 --- a/drivers/common/sfc_efx/base/efx_types.h +++ b/drivers/common/sfc_efx/base/efx_types.h @@ -399,7 +399,7 @@ extern int fix_lint; * * (_element) << 4 * - * The result will contain the relevant bits filled in in the range + * The result will contain the relevant bits filled in the range * [0,high-low), with garbage in bits [high-low+1,...). */ #define EFX_EXTRACT_NATIVE(_element, _min, _max, _low, _high) \ diff --git a/drivers/event/sw/sw_evdev.c b/drivers/event/sw/sw_evdev.c index f93313b31b5c..7be9ac320963 100644 --- a/drivers/event/sw/sw_evdev.c +++ b/drivers/event/sw/sw_evdev.c @@ -244,7 +244,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( diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c index 6b1d1a5fb191..29cff1946932 100644 --- a/drivers/net/hns3/hns3_ethdev.c +++ b/drivers/net/hns3/hns3_ethdev.c @@ -3904,7 +3904,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) { diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 8c93a3f2e5ac..674dc31cadd0 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -4816,7 +4816,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. diff --git a/drivers/net/sfc/sfc_ef10_tx.c b/drivers/net/sfc/sfc_ef10_tx.c index 5403a60707d1..116229382b68 100644 --- a/drivers/net/sfc/sfc_ef10_tx.c +++ b/drivers/net/sfc/sfc_ef10_tx.c @@ -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) diff --git a/drivers/net/sfc/sfc_tso.c b/drivers/net/sfc/sfc_tso.c index 927e351a6ed4..a0827d1c0dd6 100644 --- a/drivers/net/sfc/sfc_tso.c +++ b/drivers/net/sfc/sfc_tso.c @@ -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. */ diff --git a/lib/mbuf/rte_mbuf_core.h b/lib/mbuf/rte_mbuf_core.h index 3d6ddd6773d2..b1c10cccc252 100644 --- a/lib/mbuf/rte_mbuf_core.h +++ b/lib/mbuf/rte_mbuf_core.h @@ -42,7 +42,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. -- 2.35.1