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 1CBF8A046B for ; Mon, 19 Aug 2019 05:52:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E03EEDE3; Mon, 19 Aug 2019 05:52:51 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 02E1323D for ; Mon, 19 Aug 2019 05:52:49 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x7J3oF2K006791 for ; Sun, 18 Aug 2019 20:52:48 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=oql2qg1duc0GxjZGPXf4HL7FfC6S01o+vq2EtdT8+OY=; b=kovYV9xGggjknihT0sSK0Sb5fLTnT0aeJmiqoRPhCzdyaAankN7FH1u9mSEaOUXFFFmP 3/NrmR7wDNtnfWsa4VlknYLYNm4ARhCtept7heAEef48wvEeODd1kjiTAmtB1HHX014B ZTuhwxAw9RAqMvSWvHco+zGzdbQQZQM+pCwfEnDLAw8YI4DbonsnygteJ/ADj9BIvV2D GYb+HCGK4+Zg77iAwa5kmLkCSS5e4LDNKv21THkKo8ycKdRdji1i7TpYzdCSXz+XlA/W jD72hHNgP+PNL97Dq6itwvcsPIpVpEv8s177qd5Ttv5hEb7RGu9nFgvcgksyGM/tQyvp JQ== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2ueexpn36m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Sun, 18 Aug 2019 20:52:48 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 18 Aug 2019 20:52:47 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Sun, 18 Aug 2019 20:52:47 -0700 Received: from localhost.marvell.com (unknown [10.28.10.195]) by maili.marvell.com (Postfix) with ESMTP id 2B9173F703F; Sun, 18 Aug 2019 20:52:45 -0700 (PDT) From: To: CC: , , Praneeth Reddy Date: Mon, 19 Aug 2019 09:22:43 +0530 Message-ID: <1566186763-28687-1-git-send-email-nareddy@marvell.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-08-19_01:2019-08-16,2019-08-19 signatures=0 Subject: [dts] [PATCH] TestSuite_ipv4_reassembly.py: Corrected dest mac address with correct 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" From: Praneeth Reddy Corrected dest mac with DUT ports mac address Signed-off-by: Praneeth Reddy --- tests/TestSuite_ipv4_reassembly.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_ipv4_reassembly.py b/tests/TestSuite_ipv4_reassembly.py index 54412eb..3f33809 100644 --- a/tests/TestSuite_ipv4_reassembly.py +++ b/tests/TestSuite_ipv4_reassembly.py @@ -134,7 +134,7 @@ class TestIpReassembly(TestCase): packet = Ether() / IP() / TCP() / ("X" * self.test_config.payload_size) packet[Ether].src = self.test_config.mac_src - packet[Ether].dst = self.test_config.mac_dst + packet[Ether].dst = self.destination_mac packet[IP].src = src_ip packet[IP].dst = self.test_config.dst_ip packet[IP].id = identifier @@ -366,6 +366,9 @@ class TestIpReassembly(TestCase): self.tester.send_expect('export PS1="# "', '#') self.compile_example_app() + dut_ports = self.dut.get_ports(self.nic) + dut_port = dut_ports[0] + self.destination_mac = self.dut.get_mac_address(dut_port) def test_send_1K_frames_split_in_4_and_1K_maxflows(self): """ -- 1.8.3.1