Skip to content

Commit

Permalink
drivers/net: fix typo in vector Rx comment
Browse files Browse the repository at this point in the history
[ upstream commit 635a937 ]

In Rx vec path, for extracting and recording EOP bit, comment has
redundant "count" word, removing it.

Fixes: 7092be8 ("fm10k: add vector Rx")
Fixes: c3def6a ("net/i40e: implement vector PMD for altivec")
Fixes: ae0eb31 ("net/i40e: implement vector PMD for ARM")
Fixes: 9ed94e5 ("i40e: add vector Rx")
Fixes: 319c421 ("net/avf: enable SSE Rx Tx")
Fixes: 1162f5a ("net/iavf: support flexible Rx descriptor in SSE path")
Fixes: c68a52b ("net/ice: support vector SSE in Rx")
Fixes: cf4b470 ("ixgbe: improve slow-path perf with vector scattered Rx")

Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
  • Loading branch information
Feifeiarm authored and cpaelzer committed Nov 29, 2021
1 parent eec17bc commit a5aaa4d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion drivers/net/fm10k/fm10k_rxtx_vec.c
Expand Up @@ -544,7 +544,7 @@ fm10k_recv_raw_pkts_vec(void *rx_queue, struct rte_mbuf **rx_pkts,
/* and with mask to extract bits, flipping 1-0 */
__m128i eop_bits = _mm_andnot_si128(staterr, eop_check);
/* the staterr values are not in order, as the count
* count of dd bits doesn't care. However, for end of
* of dd bits doesn't care. However, for end of
* packet tracking, we do care, so shuffle. This also
* compresses the 32-bit values to 8-bit
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/i40e/i40e_rxtx_vec_altivec.c
Expand Up @@ -398,7 +398,7 @@ _recv_raw_pkts_vec(struct i40e_rx_queue *rxq, struct rte_mbuf **rx_pkts,
(vector unsigned char)vec_nor(staterr, staterr),
(vector unsigned char)eop_check);
/* the staterr values are not in order, as the count
* count of dd bits doesn't care. However, for end of
* of dd bits doesn't care. However, for end of
* packet tracking, we do care, so shuffle. This also
* compresses the 32-bit values to 8-bit
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/i40e/i40e_rxtx_vec_neon.c
Expand Up @@ -386,7 +386,7 @@ _recv_raw_pkts_vec(struct i40e_rx_queue *rxq, struct rte_mbuf **rx_pkts,
eop_bits = vmvnq_u8(vreinterpretq_u8_u16(staterr));
eop_bits = vandq_u8(eop_bits, eop_check);
/* the staterr values are not in order, as the count
* count of dd bits doesn't care. However, for end of
* of dd bits doesn't care. However, for end of
* packet tracking, we do care, so shuffle. This also
* compresses the 32-bit values to 8-bit
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/i40e/i40e_rxtx_vec_sse.c
Expand Up @@ -557,7 +557,7 @@ _recv_raw_pkts_vec(struct i40e_rx_queue *rxq, struct rte_mbuf **rx_pkts,
/* and with mask to extract bits, flipping 1-0 */
__m128i eop_bits = _mm_andnot_si128(staterr, eop_check);
/* the staterr values are not in order, as the count
* count of dd bits doesn't care. However, for end of
* of dd bits doesn't care. However, for end of
* packet tracking, we do care, so shuffle. This also
* compresses the 32-bit values to 8-bit
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/iavf/iavf_rxtx_vec_sse.c
Expand Up @@ -437,7 +437,7 @@ _recv_raw_pkts_vec(struct iavf_rx_queue *rxq, struct rte_mbuf **rx_pkts,
/* and with mask to extract bits, flipping 1-0 */
__m128i eop_bits = _mm_andnot_si128(staterr, eop_check);
/* the staterr values are not in order, as the count
* count of dd bits doesn't care. However, for end of
* of dd bits doesn't care. However, for end of
* packet tracking, we do care, so shuffle. This also
* compresses the 32-bit values to 8-bit
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ice/ice_rxtx_vec_sse.c
Expand Up @@ -439,7 +439,7 @@ _ice_recv_raw_pkts_vec(struct ice_rx_queue *rxq, struct rte_mbuf **rx_pkts,
/* and with mask to extract bits, flipping 1-0 */
__m128i eop_bits = _mm_andnot_si128(staterr, eop_check);
/* the staterr values are not in order, as the count
* count of dd bits doesn't care. However, for end of
* of dd bits doesn't care. However, for end of
* packet tracking, we do care, so shuffle. This also
* compresses the 32-bit values to 8-bit
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c
Expand Up @@ -540,7 +540,7 @@ _recv_raw_pkts_vec(struct ixgbe_rx_queue *rxq, struct rte_mbuf **rx_pkts,
/* and with mask to extract bits, flipping 1-0 */
__m128i eop_bits = _mm_andnot_si128(staterr, eop_check);
/* the staterr values are not in order, as the count
* count of dd bits doesn't care. However, for end of
* of dd bits doesn't care. However, for end of
* packet tracking, we do care, so shuffle. This also
* compresses the 32-bit values to 8-bit
*/
Expand Down

0 comments on commit a5aaa4d

Please sign in to comment.