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 35591A0561; Tue, 21 Apr 2020 05:32:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2BEEC1D64D; Tue, 21 Apr 2020 05:32:15 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 10B5D1D5B9 for ; Tue, 21 Apr 2020 05:32:12 +0200 (CEST) IronPort-SDR: XouwZchLJZEbxUPFhIb9o0Q2fvSifvrdY7HLR9BGJEmbXXEU5dKxBJ4h2J59OzpRe4gvdj1FLF 5gGWZIt31h0w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2020 20:32:12 -0700 IronPort-SDR: mxvJGiMl6dA7EoXVK/gDZ0UOGl8Rh+WLViZ7t8vGY6dc3Ypz2R0P4AgVK+Y7UQCXNOYy59oIgM riizSFxyKl4A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,408,1580803200"; d="scan'208";a="365209127" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga001.fm.intel.com with ESMTP; 20 Apr 2020 20:32:12 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Apr 2020 20:32:11 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.22]) with mapi id 14.03.0439.000; Tue, 21 Apr 2020 11:32:08 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1]pvp_virtio_user_2M_hugepages: trex can't received pkts with its self mac addr as src mac Thread-Index: AQHWFxHwhlT3xGh+T0W0ZD3J0sg9qaiC7LbQ Date: Tue, 21 Apr 2020 03:32:07 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0DB5E@SHSMSX101.ccr.corp.intel.com> References: <1587386480-218770-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1587386480-218770-1-git-send-email-qimaix.xiao@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]pvp_virtio_user_2M_hugepages: trex can't received pkts with its self mac addr as src mac 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 Xiao Qimai > Sent: Monday, April 20, 2020 8:41 PM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts] [PATCH V1]pvp_virtio_user_2M_hugepages: trex can't receive= d > pkts with its self mac addr as src mac >=20 > *. remove pci of virtio side and change fwd mode to mac >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_pvp_virtio_user_2M_hugepages.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_pvp_virtio_user_2M_hugepages.py > b/tests/TestSuite_pvp_virtio_user_2M_hugepages.py > index ac7187c..71df7d5 100644 > --- a/tests/TestSuite_pvp_virtio_user_2M_hugepages.py > +++ b/tests/TestSuite_pvp_virtio_user_2M_hugepages.py > @@ -140,9 +140,10 @@ class TestPVPVirtioWith2Mhuge(TestCase): > """ > testcmd =3D self.dut.target + "/app/testpmd " > vdev =3D 'net_virtio_user0,mac=3D00:11:22:33:44:10,path=3D./vhos= t- > net,queues=3D1' if not packed else > 'net_virtio_user0,mac=3D00:11:22:33:44:10,path=3D./vhost- > net,queues=3D1,packed_vq=3D1' > - eal_params =3D > self.dut.create_eal_parameters(cores=3Dself.core_list_virtio_user, no_pci= =3DTrue, > prefix=3D'virtio-user', ports=3D[self.pci_info], vdevs=3D[vdev]) > + eal_params =3D > self.dut.create_eal_parameters(cores=3Dself.core_list_virtio_user, no_pci= =3DTrue, > prefix=3D'virtio-user', vdevs=3D[vdev]) > command_line_user =3D testcmd + eal_params + ' --single-file-seg= ments -- > -i' > self.virtio_user.send_expect(command_line_user, "testpmd> ", 120= ) > + self.virtio_user.send_expect("set fwd mac", "testpmd> ", 120) > self.virtio_user.send_expect("start", "testpmd> ", 120) >=20 > def close_all_apps(self): > -- > 1.8.3.1