[PATCH] From: Sokolov Evgeny <Evgeny.Sokolov at infotecs.ru> Date: Mon, 26 Oct 2026 20:39:23 +0300 Subject: [PATCH] net/bnxt: remove redundant lines
Evgeny Sokolov
Evgeny.Sokolov at infotecs.ru
Mon Nov 16 08:37:21 CET 2026
Remove the redundant lines
The return value of the _mm256_permutevar8x32_epi32 function
stored in the info3_v varable is overwritten a line below
and can be safely removed.
Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Sokolov Evgeny <Evgeny.Sokolov at infotecs.ru>
---
drivers/net/bnxt/bnxt_rxtx_vec_avx2.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_rxtx_vec_avx2.c b/drivers/net/bnxt/bnxt_rxtx_vec_avx2.c
index 80074a56c4..07806f7357 100644
--- a/drivers/net/bnxt/bnxt_rxtx_vec_avx2.c
+++ b/drivers/net/bnxt/bnxt_rxtx_vec_avx2.c
@@ -570,9 +570,6 @@ crx_burst_vec_avx2(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts)
* bits and count the number of set bits in order to determine
* the number of valid descriptors.
*/
- const __m256i perm_msk =
- _mm256_set_epi32(7, 3, 6, 2, 5, 1, 4, 0);
- info3_v = _mm256_permutevar8x32_epi32(errors_v2, perm_msk);
info3_v = _mm256_and_si256(errors_v2, info3_v_mask);
info3_v = _mm256_xor_si256(info3_v, valid_target);
--
2.47.3
More information about the dev
mailing list