From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 93894A0507; Mon, 4 Apr 2022 16:42:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 466A24281A; Mon, 4 Apr 2022 16:42:27 +0200 (CEST) Received: from smail.rz.tu-ilmenau.de (smail.rz.tu-ilmenau.de [141.24.186.67]) by mails.dpdk.org (Postfix) with ESMTP id DC0BC4068C; Mon, 4 Apr 2022 16:42:25 +0200 (CEST) Received: from jaime.fritz.box (unknown [80.153.69.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smail.rz.tu-ilmenau.de (Postfix) with ESMTPSA id 68C23580095; Mon, 4 Apr 2022 16:42:24 +0200 (CEST) From: Michael Pfeiffer To: Qiming Yang , Qi Zhang Cc: dev@dpdk.org, stable@dpdk.org, Michael Pfeiffer , wenzhuo.lu@intel.com, Michael Rossberg Subject: [PATCH] net/ice: fix missing Tx burst mode name Date: Mon, 4 Apr 2022 16:41:44 +0200 Message-Id: <20220404144144.481583-1-michael.pfeiffer@tu-ilmenau.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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.lu@intel.com Cc: stable@dpdk.org Signed-off-by: Michael Pfeiffer Suggested-by: Michael Rossberg --- 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