Re: [PATCH 3/3] efi_selftest: Recieve the packets until the receive buffer is empty

2021-09-16 Thread Masami Hiramatsu
Hi Heinrich, 2021年9月16日(木) 18:29 Heinrich Schuchardt : > > > > On 9/16/21 10:53 AM, Masami Hiramatsu wrote: > > Repeatedly receive the packets until the receive buffer is empty. > > If the buffer is empty, EFI_SIMPLE_NETWORK_PROTOCOL::Receive() > > returns EFI_NOT_READY. We don't need to use the w

Re: [PATCH 3/3] efi_selftest: Recieve the packets until the receive buffer is empty

2021-09-16 Thread Heinrich Schuchardt
On 9/16/21 10:53 AM, Masami Hiramatsu wrote: Repeatedly receive the packets until the receive buffer is empty. If the buffer is empty, EFI_SIMPLE_NETWORK_PROTOCOL::Receive() returns EFI_NOT_READY. We don't need to use the wait_for_event() every time. Why do you want to make the change? Was a

[PATCH 3/3] efi_selftest: Recieve the packets until the receive buffer is empty

2021-09-16 Thread Masami Hiramatsu
Repeatedly receive the packets until the receive buffer is empty. If the buffer is empty, EFI_SIMPLE_NETWORK_PROTOCOL::Receive() returns EFI_NOT_READY. We don't need to use the wait_for_event() every time. Signed-off-by: Masami Hiramatsu --- lib/efi_selftest/efi_selftest_snp.c | 67 +++