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 892F4A00BE; Wed, 6 May 2020 08:14:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 67F6C1D6BF; Wed, 6 May 2020 08:14:23 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 2F70C1D6A8 for ; Wed, 6 May 2020 08:14:22 +0200 (CEST) IronPort-SDR: +ds/eEvcC960iMVSpxhyyY++1VQXqXPY4hcYJCGiqOt6H9Ms9BH1oX8bb08ogv+6o3lTgJFHVj k3xbuXUub5yA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2020 23:14:21 -0700 IronPort-SDR: 4iB6NQr8WGyBxPx3U1UWZbcLQ/ei65nmVBxMDyC+GWnwRe9Lco5UNGYJgyS3DcJrlbiZuD2u/n JMjZOAK8ujgg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,358,1583222400"; d="scan'208";a="278123054" Received: from unknown (HELO dpdk-zhushuai-tetser.icx.intel.com) ([10.240.183.103]) by orsmga002.jf.intel.com with ESMTP; 05 May 2020 23:14:18 -0700 From: Zeng Xiaoxiao To: dts@dpdk.org Cc: Zeng Xiaoxiao Date: Wed, 6 May 2020 14:58:02 +0000 Message-Id: <20200506145802.2758-1-xiaoxiaox.zeng@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1]tests/kernelpf_iavf: turn off vlan anti-spoof 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" *.according to the "vlan anti-spoof" rule, spoofchk default on. Signed-off-by: Zeng Xiaoxiao --- tests/TestSuite_kernelpf_iavf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py index 0b96727..5653d42 100644 --- a/tests/TestSuite_kernelpf_iavf.py +++ b/tests/TestSuite_kernelpf_iavf.py @@ -145,6 +145,8 @@ class TestKernelpfIavf(TestCase): self.used_dut_port]['vfs_port'] out = self.dut.send_expect('ethtool %s' % self.host_intf, '#') self.speed = re.findall('Speed: (\d*)', out)[0] + if self.nic.startswith('columbiaville'): + self.dut.send_expect("ip link set %s vf 0 spoofchk off" %(self.host_intf), "# ") if self.running_case == "test_vf_multicast": self.dut.send_expect("ethtool --set-priv-flags %s vf-true-promisc-support on" %(self.host_intf), "# ") if set_vf_mac is True: -- 2.17.1