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 8B960A0562; Tue, 31 Mar 2020 05:06:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8197C1C08C; Tue, 31 Mar 2020 05:06:25 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id DBE902B8B for ; Tue, 31 Mar 2020 05:06:23 +0200 (CEST) IronPort-SDR: kaTQSmNPT6yg9vTI+UKqFPPXCd93Y7JCXzoaEP5xD//UXRcMJtwq/EI2Y+B18EEDk/A0kBKMpB +p20Hxwm4dGQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2020 20:06:23 -0700 IronPort-SDR: N93TnhQd//yQP2Hoeai2OCkwZkR6RLREn2pB4GdsLS3QjBIH7LuJjR0GqEoCOS8LW5dvSr3DSG LYK0LwBho06A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,326,1580803200"; d="scan'208";a="267133870" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga002.jf.intel.com with ESMTP; 30 Mar 2020 20:06:22 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 30 Mar 2020 20:06:22 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 30 Mar 2020 20:06:22 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.191]) with mapi id 14.03.0439.000; Tue, 31 Mar 2020 11:06:19 +0800 From: "Tu, Lijuan" To: "Zeng, XiaoxiaoX" , "dts@dpdk.org" CC: "Zeng, XiaoxiaoX" Thread-Topic: [dts] [PATCH V1]tests/kernelpf_iavf:fix set vf_multicast on can't recieve packets Thread-Index: AQHWAzeFlSxCSe+EoEy3bB5vKz6M36hiDEAQ Date: Tue, 31 Mar 2020 03:06:19 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0352E@SHSMSX101.ccr.corp.intel.com> References: <1585203921-32480-1-git-send-email-xiaoxiaox.zeng@intel.com> In-Reply-To: <1585203921-32480-1-git-send-email-xiaoxiaox.zeng@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zeng Xiaoxiao > Sent: Thursday, March 26, 2020 2:25 PM > To: dts@dpdk.org > Cc: Zeng, XiaoxiaoX > Subject: [dts] [PATCH V1]tests/kernelpf_iavf:fix set vf_multicast on can'= t > recieve packets >=20 > Signed-off-by: Zeng Xiaoxiao > --- > tests/TestSuite_kernelpf_iavf.py | 2 ++ > 1 file changed, 2 insertions(+) >=20 > 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 =3D self.dut.send_expect('ethtool %s' % self.host_intf, '#') > self.speed =3D re.findall('Speed: (\d*)', out)[0] > + if self.running_case =3D=3D "test_vf_multicast": > + self.dut.send_expect("ethtool --set-priv-flags %s vf-true-pr= omisc- > support on" %(self.host_intf), "# ") > if set_vf_mac is True: > self.vf_mac =3D "00:01:23:45:67:89" > self.dut.send_expect("ip link set %s vf 0 mac %s" % > -- > 1.8.3.1