From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id AD3F0A046B for ; Tue, 23 Jul 2019 04:53:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7763B1BECB; Tue, 23 Jul 2019 04:53:43 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id C567D1BEB7 for ; Tue, 23 Jul 2019 04:53:41 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Jul 2019 19:53:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,297,1559545200"; d="scan'208";a="196961470" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 22 Jul 2019 19:53:39 -0700 From: "zhang,yan" To: dts@dpdk.org Cc: "zhang,yan" Date: Tue, 23 Jul 2019 10:58:18 +0800 Message-Id: <1563850698-39687-1-git-send-email-yanx.a.zhang@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/TestSuite_vf_vlan:set filter on before add vlan X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" set filter on before add vlan. Otherwise the following error will be reported: ---Port 0: vlan-filtering disabled ---rte_eth_dev_vlan_filter(port_pi=0, vlan_id=4095, on=1) failed diag=-38 Signed-off-by: zhang,yan --- tests/TestSuite_vf_vlan.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py index d0175b3..f50a7e5 100644 --- a/tests/TestSuite_vf_vlan.py +++ b/tests/TestSuite_vf_vlan.py @@ -289,6 +289,7 @@ class TestVfVlan(TestCase): # if you want insert tx_vlan, # please enable rx_vlan at the same time if self.kdriver == "i40e": + self.vm0_testpmd.execute_cmd('vlan set filter on 0') self.vm0_testpmd.execute_cmd('rx_vlan add %d 0' % tx_vlan) self.vm0_testpmd.execute_cmd('stop') self.vm0_testpmd.execute_cmd('port stop all') -- 2.17.2