<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/cxgbe/cxgbei, 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-04-23T17:05:54Z</updated>
<entry>
<title>pmap_map_io_transient: Use void * instead of vm_offset_t for vaddr array</title>
<updated>2026-04-23T17:05:54Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2026-04-23T17:05:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ec3a0b2a02ee2aa459aa72d751f6670b7f813f31'/>
<id>urn:sha1:ec3a0b2a02ee2aa459aa72d751f6670b7f813f31</id>
<content type='text'>
Effort:		CHERI upstreaming
Reviewed by:	kib
Sponsored by:	AFRL, DARPA
Pull Request:	https://github.com/freebsd/freebsd-src/pull/2068
</content>
</entry>
<entry>
<title>inpcb: retire INP_DROPPED and in_pcbdrop()</title>
<updated>2026-04-12T18:33:07Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2026-04-12T18:33:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=40dbb06fa73cac37d57563c07e55efd0cabbd488'/>
<id>urn:sha1:40dbb06fa73cac37d57563c07e55efd0cabbd488</id>
<content type='text'>
The inpcb flag INP_DROPPED served two purposes.

It was used by TCP and subsystems running on top of TCP as a flag that
marks a connection that is now in TCPS_CLOSED, but was in some other state
before (not a new-born connection). Create a new TCP flag TF_DISCONNECTED
for this purpose.

The in_pcbdrop() was a TCP's version of in_pcbdisconnect() that also sets
INP_DROPPED.  Use in_pcbdisconnect() instead.

Second purpose of INP_DROPPED was a negative lookup mask in
inp_smr_lock(), as SMR-protected lookup may see inpcbs that had been
removed from the hash.  We already have had INP_INHASHLIST that marks
inpcb that is in hash.  Convert it into INP_UNCONNECTED with the opposite
meaning.  This allows to combine it with INP_FREED for the negative lookup
mask.

The Chelsio/ToE and kTLS changes are done with some style refactoring,
like moving inp/tp assignments up and using macros for that.  However, no
deep thinking was taken to check if those checks are really needed, it
could be that some are not.

Reviewed by:		rrs
Differential Revision:	https://reviews.freebsd.org/D56186
</content>
</entry>
<entry>
<title>chore: replace {0, 0} with {DEV,KOBJ}METHOD_END</title>
<updated>2026-02-25T05:59:34Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2026-02-21T06:14:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0fc6c3f731a2cca3120798806c330a3081c9424b'/>
<id>urn:sha1:0fc6c3f731a2cca3120798806c330a3081c9424b</id>
<content type='text'>
Both of the aforementioned macros have been present in FreeBSD
for well over a decade: 2009 for `KOBJMETHOD_END`; 2011 for
`DEVMETHOD_END`.

Adapt all hardcoded references of `{0, 0}` with `DEVMETHOD_END`
and `KOBJMETHOD_END` as appropriate. This helps ensure that
future adaptations to drivers following patterns documented
in driver(9) can be made more easily/without issue.

MFC after:	1 week
Differential Revision:	 https://reviews.freebsd.org/D55414
</content>
</entry>
<entry>
<title>cxgbe: Move send_iscsi_flowc_wr to t4_tom.ko</title>
<updated>2025-09-29T15:19:11Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-09-29T14:52:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=35b883ccf36521a46ba1cd959c144328cce223c5'/>
<id>urn:sha1:35b883ccf36521a46ba1cd959c144328cce223c5</id>
<content type='text'>
Rename the function to send_txdataplen_max_flowc_wr to match the
parameter it sets.  This function will be reused by other ULP modules.

MFC after:	3 days
Sponsored by:	Chelsio Communications
</content>
</entry>
<entry>
<title>cxgbe: Refactor find_offload_adapter and move to t4_tom from cxgbei</title>
<updated>2025-09-29T15:19:11Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-09-29T14:50:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c341048373ac6d4bad6dccc63880ff3f326ba15f'/>
<id>urn:sha1:c341048373ac6d4bad6dccc63880ff3f326ba15f</id>
<content type='text'>
This allows it to be used for other offload drivers.

MFC after:	3 days
Sponsored by:	Chelsio Communications
</content>
</entry>
<entry>
<title>cxgbe tom: Halve the size of offload transmit software descriptors</title>
<updated>2025-09-11T21:10:39Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-09-11T21:10:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5a38857684907c52982787dbac2c5e5c8abfd4f8'/>
<id>urn:sha1:5a38857684907c52982787dbac2c5e5c8abfd4f8</id>
<content type='text'>
Use bitfields to pack tx_credits and plen into a single 32-bit word.

Reviewed by:	np
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D47759
</content>
</entry>
<entry>
<title>mbuf: Don't force all M_EXTPG mbufs to be read-only</title>
<updated>2024-10-31T20:32:31Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2024-10-31T20:32:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=314cb279959b08811543612a715e47266f685c7b'/>
<id>urn:sha1:314cb279959b08811543612a715e47266f685c7b</id>
<content type='text'>
Some M_EXTPG mbufs are read-only (e.g. those backing sendfile
requests), but others are not.  Add a flags argument to
mb_alloc_ext_pgs that can be used to set M_RDONLY when needed rather
than setting it unconditionally.  Update mb_unmapped_to_ext to
preserve M_RDONLY from the unmapped mbuf.

Reviewed by:	gallatin
Differential Revision:	https://reviews.freebsd.org/D46783
</content>
</entry>
<entry>
<title>cxgbe(4): Stop checking for failures from malloc/mb_alloc_ext_pgs(M_WAITOK)</title>
<updated>2024-09-03T10:25:26Z</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2024-09-03T10:25:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=955b380365af174b3d35905b7b8afae97506a0bd'/>
<id>urn:sha1:955b380365af174b3d35905b7b8afae97506a0bd</id>
<content type='text'>
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D45852
</content>
</entry>
<entry>
<title>cxgbe(4): Changes to ULD list management.</title>
<updated>2024-07-19T16:12:49Z</updated>
<author>
<name>Navdeep Parhar</name>
<email>np@FreeBSD.org</email>
</author>
<published>2024-07-06T20:43:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cf5e6370f15cffabbbf508083ba7d48ec8abfa79'/>
<id>urn:sha1:cf5e6370f15cffabbbf508083ba7d48ec8abfa79</id>
<content type='text'>
* Convert t4_uld_list to an array.  There will be at most 3 items in the
  list and it's simpler to track them in an array with a fixed slot for
  each ULD.
* There is no need to refcount ULDs so stop doing that.
* Add uld_ prefix to all members of uld_info.
* Rename async_event to uld_stop to match its actual purpose.  Call it
  for all ULDs and not just ULD_IWARP.

Reviewed by:	jhb
MFC after:	1 week
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D46029
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-16T17:54:36Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=685dc743dc3b5645e34836464128e1c0558b404b'/>
<id>urn:sha1:685dc743dc3b5645e34836464128e1c0558b404b</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</content>
</entry>
</feed>
