qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qemu-s390x] [PATCH v3 1/3] pc-bios/s390-ccw/net: Split up net_load(


From: Farhan Ali
Subject: Re: [qemu-s390x] [PATCH v3 1/3] pc-bios/s390-ccw/net: Split up net_load() into init, load and uninit parts
Date: Wed, 25 Apr 2018 11:51:57 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0



On 04/25/2018 05:08 AM, Thomas Huth wrote:
When we want to support pxelinux-style network booting later, we've got
to do several TFTP transfers - and we do not want to apply for a new IP
address via DHCP each time. So split up net_load into three parts:

1. net_init(), which initializes virtio-net, gets an IP address via DHCP
    and prints out the related information.

2. The tftp_load call is now moved directly into the main() function

3. A new net_release() function which should tear down the network stack
    before we are done in the firmware.

This will make it easier to extend the code in the next patches.

Signed-off-by: Thomas Huth<address@hidden>

You might want to change the commit header "uninit parts" to "release parts" :)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]