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 900A4A0561; Mon, 20 Apr 2020 14:47:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 61C561D5EE; Mon, 20 Apr 2020 14:47:27 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id D5FA01D5EB for ; Mon, 20 Apr 2020 14:47:25 +0200 (CEST) IronPort-SDR: z2g6yY1rUv5v9clbjeRO9xTkEs38OPHZG2JwFNjN499Mu74J+WhbW5CLR+r+pPvAoWUIXeB02T ci2+mZEq1siw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2020 05:47:24 -0700 IronPort-SDR: cnhG+0EQHGocYSq9EQJpoScZm0bEZP1/4v096Eqfn2c+uCtjonx2uTYmSRGd9ZvDbkVE0UTiy3 fpLiWixN6KkA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,406,1580803200"; d="scan'208";a="273168952" Received: from unknown (HELO xqm-virtio_tester.sh.intel.com) ([10.240.183.52]) by orsmga002.jf.intel.com with ESMTP; 20 Apr 2020 05:47:23 -0700 From: Xiao Qimai To: dts@dpdk.org Cc: Xiao Qimai Date: Mon, 20 Apr 2020 20:41:20 +0800 Message-Id: <1587386480-218770-1-git-send-email-qimaix.xiao@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [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" *. remove pci of virtio side and change fwd mode to mac Signed-off-by: Xiao Qimai --- tests/TestSuite_pvp_virtio_user_2M_hugepages.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = self.dut.target + "/app/testpmd " vdev = 'net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1' if not packed else 'net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1,packed_vq=1' - eal_params = self.dut.create_eal_parameters(cores=self.core_list_virtio_user, no_pci=True, prefix='virtio-user', ports=[self.pci_info], vdevs=[vdev]) + eal_params = self.dut.create_eal_parameters(cores=self.core_list_virtio_user, no_pci=True, prefix='virtio-user', vdevs=[vdev]) command_line_user = testcmd + eal_params + ' --single-file-segments -- -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) def close_all_apps(self): -- 1.8.3.1