replace use of word segregate in comments
PATCH 1/1 replace use of word segregate in comments
The use of the word segregate should be avoided.
Rationale from https://inclusivenaming.org/word-lists/tier-3/segregate/
The word segregation carries strong context in regard to civil rights movements in the US and South Africa, segregation in the US South, and racist history.
--- app/test/test_hash_readwrite_lf_perf.c | 2 +- drivers/net/octeon_ep/cnxk_ep_rx_neon.c | 2 +- drivers/net/octeon_ep/cnxk_ep_rx_sse.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
app/test/test_hash_readwrite_lf_perf.c +1 -1
@@ -397,7 +397,7 @@ generate_keys(void)for (i =2 ; i <TOTAL_INSERT ; i++) keys[i] = keys[i-1 ] + keys[i-2 ]; -/* Segregate keys into keys_no_ks and keys_ks */ +/* Separate keys into keys_no_ks and keys_ks */ for (i =0 ; i <TOTAL_INSERT ; i++) {/* Check if primary bucket has space.*/ sig = rte_hash_hash(tbl_rwc_test_param.h,
drivers/net/octeon_ep/cnxk_ep_rx_neon.c +1 -1
@@ -61,7 +61,7 @@ cnxk_ep_process_pkts_vec_neon(struct rte_mbuf **rx_pkts, struct otx_ep_droq *dro/* Vertical add, consolidate outside the loop. */ bytes +=vaddq_u32 (bytes, s01); -/* Segregate to packet length and data length. */ +/* Separate intto packet length and data length. */ s23 =vqtbl1q_u8 (s01, mask1); s01 =vqtbl1q_u8 (s01, mask0);
drivers/net/octeon_ep/cnxk_ep_rx_sse.c +1 -1
@@ -52,7 +52,7 @@ cnxk_ep_process_pkts_vec_sse(struct rte_mbuf **rx_pkts, struct otx_ep_droq *droq s01 =_mm_shuffle_epi8 (s01, bswap_mask);/* Vertical add, consolidate outside loop */ bytes =_mm_add_epi32 (bytes, s01); -/* Segregate to packet length and data length. */ +/* Separate intto packet length and data length. */ s23 =_mm_shuffle_epi32 (s01,_MM_SHUFFLE (3 ,3 ,1 ,1 )); s01 =_mm_shuffle_epi8 (s01, cpy_mask); s23 =_mm_shuffle_epi8 (s23, cpy_mask);
Signature · 1 line
2.45.2
Quoted 17 lines
From: Stephen Hemminger [mailto:[email protected]]
Sent: Saturday, 5 October 2024 01.03The use of the word segregate should be avoided.
Rationale from https://inclusivenaming.org/word-lists/tier-3/segregate/The word segregation carries strong context in regard to civil rights movements in the US and South Africa, segregation in the US South,
and
racist history.Signed-off-by Stephen Hemminger <[email protected]>---
+++
b/drivers/net/octeon_ep/cnxk_ep_rx_neon.c
drivers/net/octeon_ep/cnxk_ep_rx_neon.c cnxk_ep_process_pkts_vec_neon(struct rte_mbuf · line 65
Quoted 6 lines
drivers/net/octeon_ep/cnxk_ep_rx_neon.c +1
-1@@ -61,7 +61,7 @@ cnxk_ep_process_pkts_vec_neon(struct rte_mbuf **rx_pkts, struct otx_ep_droq *dro/* Vertical add, consolidate outside the loop. */ bytes +=vaddq_u32 (bytes, s01); -/* Segregate to packet length and data length. */ +/* Separate intto packet length and data length. */
Typo: intto -> into
drivers/net/octeon_ep/cnxk_ep_rx_sse.c cnxk_ep_process_pkts_vec_sse(struct rte_mbuf · line 56
Quoted 8 lines
drivers/net/octeon_ep/cnxk_ep_rx_sse.c +2
-1+++ b/drivers/net/octeon_ep/cnxk_ep_rx_sse.c@@ -52,7 +52,7 @@ cnxk_ep_process_pkts_vec_sse(struct rte_mbuf **rx_pkts, struct otx_ep_droq *droq s01 = _mm_shuffle_epi8(s01, bswap_mask);/* Vertical add, consolidate outside loop */ bytes =_mm_add_epi32 (bytes, s01); -/* Segregate to packet length and data length. */ +/* Separate intto packet length and data length. */
Typo: intto -> into
With typos fixed,
PATCH v2 1/1 replace use of word segregate in comments
In reply to Stephen HemmingerThe use of the word segregate should be avoided.
Rationale from https://inclusivenaming.org/word-lists/tier-3/segregate/
The word segregation carries strong context in regard to civil rights movements in the US and South Africa, segregation in the US South, and racist history.
--- app/test/test_hash_readwrite_lf_perf.c | 2 +- drivers/net/octeon_ep/cnxk_ep_rx_neon.c | 2 +- drivers/net/octeon_ep/cnxk_ep_rx_sse.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
app/test/test_hash_readwrite_lf_perf.c +1 -1
@@ -397,7 +397,7 @@ generate_keys(void)for (i =2 ; i <TOTAL_INSERT ; i++) keys[i] = keys[i-1 ] + keys[i-2 ]; -/* Segregate keys into keys_no_ks and keys_ks */ +/* Separate keys into keys_no_ks and keys_ks */ for (i =0 ; i <TOTAL_INSERT ; i++) {/* Check if primary bucket has space.*/ sig = rte_hash_hash(tbl_rwc_test_param.h,
drivers/net/octeon_ep/cnxk_ep_rx_neon.c +1 -1
@@ -61,7 +61,7 @@ cnxk_ep_process_pkts_vec_neon(struct rte_mbuf **rx_pkts, struct otx_ep_droq *dro/* Vertical add, consolidate outside the loop. */ bytes +=vaddq_u32 (bytes, s01); -/* Segregate to packet length and data length. */ +/* Separate into packet length and data length. */ s23 =vqtbl1q_u8 (s01, mask1); s01 =vqtbl1q_u8 (s01, mask0);
drivers/net/octeon_ep/cnxk_ep_rx_sse.c +1 -1
@@ -52,7 +52,7 @@ cnxk_ep_process_pkts_vec_sse(struct rte_mbuf **rx_pkts, struct otx_ep_droq *droq s01 =_mm_shuffle_epi8 (s01, bswap_mask);/* Vertical add, consolidate outside loop */ bytes =_mm_add_epi32 (bytes, s01); -/* Segregate to packet length and data length. */ +/* Separate into packet length and data length. */ s23 =_mm_shuffle_epi32 (s01,_MM_SHUFFLE (3 ,3 ,1 ,1 )); s01 =_mm_shuffle_epi8 (s01, cpy_mask); s23 =_mm_shuffle_epi8 (s23, cpy_mask);
Signature · 1 line
2.45.2
Quoted 14 lines · Stephen Hemminger
The use of the word segregate should be avoided.
Rationale from https://inclusivenaming.org/word-lists/tier-3/segregate/The word segregation carries strong context in regard to civil rights movements in the US and South Africa, segregation in the US South, and racist history.
Signed-off-by Stephen Hemminger <[email protected]>Acked-by Morten Brørup <[email protected]>--- app/test/test_hash_readwrite_lf_perf.c | 2 +- drivers/net/octeon_ep/cnxk_ep_rx_neon.c | 2 +- drivers/net/octeon_ep/cnxk_ep_rx_sse.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Thomas Monjalon
Applied09/10/2024 02:36, fengchengwen:
Quoted 12 lines
Acked-by Chengwen Feng <[email protected]>Quoted 9 lines · Stephen Hemminger
The use of the word segregate should be avoided.
Rationale from https://inclusivenaming.org/word-lists/tier-3/segregate/The word segregation carries strong context in regard to civil rights movements in the US and South Africa, segregation in the US South, and racist history.
Signed-off-by Stephen Hemminger <[email protected]>Acked-by Morten Brørup <[email protected]>
Applied, thanks.