[dts] [PATCH V1] fix hotplug failed case

Liu, Yong yong.liu at intel.com
Fri Aug 25 13:39:18 CEST 2017


Huilong, one comment below.

On 08/25/2017 10:27 AM, xu,huilong wrote:
>       def send_packet(self, port):
>           """
>           Send a packet to port
>           """
> -        self.dmac = self.dut.get_mac_address(self.dut_ports[0])
> -        txport = self.tester.get_local_port(self.dut_ports[0])
> +        self.dmac = self.dut.get_mac_address(self.port)
> +        txport = self.tester.get_local_port(self.port)
>           self.txItf = self.tester.get_interface(txport)
>           pkt = Packet(pkt_type='UDP')

Argument "port" is not used in the function, please remove it if it is 
useless.


More information about the dts mailing list