From patchwork Mon May 30 11:36:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qi Zhang X-Patchwork-Id: 112046 X-Patchwork-Delegate: qi.z.zhang@intel.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 193EEA00BE; Mon, 30 May 2022 13:36:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0633542B75; Mon, 30 May 2022 13:36:36 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id E2130400D6; Mon, 30 May 2022 13:36:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653910594; x=1685446594; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=3Ra47ueGBEVNvPWd9rfbuCa+H+cswxb7BiQjko0nU1k=; b=T31AQwtgJ0KLwVNVWmKT58DcItYzxyCM9V0uHYEgfPMwZWkbft6ju9Oo lKVfZEBLOhNvkczMuqphLaZESpudJi5w2UE2EH7kjShuyHNevjSl3xte5 vyK7I09ixCid17E4uPVmiKYAnne5bZIkD9dDswHNfPePjlZMCtX2ghKfb TfFbgwdorwbE8pBIt17e3iWh1C7qRoUJjJdPUVcqj18FR9dfnpd+DnpsC E1nFIN7I82ttnV5ThsFwn9kX3a9alTh1XCF/W1p6enss0Qc0dv3WsDwCd fr+yvvq4+Zkh0jqLJ3hi+pOsU+xoIvVbWF/qWEEWfev/QUmJScMd4aj2I g==; X-IronPort-AV: E=McAfee;i="6400,9594,10362"; a="300327004" X-IronPort-AV: E=Sophos;i="5.91,262,1647327600"; d="scan'208";a="300327004" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2022 04:36:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,262,1647327600"; d="scan'208";a="750835352" Received: from qzhan15-icelake-dpdk.sh.intel.com (HELO DPDK-qzhan15-test02.sh.intel.com) ([10.67.114.175]) by orsmga005.jf.intel.com with ESMTP; 30 May 2022 04:36:31 -0700 From: Qi Zhang To: radu.nicolau@intel.com Cc: dev@dpdk.org, Qi Zhang , stable@dpdk.org Subject: [PATCH] net/iavf: remove unimplemented function call Date: Mon, 30 May 2022 07:36:29 -0400 Message-Id: <20220530113629.2143836-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 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 Remove unimplemented function call be wrapped by RTE_LIBRTE_IAVF_DEBUG_TX_DESC_RING Fixes: 1e728b01120c ("net/iavf: rework Tx path") Cc: stable@dpdk.org Signed-off-by: Qi Zhang Acked-by: Radu Nicolau --- drivers/net/iavf/iavf_rxtx.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c index bb3d7ea434..14d4dbe967 100644 --- a/drivers/net/iavf/iavf_rxtx.c +++ b/drivers/net/iavf/iavf_rxtx.c @@ -2660,12 +2660,6 @@ iavf_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts) desc_idx = txq->tx_tail; txe = &txe_ring[desc_idx]; -#ifdef RTE_LIBRTE_IAVF_DEBUG_TX_DESC_RING - iavf_dump_tx_entry_ring(txq); - iavf_dump_tx_desc_ring(txq); -#endif - - for (idx = 0; idx < nb_pkts; idx++) { volatile struct iavf_tx_desc *ddesc; struct iavf_ipsec_crypto_pkt_metadata *ipsec_md;