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 0518CA034F; Tue, 23 Mar 2021 07:47:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C33C04014F; Tue, 23 Mar 2021 07:47:08 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 6B17840143 for ; Tue, 23 Mar 2021 07:47:07 +0100 (CET) IronPort-SDR: kxF2siH7mVUVf2P0HuC1QQF7fPbweHEMevaau+4OD+y/B+MqNH6+rC0rD4ta5Lxlbr4MgMPEmd HWQTJfAolUgw== X-IronPort-AV: E=McAfee;i="6000,8403,9931"; a="177546348" X-IronPort-AV: E=Sophos;i="5.81,271,1610438400"; d="scan'208";a="177546348" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2021 23:47:05 -0700 IronPort-SDR: sH1psqHay/bVi8VOhvBeeHF9EmRRZVzJNjNNXdU/7mztYIttJ4BXdPdUUQtDBlmxaB3ZI5vrV1 jyYS/urQsBmg== X-IronPort-AV: E=Sophos;i="5.81,271,1610438400"; d="scan'208";a="408172678" Received: from unknown (HELO dpdk-wenjielx-tetser203.icx.intel.com) ([10.240.183.105]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2021 23:47:03 -0700 From: sunqin To: dts@dpdk.org Cc: sunqin Date: Tue, 23 Mar 2021 15:11:21 +0000 Message-Id: <20210323151121.11036-1-qinx.sun@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss_gtpu: set vlan id for vf 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" Confirm with developer that the design of dpdk is changed for VF, the VLAN ID needs to be set before VF receives VLAN packets. Signed-off-by: sunqin --- tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py | 5 +++++ 1 file changed, 5 insertions(+) mode change 100755 => 100644 tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py diff --git a/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py b/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py old mode 100755 new mode 100644 index 6490dcbf..cadea5d8 --- a/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py +++ b/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py @@ -7886,6 +7886,11 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase): self.pmd_output.quit() self.launch_testpmd(symmetric=symmetric) self.pmd_output.execute_cmd("start") + self.pmd_output.execute_cmd('vlan set filter on 0') + self.pmd_output.execute_cmd('rx_vlan add 1 0') + self.pmd_output.execute_cmd('rx_vlan add 3 0') + self.pmd_output.execute_cmd('rx_vlan add 5 0') + self.pmd_output.execute_cmd('rx_vlan add 7 0') def test_mac_ipv4_gtpu_ipv4(self): self.switch_testpmd(symmetric=False) -- 2.17.1