The function ice_xmit_pkts_vec_avx2_offload was left out in the list
of tx functions for ice_tx_burst_mode_get.

Fixes: 52ccdcf2fd41 ("net/ice: add AVX2 offload Tx")
Cc: wenzhuo...@intel.com
Cc: sta...@dpdk.org

Signed-off-by: Michael Pfeiffer <michael.pfeif...@tu-ilmenau.de>
Suggested-by: Michael Rossberg <michael.rossb...@tu-ilmenau.de>
---
 drivers/net/ice/ice_rxtx.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c
index 041f4bc91f..62ce23b53a 100644
--- a/drivers/net/ice/ice_rxtx.c
+++ b/drivers/net/ice/ice_rxtx.c
@@ -3552,8 +3552,9 @@ static const struct {
        { ice_xmit_pkts_vec_avx512, "Vector AVX512" },
        { ice_xmit_pkts_vec_avx512_offload, "Offload Vector AVX512" },
 #endif
-       { ice_xmit_pkts_vec_avx2, "Vector AVX2" },
-       { ice_xmit_pkts_vec,      "Vector SSE" },
+       { ice_xmit_pkts_vec_avx2,         "Vector AVX2" },
+       { ice_xmit_pkts_vec_avx2_offload, "Offload Vector AVX2" },
+       { ice_xmit_pkts_vec,              "Vector SSE" },
 #endif
 };
 
-- 
2.35.1

Reply via email to