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 8138BA0524; Wed, 14 Apr 2021 04:32:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F30516155C; Wed, 14 Apr 2021 04:32:26 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 413D5161553 for ; Wed, 14 Apr 2021 04:32:25 +0200 (CEST) IronPort-SDR: wh1FU6I3AMFuu0BqFYlUcki1Lk1jYNMROPYai4yJAwa0oYC2qWcXB0zc+2yqxOMkYLASom5Bmv sTIirihMYDHQ== X-IronPort-AV: E=McAfee;i="6200,9189,9953"; a="182058320" X-IronPort-AV: E=Sophos;i="5.82,221,1613462400"; d="scan'208";a="182058320" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2021 19:32:23 -0700 IronPort-SDR: vQRWNCVDcle5lSEu333HddFY9p8VgJ/RffMe3JJk9lr5ZkrR/WfFplg1/3lkpuewNC/PXVy2BY C2joXhQc7LJA== X-IronPort-AV: E=Sophos;i="5.82,221,1613462400"; d="scan'208";a="460818613" Received: from unknown (HELO localhost.localdomain) ([10.240.183.77]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2021 19:32:22 -0700 From: Bo Chen To: dts@dpdk.org Cc: Bo Chen Date: Wed, 14 Apr 2021 10:34:22 +0000 Message-Id: <20210414103422.22388-1-BoX.C.Chen@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1] tests/rxtx_offload: match the feature of CVL 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" CVL only check the received pkt, no need to verify the queue. Signed-off-by: Bo Chen --- tests/TestSuite_rxtx_offload.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py index 0e70526f..647ba59a 100644 --- a/tests/TestSuite_rxtx_offload.py +++ b/tests/TestSuite_rxtx_offload.py @@ -314,6 +314,12 @@ class TestRxTx_Offload(TestCase): scanner = re.compile(result_scanner, re.DOTALL) m = scanner.search(outstring) queue_id = m.group(1) + + # When rx_offload if configured, cvl will reset the relevant function. + # So we only check the received pkt, not the queue. + if 'columbiaville' in self.nic: + self.verify("Queue" in outstring, "the offload setting doesn't take effect.") + return self.verify(int(expect_queue) == int(queue_id), "the offload setting doesn't take effect.") def start_tcpdump(self, rxItf): -- 2.31.1