From patchwork Tue Jun 27 17:16:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 129020 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 5392A42D70; Tue, 27 Jun 2023 11:00:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4C5364113F; Tue, 27 Jun 2023 11:00:39 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 046F640F18 for ; Tue, 27 Jun 2023 11:00:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687856438; x=1719392438; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Zs04PuJBhKM41PAstKdEIuFSFqt3ZMe6t9/IihJbdPA=; b=HJd3OTDmc+RWspeh1vhiIdVnDjXPA3aMTMtQun4h1CN5fup/2mi6mdmY fxFnq37hAC2869iDP1aXK2s248G9xBlEsc9SvsAk0X2g2UCnzda08nhra Zs0nJO/SX0BBKdEyMbwnsS3DMl9X7+Qwd+8GM0PCfBRuc9PweHrR3El0v XJlj76cubhEeu6weCFEnbBYgtBpQzx0vJ5ZqqYwDMF8cALujpU5e/HEw4 yZkEhylpgzjNZIamd5zskNU5S3dMfpbP81H5HBrHAvwS/CKUjpo21+F6F Y+MivvgoWpowg3Iae46pZSybz73ACSRC+OXm1a5U9YpS32Xgy1Cd5F+nz w==; X-IronPort-AV: E=McAfee;i="6600,9927,10753"; a="427518124" X-IronPort-AV: E=Sophos;i="6.01,162,1684825200"; d="scan'208";a="427518124" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2023 02:00:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10753"; a="861047056" X-IronPort-AV: E=Sophos;i="6.01,162,1684825200"; d="scan'208";a="861047056" Received: from unknown (HELO dpdk.sh.intel.com) ([10.239.252.241]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2023 02:00:35 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/ice_dcf_dual_vlan: optimize scripts to support comms DDP Date: Wed, 28 Jun 2023 01:16:34 +0800 Message-Id: <20230627171634.149636-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 creating a rule requires consuming recipe resources. after reloading ice, the remaining recipe resources of comms DDP are less than those of os DDP. therefore, sometimes when using comms DDP, there may be situations where rule creation fails due to insufficient recipe resources. modify the sub use case test sequence to reduce the consumption of recipe resources to support comms DDP. Signed-off-by: Jiale Song --- tests/TestSuite_ice_dcf_dual_vlan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_ice_dcf_dual_vlan.py b/tests/TestSuite_ice_dcf_dual_vlan.py index 9fb42df7..798eb22c 100644 --- a/tests/TestSuite_ice_dcf_dual_vlan.py +++ b/tests/TestSuite_ice_dcf_dual_vlan.py @@ -119,9 +119,9 @@ mac_qinq_ipv6_pay_dest_mac = { } mac_qinq_ipv6_pay = [ + mac_qinq_ipv6_pay_dest_mac, mac_qinq_ipv6_pay_src_ip, mac_qinq_ipv6_pay_dst_ip, - mac_qinq_ipv6_pay_dest_mac, ] mac_qinq_pppoe_pay = [