<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/rge, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-03-25T01:27:14Z</updated>
<entry>
<title>rge: make rx_process_limit a sysctl tunable</title>
<updated>2026-03-25T01:27:14Z</updated>
<author>
<name>Christos Longros</name>
<email>chris.longros@gmail.com</email>
</author>
<published>2026-03-25T01:27:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=930a790c2abb3680a3449a1f9ce2eff2be7acc36'/>
<id>urn:sha1:930a790c2abb3680a3449a1f9ce2eff2be7acc36</id>
<content type='text'>
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 &lt;chris.longros@gmail.com&gt;

Reviewed by:	ziaee, adrian
Differential Revision:	https://reviews.freebsd.org/D56014
</content>
</entry>
<entry>
<title>rge: handle interface flags changes</title>
<updated>2026-03-25T01:22:52Z</updated>
<author>
<name>Brad Smith</name>
<email>brad@comstyle.com</email>
</author>
<published>2026-03-25T01:22:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f7fd4e79fa0943446aa5900147f737a70c73d9e3'/>
<id>urn:sha1:f7fd4e79fa0943446aa5900147f737a70c73d9e3</id>
<content type='text'>
Handle interface flags like other drivers do.

Reviewed by:	zlei, adrian
Differential Revision:	https://reviews.freebsd.org/D55728
</content>
</entry>
<entry>
<title>rge: use C style comments instead of C++</title>
<updated>2026-03-15T20:10:59Z</updated>
<author>
<name>Christos Longros</name>
<email>chris.longros@gmail.com</email>
</author>
<published>2026-03-15T20:09:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9976cff55e8897f74d970567e61512103216cf58'/>
<id>urn:sha1:9976cff55e8897f74d970567e61512103216cf58</id>
<content type='text'>
FreeBSD style(9) mandates C style comments. The initial import from
OpenBSD left several C++ style // comments in if_rge.c and if_rgevar.h.
Replace them with proper /* */ comments.

Also fix a malformed comment that mixed // with a closing */.

Signed-off-by: Christos Longros &lt;chris.longros@gmail.com&gt;

Reviewed by:	adrian
Differential Revision:	https://reviews.freebsd.org/D55743
</content>
</entry>
<entry>
<title>rge: log silicon revision during attach</title>
<updated>2026-02-22T18:07:37Z</updated>
<author>
<name>Christos Longros</name>
<email>chris.longros@gmail.com</email>
</author>
<published>2026-02-22T18:06:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=acbf7498f5e11b00ffcd6c12bdb8bd1eddeb6d7f'/>
<id>urn:sha1:acbf7498f5e11b00ffcd6c12bdb8bd1eddeb6d7f</id>
<content type='text'>
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 '&lt;RTL8125&gt;' 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 &lt;chris.longros@gmail.com&gt;

Reviewed by:	zlei, imp, adrian
Differential Revision:	https://reviews.freebsd.org/D55402
</content>
</entry>
<entry>
<title>rge: correctly free busdma memory / zero things out only if allocated</title>
<updated>2026-02-22T18:07:34Z</updated>
<author>
<name>John</name>
<email>john@cybersashi.com</email>
</author>
<published>2026-02-22T18:06:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d1947d0a1a55f905e5ed076d46d4f75a00c6f823'/>
<id>urn:sha1:d1947d0a1a55f905e5ed076d46d4f75a00c6f823</id>
<content type='text'>
* 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
</content>
</entry>
<entry>
<title>rge: fix callout setup/teardown; handle invalid ethernet address</title>
<updated>2026-02-22T18:07:29Z</updated>
<author>
<name>John</name>
<email>john@cybersashi.com</email>
</author>
<published>2026-02-22T18:06:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d5ca52182e522a192d0c8fbdaa438f50e200082f'/>
<id>urn:sha1:d5ca52182e522a192d0c8fbdaa438f50e200082f</id>
<content type='text'>
* Do the callout init early; since some of the teardown path expects
  the callout to be valid

* Handle an invalid ethernet address by generating a local one.

PR:	kern/293307

Reviewed by:	zlei
Differential Revision:	https://reviews.freebsd.org/D55419
</content>
</entry>
<entry>
<title>if_rge: sync with up to date OpenBSD code</title>
<updated>2026-02-04T06:29:10Z</updated>
<author>
<name>Brad Smith</name>
<email>brad@comstyle.com</email>
</author>
<published>2026-02-04T06:25:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3f3cc6fd69e4e3abf6b48c242e93b650c00451c1'/>
<id>urn:sha1:3f3cc6fd69e4e3abf6b48c242e93b650c00451c1</id>
<content type='text'>
e574c2d36cbcacf2556088879be336775e80154b
Add support for RTL8125D revision 0x6890000

Reviewed by:	adrian
Differential Revision:	https://reviews.freebsd.org/D54922
MFC after: 2 weeks
</content>
</entry>
<entry>
<title>if_rge: sync with up to date OpenBSD code</title>
<updated>2026-01-07T02:27:09Z</updated>
<author>
<name>Brad Smith</name>
<email>brad@comstyle.com</email>
</author>
<published>2026-01-07T02:24:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5d73fca1f4b2bac8833e2b9233fa496059dab745'/>
<id>urn:sha1:5d73fca1f4b2bac8833e2b9233fa496059dab745</id>
<content type='text'>
a0b4d9e5bd63984bc3ad25b7f2881741e0d73980
Add support for RTL8126 chip revision 0x64a00000 from Carl Henriksson.
While here, update and add microcode for the RTL8126 chipset variant.

46810ff569a9416642fc5f8e86501028008a2e95
For RTL8125, there's no need to check whether RGE_CMD_STOPREQ has been
completed.  As with other chip variants, RGE_CMD_STOPREQ never acknowledges
completion.

5729fb17b5eeba56781da0b5c0525c198c5c2cd8
remove duplicate RGE_PHYSTAT_5000MBPS test

Reviewed by:	adrian
Differential Revision:	https://reviews.freebsd.org/D54517
Obtained from:	OpenBSD
</content>
</entry>
<entry>
<title>if_rge: Add PNP info for module</title>
<updated>2025-12-16T15:50:30Z</updated>
<author>
<name>Olivier Cochard</name>
<email>olivier@FreeBSD.org</email>
</author>
<published>2025-12-16T15:50:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cce603cfca773c61f3e17ea38575f4ba0557792d'/>
<id>urn:sha1:cce603cfca773c61f3e17ea38575f4ba0557792d</id>
<content type='text'>
Add PNP info so the module can be matched by devmatch(8) and automatically
loaded.

Reviewed by:	adrian
Approved by:	adrian
Differential Revision:	https://reviews.freebsd.org/D54254
</content>
</entry>
<entry>
<title>if_rge: initial import of if_rge driver from OpenBSD.</title>
<updated>2025-12-15T02:00:09Z</updated>
<author>
<name>Adrian Chadd</name>
<email>adrian@FreeBSD.org</email>
</author>
<published>2025-12-06T05:26:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4bf8ce037dc8fa699be87350bb6467f1b74cb96d'/>
<id>urn:sha1:4bf8ce037dc8fa699be87350bb6467f1b74cb96d</id>
<content type='text'>
This is an initial import of the if_rge driver from OpenBSD
and adapted to FreeBSD.

Differential Revision:	https://reviews.freebsd.org/D54101
</content>
</entry>
</feed>
