opnsense-src/sys/dev/cxgbe
John Baldwin 314cb27995 mbuf: Don't force all M_EXTPG mbufs to be read-only
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
2024-10-31 16:32:31 -04:00
..
common cxgbe: handle vlan PF restrictions 2024-06-17 23:42:08 +02:00
crypto newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
cudbg sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
cxgbei mbuf: Don't force all M_EXTPG mbufs to be read-only 2024-10-31 16:32:31 -04:00
firmware cxgbe(4): Update firmwares to 1.27.5.0 2024-01-04 12:37:27 -08:00
iw_cxgbe cxgbe/iw_cxgbe: Fail early in some callbacks when the RNIC is stopped. 2024-08-30 08:31:45 -07:00
tom mbuf: Don't force all M_EXTPG mbufs to be read-only 2024-10-31 16:32:31 -04:00
adapter.h cxgbe(4): Allow t4_tom to be unloaded safely. 2024-09-29 17:38:11 -07:00
if_cc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
if_ccv.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
if_cxl.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
if_cxlv.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
offload.h cxgbe/t4_tom: Change stid allocation strategy to be more IPv6 friendly. 2024-10-17 10:40:38 -07:00
osdep.h libkern: add ilog2 macro 2024-06-03 11:37:55 -05:00
t4_clip.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
t4_clip.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_filter.c cxgbe(4): Consolidate all mk_set_tcb_field_ulp in one place. 2024-05-17 15:52:33 -07:00
t4_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
t4_ioctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_iov.c cxgbe: handle vlan PF restrictions 2024-06-17 23:42:08 +02:00
t4_l2t.c cxgbe(4): Stop and restart the L2T allocator with the LLD. 2024-07-21 20:29:26 -07:00
t4_l2t.h cxgbe(4): Stop and restart the L2T allocator with the LLD. 2024-07-21 20:29:26 -07:00
t4_main.c cxgbe(4): Use correct synchronization when marking the adapter offline. 2024-10-07 10:25:53 -07:00
t4_mp_ring.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
t4_mp_ring.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_netmap.c cxgbe: Flush transmitted packets more regularly in netmap mode 2024-07-15 11:26:59 -04:00
t4_sched.c cxgbe(4): sc->port is indexed by port_id and not tx_chan. 2024-05-17 15:42:23 -07:00
t4_sge.c cxgbe(4): Stop work request queues in a reliable manner. 2024-08-17 11:23:32 -07:00
t4_smt.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
t4_smt.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_tracer.c net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
t4_vf.c newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00