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 71DF7A058E; Thu, 26 Mar 2020 07:26:25 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 348232C15; Thu, 26 Mar 2020 07:26:25 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id ACE181AFF for ; Thu, 26 Mar 2020 07:26:23 +0100 (CET) IronPort-SDR: oKrhpnZX+KFIIBD7x+7pWBxCcKVRP0s4RfWGgGBECbCVdLu5FC5y1afxK9YpXIkT4DKv4FZ168 YaQ0AQwIp7ng== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2020 23:26:22 -0700 IronPort-SDR: 8aTzYDn0g7a/M6HMZJvzowPoxeJ1Prc4+cJ744dX1sm1U+S0sro+l15ZYG3ywErk3/Ou0UWcVZ BzoQDlvSV+hA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,307,1580803200"; d="scan'208";a="265768534" Received: from unknown (HELO dpdk-xiaoqimai-tester.sh.intel.com) ([10.240.183.156]) by orsmga002.jf.intel.com with ESMTP; 25 Mar 2020 23:26:21 -0700 From: Zeng Xiaoxiao To: dts@dpdk.org Cc: Zeng Xiaoxiao Date: Thu, 26 Mar 2020 14:25:21 +0800 Message-Id: <1585203921-32480-1-git-send-email-xiaoxiaox.zeng@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1]tests/kernelpf_iavf:fix set vf_multicast on can't recieve packets 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" 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 4ef7d8e..d5b2c7b 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.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: self.vf_mac = "00:01:23:45:67:89" self.dut.send_expect("ip link set %s vf 0 mac %s" % -- 1.8.3.1