[dts] [PATCH] TestSuite_ipv4_reassembly.py: Corrected dest mac address with correct mac
Tu, Lijuan
lijuan.tu at intel.com
Wed Aug 28 12:26:28 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of
> nareddy at marvell.com
> Sent: Monday, August 19, 2019 11:53 AM
> To: dts at dpdk.org
> Cc: fmasood at marvell.com; avijay at marvell.com; Praneeth Reddy
> <nareddy at marvell.com>
> Subject: [dts] [PATCH] TestSuite_ipv4_reassembly.py: Corrected dest mac
> address with correct mac
>
> From: Praneeth Reddy <nareddy at marvell.com>
>
> Corrected dest mac with DUT ports mac address
>
> Signed-off-by: Praneeth Reddy <nareddy at marvell.com>
> ---
> 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
More information about the dts
mailing list