editors/gedit: Update to 48.2
Update to 48.2
libxml2 is no longer needed, so remove it from USE_GNOME [truckman]
PR: 289487
MFH: 2025Q4
(cherry picked from commit e0e416cea1df300c32ca17bc062e00b1d2a1ace8)
vmimage.subr: Fix NO_ROOT build in ..._rmcache
When doing a NO_ROOT build we can't run pkg inside a chroot, for
multiple reasons including not having /dev mounted.
MFC after: 6 hours
Sponsored by: https://www.patreon.com/cperciva
15.0: Add ALPHA5 to schedule
Due to ongoing pkgbbase work, I'm adding ALPHA5 to the schedule. We will
hopefully have BETA1 next week.
With hat: re (cperciva)
Sponsored by: https://www.patreon.com/cperciva
cxgbe: Permit multiple handlers for CPL6_FW_PLD
Currently this CPL is only used to handle replies from lookaside
crypto requests submitted by ccr(4). However, in the future this
request will be returned for other requests. Use the low bit in the
cookie field as a way to identify replies to ccr(4) vs other use
cases. This should be safe as 'struct cryptop' pointers should be
word-aligned.
Sponsored by: Chelsio Communications
(cherry picked from commit 96469647bce10132408db9b436dae8941356453b)
cxgbe: Use partial GCM mode for partial TLS records on T7
T7's crypto co-processor adds a new partial GCM mode. This permits an
AES-GCM operation to be split into multiple requests. After each
request, the partial GHASH state is returned to the host and must be
included in the subsequent request to continue the GHASH computation.
Make use of this when sending a TLS record that spans multiple TCP
"request" (where a request can use TSO to span multiple segments).
This permits computing the final GHASH value across multiple requests
without having to re-send the entire TLS record for the final request.
To ensure that intermediate GHASH results are available when needed,
mbuf chains are queued in the TLS pcb and only dispatched one at a
time to the NIC TXQ. Packets which do not request a GHASH result
queue the next mbuf from the connection as soon as they are written
into the TXQ. Packets which do request a GHASH result queue the next
mbuf after the the GHASH result is returned by a message on a NIC RXQ.
[15 lines not shown]
cxgbe TOE TLS: Better support for partial records for T7.
T7 is able to start TOE TLS receive offload more cleanly if a partial
TLS record containing a full header and at least one other byte has
been received. In that case it is able to request the remaining bytes
for the current TLS record from the NIC. Once those bytes has been
received TLS receive offload can then be received starting with the
subsequent record.
Sponsored by: Chelsio Communications
(cherry picked from commit 1e9849415ff9ed958d63bc7e5128c39e991933d2)
cxgbe: Extend NIC TLS to support TLS 1.3.
One unusual quirk is that the crypto engine requires the driver to
provide an 8 byte placeholder as input before the AAD that is replaced
with the middle 8 bytes of the nonce generated from the sequence
number and key context.
Sponsored by: Chelsio Communications
(cherry picked from commit 5b9dc22c91068e206fb6cc18ee0cef27067223df)
cxgbe mp_ring: Add mp_ring_enqueue_only
Unlike mp_ring_enqueue, this function is meant to be called from
within a drain routine to enqueue more packets to the queue currently
being drained. To avoid recursion, it only enqueues additional items
without becoming a consumer.
Sponsored by: Chelsio Communications
(cherry picked from commit 96054b97b418d1ff2b781e9e23cc86a79d91909a)
cxgbe: Support for TLS 1.3 in key contexts.
For TLS 1.3 the 4 byte salt field has been extended to hold the 12
byte nonce.
Sponsored by: Chelsio Communications
(cherry picked from commit 6154961e2e4c7e1d998f4c9e22c5370d17edb160)
ccr: Support T7.
- Use expanded channel ID fields (2 bits vs 1 bits), even on T6 as on
T6 the extra bits were previously reserved and the channel IDs should
only be 0 or 1 on T6.
- Set CMDMORE in ULP_TX_PKT on T7.
Sponsored by: Chelsio Communications
(cherry picked from commit 8bc9d3089314635572accfe31a4a56afcc299bab)
cxgbe: Support for NIC KTLS transmit on T7 adapters.
Unlike NIC KTLS support on T6, T7 is able to reuse the existing TSO
functionality directly, including trimming the output of the crypto
engine before it is passed on to TSO. This is much simpler and does
not require the use of bypass pseudo-connections in the TOE engine.
Among other things this permits arbitrary TCP options (including the
full range of possible TCP timestamp values) while also avoiding
various edge cases where parts of a requested TCP packet could not
always be transmitted (e.g. partial trailers). This implementation
also permits NIC KTLS to be used in parallel with TOE.
This version does not yet support connections over a VF (specifically
the ktls_tunnel_packet function needs to handle the VF work request),
nor does it support VxLAN offload.
Sponsored by: Chelsio Communications
(cherry picked from commit 4f272a5ef3d8073940e7719401d1e8de2de6100a)
cxgbe: Refactor find_offload_adapter and move to t4_tom from cxgbei
This allows it to be used for other offload drivers.
Sponsored by: Chelsio Communications
(cherry picked from commit c341048373ac6d4bad6dccc63880ff3f326ba15f)
cxgbe: Move the STAG and PBL memory pool arenas to the base driver
Both RDMA (iw_cxgbe) and NVMe offloads use TPT table entries to map
transaction tags in incoming PDUs to buffers in host memory permitting
direct placement of received data into host memory buffers avoiding
copies (iSCSI offload uses a different scheme for mapping tags to host
memory). Move the vmem arenas for the supporting card memory regions
from iw_cxgbe to the main driver so they can be shared with the NVMe
offload driver. In addition, add some helper routines for
constructing work requests to update TPT table entries.
Sponsored by: Chelsio Communications
(cherry picked from commit 19d9a9b15178ed7cfe3f463f43e28cce13fc4f94)
cxgbe: Move send_iscsi_flowc_wr to t4_tom.ko
Rename the function to send_txdataplen_max_flowc_wr to match the
parameter it sets. This function will be reused by other ULP modules.
Sponsored by: Chelsio Communications
(cherry picked from commit 35b883ccf36521a46ba1cd959c144328cce223c5)
cxgbe(4): Support for T7 tracing filters
These are the filters that can be used to sniff wire traffic after all
hw offloads.
Sponsored by: Chelsio Communications
(cherry picked from commit 3203b1a110c890e7b407a83fa3d65b4ba711e59d)
cxgbe(4): Updates for T7 CIM multicore operation
T7 has a multicore microprocessor and each core has its own queue
configuration, inbound/outbound queues, and logic analyzer. A work
request involving a tid can only be handled on queues where
(tid & tid_qid_sel_mask) == (eq->cntxt_id & tid_qid_sel_mask).
Sponsored by: Chelsio Communications
(cherry picked from commit 3d76a4feeead2bbda7792a3c4ca534fd4c159721)