Re: [PATCH] efi_loader: Set EFI_SIMPLE_NETWORK_RECEIVE_INTERRUPT again in efi_net_receive()

2021-09-15 Thread Masami Hiramatsu
Hi Heinrich, 2021年9月15日(水) 10:31 Masami Hiramatsu : > > Hi Heinrich, > > This is obscure in the specification (I can not see any detailed > description about EFI_SIMPLE_NETWORK_RECEIVE_INTERRUPT). OK, I checked the UEFI specification v2.9 again. The main purpose of EFI_SIMPLE_NETWORK.GetStatus()

Re: [PATCH] efi_loader: Set EFI_SIMPLE_NETWORK_RECEIVE_INTERRUPT again in efi_net_receive()

2021-09-14 Thread Masami Hiramatsu
Hi Heinrich, This is obscure in the specification (I can not see any detailed description about EFI_SIMPLE_NETWORK_RECEIVE_INTERRUPT). If EFI_SIMPLE_NETWORK.GetStatus() returns only the hardware interrupt state, it is an useless interface, because it doesn't sync to the status of the packet

Re: [PATCH] efi_loader: Set EFI_SIMPLE_NETWORK_RECEIVE_INTERRUPT again in efi_net_receive()

2021-09-14 Thread Heinrich Schuchardt
On 9/14/21 4:06 AM, Masami Hiramatsu wrote: From: Kazuhiko Sakamoto Since 'this->int_status' is cleared by efi_net_get_status(), if user Is it correct to clear int_status unconditionally in efi_net_get_status()? Shouldn't two consecutive calls to EFI_SIMPLE_NETWORK.GetStatus() return the