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 0C80FA034F; Wed, 31 Mar 2021 10:11:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F2F5D406FF; Wed, 31 Mar 2021 10:11:06 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id EB66C140DE6 for ; Wed, 31 Mar 2021 10:11:04 +0200 (CEST) IronPort-SDR: HIP13i7SMvhEQzaVtwSPeUfuwmJFgOqiCFxQtOa3Jjm7DWU1t8PFjh10hVRCYu0YkJc5sHd5uX EHoffYp33kUw== X-IronPort-AV: E=McAfee;i="6000,8403,9939"; a="212179102" X-IronPort-AV: E=Sophos;i="5.81,293,1610438400"; d="scan'208";a="212179102" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2021 01:11:04 -0700 IronPort-SDR: f63gG2XMArV4Jq3pGvDk7KiI8UEHCH8q+9jtp5UeT4JTTAMEze2cwpcCNuYxC1DPdVeB+QIWNY Kn3MTiimiHyw== X-IronPort-AV: E=Sophos;i="5.81,293,1610438400"; d="scan'208";a="418553198" Received: from unknown (HELO localhost.localdomain) ([10.240.183.103]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2021 01:11:02 -0700 From: xiewei To: dts@dpdk.org Cc: xiewei Date: Thu, 1 Apr 2021 00:47:27 +0800 Message-Id: <20210331164727.23801-3-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210331164727.23801-1-weix.xie@intel.com> References: <20210331164727.23801-1-weix.xie@intel.com> Subject: [dts] [PATCH V1 2/2] tests/rxtx_offload: adapt to CVL NIC X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" rxtx_offload/txoffload_queue: it failed to enable mbuf_fast_free per_queue. Signed-off-by: xiewei --- tests/TestSuite_rxtx_offload.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py index 0e70526f..6b121ade 100644 --- a/tests/TestSuite_rxtx_offload.py +++ b/tests/TestSuite_rxtx_offload.py @@ -698,8 +698,12 @@ class TestRxTx_Offload(TestCase): self.dut.send_expect("port 0 txq 1 tx_offload mbuf_fast_free on", "testpmd> ") self.dut.send_expect("port 0 txq 2 tx_offload mbuf_fast_free on", "testpmd> ") self.dut.send_expect("port 0 txq 3 tx_offload mbuf_fast_free on", "testpmd> ") - offload = ["mbuf_fast_free", "mbuf_fast_free", "mbuf_fast_free", "mbuf_fast_free"] - self.check_queue_config("tx", offload) + if self.nic in ['columbiaville_25g', 'columbiaville_100g']: + out = self.dut.send_expect("port start 0", "testpmd> ") + self.verify("Fail to configure port 0 tx queues" in out, "mbuf_fast_free can be set by queue.") + else: + offload = ["mbuf_fast_free", "mbuf_fast_free", "mbuf_fast_free", "mbuf_fast_free"] + self.check_queue_config("tx", offload) # Disable mbuf_fast_free per_queue. self.dut.send_expect("port stop 0", "testpmd> ") -- 2.17.1