freebsd-dev/stand
Kyle Evans 3daa8e165c pxeboot: improve and simplify rx handling
This pushes the bulk of the rx servicing into a single loop that's only
slightly convoluted, and it addresses a problem with rx handling in the
process.  If we hit a tx interrupt while we're processing, we'd
previously drop the frame on the floor completely and ultimately
timeout, increasing boot time on particularly busy hosts as we keep
having to backoff and resend.

After this patch, we don't seem to hit timeouts at all on zoo anymore
though loading a 27M kernel is still relatively slow (~1m20s).

Reviewed by:	tsoome
Triage by:	Ash Gokhale <ashfixit gmail com>
Sponsored By:	National Bureau of Economic Research
Sponsored by:	Klara, Inc.
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31512
2021-08-25 21:59:08 -05:00
..
arm Remove obsolete code gated on _ARM_ARCH_* 2021-01-28 10:41:45 +00:00
arm64 No need to make objects here. 2018-04-27 22:15:18 +00:00
common loader: loader_lua can run command_more twice 2021-08-21 21:28:54 +03:00
defaults loader.conf(5): mention "efi" option for "console" parameter 2021-08-01 06:41:49 +08:00
efi amd64 UEFI loader: enable automatic disable of staging area copying 2021-08-25 22:26:52 +03:00
fdt loader: Fix dtb loading 2021-07-05 15:53:08 +02:00
ficl loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
ficl32 Enable veriexec for loader 2019-02-26 06:22:10 +00:00
fonts loader: really use bold font for vga text mode 2021-01-08 01:24:30 +02:00
forth loader: support.4th resets the read buffer incorrectly 2021-07-28 13:50:38 -06:00
i386 pxeboot: improve and simplify rx handling 2021-08-25 21:59:08 -05:00
images loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
kshim Fix build of stand/usb . 2021-04-12 16:13:33 +02:00
liblua EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00
liblua32 Add Lua as a scripting langauge to /boot/loader 2018-02-12 15:31:53 +00:00
libofw Fix 64-bit build of libofw. 2020-09-08 23:22:11 +00:00
libsa libsa: cstyle cleanup of dosfs.c 2021-08-19 17:36:25 +03:00
libsa32 Enable veriexec for loader 2019-02-26 06:22:10 +00:00
lua cli.lua.8: make the command match the code 2021-07-28 20:54:14 -06:00
man loader: Create loader_simp(8) to document simple version of loader 2021-07-14 16:59:51 -06:00
mips Disable PIE for MIPS BERI boot loader 2021-02-25 06:41:35 +01:00
powerpc Disable PIE for powerpc bootloaders. 2021-02-25 00:26:11 +01:00
uboot loader: fix uboot build with gfx_fb 2021-01-03 20:45:37 +02:00
usb Fix build of stand/usb . 2020-01-23 10:40:34 +00:00
userboot loader: cstyle cleanup of userboot/devicename.c 2021-08-11 10:13:46 +03:00
defs.mk stand: Add MK_PIE=no to defs.mk 2021-08-11 11:03:19 -06:00
fdt.mk
ficl.mk EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00
loader.mk stand/common: Add support for timestamp logging (tslog) 2021-06-20 20:09:43 -07:00
lua.mk Do not include float interfaces when using libsa. 2018-02-23 04:04:25 +00:00
Makefile stand: ensure that the efi directory's dependencies are correct 2021-01-27 13:02:51 -06:00
Makefile.amd64 stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
Makefile.inc stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
uboot.mk Unify metadata load files for arm, mips, powerpc, sparc64 2018-02-13 03:44:50 +00:00
veriexec.mk EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00