|
|
@@ -867,7 +867,10 @@ it to `0x7E00`. The kernel region itself only has one wall (`_end` below
|
|
|
reads back set while the device still writes legacy descriptors),
|
|
|
`r8168.c`
|
|
|
RTL8111/8168 family, including the RTL8111E on the Gigabyte 970A-DS3P
|
|
|
- (PCIe, polled, C+ mode, 64-entry RX ring), `ne2000.c`
|
|
|
+ (PCIe, polled, C+ mode, 64-entry RX ring; an RX overflow /
|
|
|
+ descriptors-unavailable event only flags `rx_restart_pending`, and the
|
|
|
+ ring is re-armed once the frames already in it were read -- restarting
|
|
|
+ at once discarded up to 64 good frames per overflow), `ne2000.c`
|
|
|
RTL8029 (QEMU/ISA), `asix.c` AX88772 USB Ethernet (bulk over the USB
|
|
|
core, so an EHCI/xHCI dongle is usable) and `rndis.c` USB RNDIS tethering
|
|
|
(Android phones and QEMU `usb-net`; device-level config scan, RNDIS
|
|
|
@@ -2076,6 +2079,12 @@ it to `0x7E00`. The kernel region itself only has one wall (`_end` below
|
|
|
TCP clients do NOT take that lease: `tcp.c` keeps a table of up to
|
|
|
`TCP_CLIENT_MAX` (twelve) connections, one per process, each with its own
|
|
|
receive queue (64 KB preferred, 32/16 KB fallback) and source port.
|
|
|
+ The advertised window is capped by a budget shared by the open client
|
|
|
+ connections (`TCP_RX_BUDGET`, 32 full segments split evenly, at least
|
|
|
+ `TCP_RX_FLOOR` = 4 segments each), so parallel downloads (the browser's
|
|
|
+ four module fetches) cannot overrun a small polled RX ring; without it
|
|
|
+ the ION's RTL8112L dropped bursts and the page load stalled on
|
|
|
+ retransmission timeouts.
|
|
|
`TCP_CONNECT/PEER_MSS/SEND/RECV/CLOSE` keep
|
|
|
their ABI and look the connection up by calling pid; `NET_NEXT_HOP`/`NET_ARP`
|
|
|
provide the route to the peer. Every stack syscall drains the NIC through
|
|
|
@@ -2812,7 +2821,9 @@ and the WM falls back to polling (`io_keyboard_irq_masked()`).
|
|
|
sequential apart from the modulepreload pass. `crypto` entropy is the
|
|
|
weak Math.random/clock mix (fine for PKCE nonces, like the TLS DRBG).
|
|
|
On QEMU's NE2000 the four parallel module downloads can overrun its
|
|
|
- small RX ring and stall TLS handshakes into a 10 s timeout; use e1000.
|
|
|
+ small RX ring and stall TLS handshakes into a 10 s timeout; use e1000
|
|
|
+ (the shared receive-window budget in `tcp.c` limits, but does not
|
|
|
+ rule out, such overruns).
|
|
|
`DOMParser` and `document.implementation.createHTMLDocument` return an
|
|
|
inert detached document (its nodes live in the page arena; markup goes
|
|
|
through the innerHTML fragment parser, split at `<head>`/`<body>`),
|