| 930a790c | 25-Mar-2026 |
Christos Longros <chris.longros@gmail.com> |
rge: make rx_process_limit a sysctl tunable
The number of packets processed per interrupt was hardcoded to 16. Add a per-interface sysctl dev.rge.%d.rx_process_limit tunable so users can adjust this
rge: make rx_process_limit a sysctl tunable
The number of packets processed per interrupt was hardcoded to 16. Add a per-interface sysctl dev.rge.%d.rx_process_limit tunable so users can adjust this value at runtime.
Signed-off-by: Christos Longros <chris.longros@gmail.com>
Reviewed by: ziaee, adrian Differential Revision: https://reviews.freebsd.org/D56014
show more ...
|
| acbf7498 | 22-Feb-2026 |
Christos Longros <chris.longros@gmail.com> |
rge: log silicon revision during attach
The initial import from OpenBSD contained chip revision printf() calls commented out, as OpenBSD's bare printf() style does not translate to FreeBSD's device_
rge: log silicon revision during attach
The initial import from OpenBSD contained chip revision printf() calls commented out, as OpenBSD's bare printf() style does not translate to FreeBSD's device_printf() idiom. The result is that users cannot distinguish RTL8125 from RTL8125B, RTL8125D_1, RTL8125D_2 etc. via dmesg alone, even though all variants show as '<RTL8125>' from the PCI probe string.
Add proper device_printf() calls including the raw hwrev value, consistent with how re(4) reports chip revisions.
Signed-off-by: Christos Longros <chris.longros@gmail.com>
Reviewed by: zlei, imp, adrian Differential Revision: https://reviews.freebsd.org/D55402
show more ...
|
| d1947d0a | 22-Feb-2026 |
John <john@cybersashi.com> |
rge: correctly free busdma memory / zero things out only if allocated
* Only free busdma memory that was allocated * Don't free tx/rx rings until their buffers have also been freed
PR: kern/293307
rge: correctly free busdma memory / zero things out only if allocated
* Only free busdma memory that was allocated * Don't free tx/rx rings until their buffers have also been freed
PR: kern/293307
Reviewed by: zlei Differential Revision: https://reviews.freebsd.org/D55420
show more ...
|