From: Heinrich Schuchardt Date: Fri, 6 Oct 2017 20:41:17 +0200 Subject: [U-Boot] [PATCH v2 00/17] efi_loader: Simple Network Protocol In-Reply-To: <7158d50a-d58a-4e27-8e8e-e07f50cc49e7@suse.de> References: <20171005143607.25955-1-xypron.glpk@gmx.de> <7158d50a-d58a-4e27-8e8e-e07f50cc49e7@suse.de> Message-ID: <4dd56743-a65c-e7ed-f083-5d3af2700086@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/06/2017 02:08 PM, Alexander Graf wrote: > > > On 05.10.17 16:35, Heinrich Schuchardt wrote: >> This patch series focuses on >> * correction of parameter types for boot services >> * fixes for the SetMem and CopyMem boot services >> * fixes for the simple network protocol implementation (SNP) >> * a unit test for SetMem, CopyMem and the simple network protocol >> >> The unit test broadcasts a DHCPDISCOVER messager over the network and >> receives the reply. >> >> This patch series is based on >> * efi-next tree >> https://github.com/agraf/u-boot/tree/efi-next >> * [PATCH 1/1] efi_selftest: enable CONFIG_CMD_BOOTEFI_SELFTEST >> https://patchwork.ozlabs.org/patch/816412/ >> This patch enables the unit test on qemu-x86_defconfig >> * [PATCH 1/1] efi_loader: provide function comments for boot services >> https://patchwork.ozlabs.org/patch/817010/ > > Looks quite good to me. I've applied them (with the modification I > suggested), running through tests and will push them to master if nobody > (human or machine) objects within the next 1-2 days. > > > Alex > You moved setting is_signaled to efi_net_push. 181 static void efi_net_push(void *pkt, int len) 182 { 183 new_rx_packet = true; 184 wait_for_packet->is_signaled = true; 185 } The code looks fine to me. The selftest for the Simple Network Protocol correctly receives a DHCP packet. Thank you. I just sent you a fix for efi_st_memcmp: [PATCH 1/1] efi_selftest: efi_st_memcmp return difference of bytes Best regards Heinrich