1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-30 08:19:09 +00:00
Commit Graph

295564 Commits

Author SHA1 Message Date
Richard Scheffenegger
7dc78150c7 tcp: refactor cwnd during SACK transmissions to allow TSO
Refactoring of cwnd and moving the adjustment for SACKed data into
tcp_output() - cwnd tracking the maximum extent starting at snd_una -
allows both SACK loss recovery as well as SACK transmissions after
RTO during slow start and if allowed, the use of TSO while in loss
recovery.

Reviewed By:		tuexen, cc, #transport
Sponsored by:		NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D43470
2024-10-29 19:04:12 +01:00
Ruslan Bukin
72ae04c733 vmm: fix vcpu atomic load
Load vcpu with acquire semantics as we are making a critical code
section between creating vcpu and using it.

Tested on risc-v only.

Pointed out by:	markj
Reviewed by: jhb, markj
Differential Revision: https://reviews.freebsd.org/D47306
2024-10-29 16:19:49 +00:00
Florian Walpen
14457cf7d6 snd_hdsp(4): Add sysctls to select analog signal levels.
RME HDSP 9632 sound cards support different sensitivity levels at the
analog input, and different gain levels for the analog line and phones
outputs. Expose these settings as sysctl tunables.

Tested on hardware:
  - Phones output volume changes according to sysctl setting (caution,
    still extremely loud).
  - Create loop to feedback the line output to line input.
  - Iterate through input signal levels and observe volume changes in
    recorded audio.
  - Iterate through output signal levels and observe volume changes in
    recorded audio.

Reviewed by: br, christos
Differential Revision: https://reviews.freebsd.org/D47330
2024-10-29 16:15:58 +00:00
Mark Johnston
218f80226b libarchive tests: Re-enable a broken test
It passes and so appears to have been silently fixed at some point.

PR:		240683
MFC after:	1 week
2024-10-29 15:11:28 +00:00
Mark Johnston
2352336ad9 geom_flashmap: Rename the kernel module
Absent a linker.hints, if a module dependency exists on disk, the loader
will automatically load it.  That is, if something depends on module
foo, and foo.ko exists, we'll load foo.ko even though the linker hints
file is missing.  It's a bit of a hack but it's handy.

This breaks with geom_flashmap though, since it's geom_flashmap.ko on
disk but the module is called g_flashmap.  However, pretty much every
other GEOM module is given a "geom_" prefix, so for consistency's sake
alone, it seems nice to rename the module.

PR:		274388
Reviewed by:	jhb
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D47311
2024-10-29 15:11:12 +00:00
Mark Johnston
4a7c6d6206 pf: Fix handling of v6 loopback connections with pf syncookies enabled
The SYN|ACK generated by pf needs to inherit M_LOOP from the original
SYN, otherwise it gets dropped by ip6_input().

Fix this by adding an mbuf_flags argument to pf_build_tcp() that can be
used to set both M_SKIP_FIREWALL and M_LOOP as needed.  Set M_LOOP on
the output mbuf if it was generated in response to an mbuf with M_LOOP
set.

Add a regression test case.  The v4 case had no problems, but the v6
case fails without this change.

Reviewed by:	kp
MFC after:	1 month
Sponsored by:	Klara, Inc.
Sponsored by:	Zenarmor
Differential Revision:	https://reviews.freebsd.org/D47257
2024-10-29 15:01:20 +00:00
Baptiste Daroussin
2775b9b0bc nuageinit: add support for OpenStack network config
Add naive support for openstack network config.
if no config driver have been found, try to detect that we are running a
VM on openstack via the smbios information, use the first iface
available and temporary activate dhcp on it, to be able to fetch the
necessary informations for cloudinit.

While here make the rc script execute after devmatch, some ethernet
device might be attached via devmatch and may be needed for cloudinit.

Tested on OVHCloud Public Cloud.

MFC after:	3 weeks
Sponsored by:	OVHCloud
2024-10-29 14:23:47 +01:00
Mark Johnston
207ab5f4f1 rc.d/opensm: Only install when MK_OFED_EXTRA is set
opensm itself is only installed when MK_OFED_EXTRA is set, so it only
makes sense for the same to be true of the rc script.

PR:		257646
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D47313
2024-10-29 13:01:00 +00:00
Zhenlei Huang
5ec83c660a sysctl: Add flags to filter jail prison and vnet variables
So users do not have to contact the source code to tell whether a
variable is a jail prison / vnet one or not.

Reviewed by:	cy (previous version), markj, jamie (for #jails)
MFC after:	2 weeks
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D47107
2024-10-29 19:26:11 +08:00
Andrew Turner
d652801574 bus: Fix the non-debug build
We read the rman type twice. Replace the second call to rman_get_type
with the value we already have.

Reported by:	bapt, Herbert J. Skuhra <herbert@gojira.at>
Sponsored by:	Arm Ltd
2024-10-29 11:06:57 +00:00
Andrew Turner
60344d7e09 arm64: Use the common activate function in nexus
For non-memory and non-ioport spaces use the common
bus_generic_rman_activate_resource function in the arm64 nexus. We
can't currently use it for memory types as it doesn't support
non-posted memory.

Reviewed by:	jhb
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D47283
2024-10-29 10:31:37 +00:00
Andrew Turner
c85855a72d bus: Activate INTRNG interrupts in common code
We need to call into INTRNG to activate all interrupts on platforms that
use it.  Currently, interrupts are only activated in the nexus drivers for
INTRNG platforms, but this does not handle other bus devices such as
gpiobus that manage their own IRQ space.

Reported by:	cperciva
Reviewed by:	cperciva, jhb
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D47282
2024-10-29 10:31:37 +00:00
Eric Joyner
f377a0c7df
ice: Update to 1.43.2-k
- Add extra time while waiting for an EMPR to finish on E830 and E825C
  devices
- Fix debug mask sysctl help message
- Handle EAGAIN error messages from the Get Link Status AQ command by
  retrying them several times
- Handle the condition where E830 extended temperature SKUs can have the
  chip initialize without the PHY subsystem being ready due to very low
  temperatures; the driver will print out a message when this happens
- Fix inability to set link speed using the advertise_speed sysctl when
  link is down and the link_active_on_if_down sysctl is set to 0
- Fix issue where VLANs would not properly be set back up after a
  hardware reset (e.g. PF reset) (Thanks jacob.e.keller@intel.com)

Signed-off-by: Eric Joyner <erj@FreeBSD.org>

Tested by:	Jeffrey Pieper <jeffrey.e.pieper@intel.com>
MFC after:	2 days
Relnotes:	yes
Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D46951
2024-10-28 16:17:19 -07:00
Eric Joyner
440addc642
ice: Update to 1.42.5-k
- Removes duplicate E825C printout
- Fixes a package download issue with E830
- Updates mentions of E830-XXV to E830-L
- Fix FW logging on load issue by limiting the setting of FW log masks
  and other global configuration to just the first PF of the controller
- Update ice_hw_autogen.h with timesync registers (unused in this
  driver)
- Fix possible overflow condition in NVM access function
- Blocks RDMA load on E830 devices

Signed-off-by: Eric Joyner <erj@FreeBSD.org>

Tested by:	Jeffrey Pieper <jeffrey.e.pieper@intel.com>
MFC after:	2 days
Relnotes:	yes
Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D46950
2024-10-28 16:17:18 -07:00
Eric Joyner
f2635e844d
ice: Update to 1.42.1-k
Summary:
- Adds E830 device support
- Adds pre-release E825C support (for the Ethernet device included in
  an upcoming Xeon D platform)
- Add sysctl for E810 devices to print out PHY debug statistics (mostly
  for FEC debugging)
- Adds per-TX-queue tso counter sysctl to count how many times a TSO offload
  was requested for a packet, matching other Intel drivers
- Various bug fixes

Signed-off-by: Eric Joyner <erj@FreeBSD.org>

Tested by:	Jeffrey Pieper <jeffrey.e.pieper@intel.com>
MFC after:	2 days
Relnotes:	yes
Sponsored by:	Intel Corporation
Differential Revisison:	https://reviews.freebsd.org/D46949
2024-10-28 16:17:18 -07:00
ScottD
f2daf89954 cxgb(4): Register ifmedia callbacks before ether_ifattach.
This prevents a panic that occurs if netlink tries to invoke the
driver's media callbacks during ifattach.

PR:		282374
Reported by:	ScottD <biscuits.carry.0j@icloud.com>
MFC after:	3 days
2024-10-28 16:10:05 -07:00
Eric Joyner
f9a039060e
ice_ddp: Update to 1.3.41.0
Primarily adds support for E830 devices, unlocking all of their
functionality.

As well, update the README and remove the non-FreeBSD sections
from it.

Signed-off-by: Eric Joyner <erj@FreeBSD.org>

MFC after:	2 days
Sponsored by:	Intel Corporation
2024-10-28 15:55:25 -07:00
Warner Losh
73979b7f0b camcontrol: Bump timeout to get size of drive
When the system is very busy, and the ATA hard disk drives are
overloaded due to reading dodgy sectors, it can take several seconds to
drain the NCQ set of commands to send this command to the drive. Up the
timeout from 5s to 10s out of an abundance of caution, but also to allow
monitioring software that uses camcontrol identify to not fail
needlessly.

Sponsored by:		Netflix
2024-10-28 16:43:25 -06:00
Doug Moore
b02d6a6b5a pctrie: reduce code duplication in PCTRIE_INSERT_*
The four flavors of PCTRIE_INSERT inline functions share a few lines
of code. Extract that code into a new function and invoke it from the
others to reduce code duplication. No behavior change expected.

Reviewed by:	bnovkov
Differential Revision:	https://reviews.freebsd.org/D47288
2024-10-28 16:42:47 -05:00
Mateusz Piotrowski
a5ad360ff9 rc: Remove rc_fast_and_loose
The rc_fast_and_loose variable allowed rc(8) to start services
by sourcing them into rc's own shell environment. Normally, each rc
service script is started by being sourced into its own subshell
instead.  The feature was meant to speed up rc(8) by avoiding the extra
forking necessary to spawn subshells.

In practice, the feature has been broken for a long time now. One of the
reasons is that some rc service scripts call the exit builtin to return
non-zero error codes, which not only terminates the service subshell
but also rc(8) when rc_fast_and_loose is enabled. For example,
a system running any of the supported FreeBSD releases
with rc_fast_and_loose=yes would abort rc(8) as early as rc.d/hostid,
due to an "exit 0".

Fixing rc_fast_and_loose support would require rewriting some rc scripts
to support being sourced directly into rc(8) process. This would muddy
the code base and also would prove difficult to maintain long term
as this is simply not how rc(8) users write scripts. The potential
performance benefits are unlikely to be significant even for use cases
such as Morello under qemu.

Instead, remove support for rc_fast_and_loose completely from rc(8)
and inform users about the change.

PR:		282255
Reviewed by:	brooks, christos, mhorne
Approved by:	christos (mentor), markj (mentor)
MFC after:	2 weeks
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D47264
2024-10-28 22:10:49 +01:00
Warner Losh
10c429016a stand: Ugly hack due to default change
So this is a gross hack to fix the 'noclean' build since we changed to
text-only loader. We have to fix it in a better way, but for the moment,
this will fix non-meta no-clean builds. A better hack is to fix this so
we build either vidconsole.c or textvidc.c, but some minor refactoring
and variable renaming is needed.

Fixes:			23dee252da
Sponsored by:		Netflix
2024-10-28 13:51:53 -06:00
Li-Wen Hsu
7937bfbc0c
mac_do(4): Enhance GID rule validation to check all groups in cr_groups
Previously, the rule validation only checked the primary GID (cr_gid).
This caused issues when applying GID-based rules, as users with matching
secondary groups were not considered valid. This patch modifies both
functions to iterate through all groups in cr_groups to ensure all group
memberships are considered when validating GID-based rules.

For example, a user's primary group is staff (20) and they are also in
the wheel (0) group, this change allows the rule gid=0:any to enable
them to run commands as any user.

Reviewed by:	delphij (earlier version), bapt
Differential Revision:	https://reviews.freebsd.org/D47304
2024-10-29 02:58:12 +08:00
Alan Somers
7200d90644 ktls.4: note that security/gnutls now supports ktls
[skip ci]

PR:		278083
MFC after:	2 weeks
Sponsored by:	ConnectWise
Reviewed by:	diizzy
Differential Revision: https://reviews.freebsd.org/D47310
2024-10-28 12:36:10 -06:00
Dimitry Andric
f3457ed942 Tentatively merge llvm fix for buildworld WITH_ASAN
Building world using WITH_ASAN results in an assertion when compiling
certain source files referencing ifuncs:

  Assertion failed: (isa<Function>(Callee) || isa<GlobalAlias>(Callee)), function analyzeAllUses, file /root/freebsd/contrib/llvm-project/llvm/lib/Analysis/StackSafetyAnalysis.cpp, line 514.

This was already reported upstream a while ago, in
<https://github.com/llvm/llvm-project/issues/87923>, but now there is
finally a candidate fix, which seems trivial so I am importing it right
away.

Reported by:	markj
PR:		280936
Pull Request:	https://github.com/llvm/llvm-project/pull/113841
MFC after:	3 days
2024-10-28 18:34:58 +01:00
Dimitry Andric
b8c3dd46bb Fix gcc unused value warnings in FreeBSD zfs_prop.c
With gcc we are seeing the following -Werror warnings:

  /workspace/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd.h:53:33: error: statement with no effect [-Werror=unused-value]
     53 | #define simd_stat_init()        0
        |                                 ^
  /workspace/src/sys/contrib/openzfs/module/zcommon/zfs_prop.c:1092:9: note: in expansion of macro 'simd_stat_init'
   1092 |         simd_stat_init();
        |         ^~~~~~~~~~~~~~
  /workspace/src/sys/contrib/openzfs/module/zcommon/zfs_prop.c: In function 'zcommon_fini':
  /workspace/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/simd.h:54:33: error: statement with no effect [-Werror=unused-value]
     54 | #define simd_stat_fini()        0
        |                                 ^
  /workspace/src/sys/contrib/openzfs/module/zcommon/zfs_prop.c:1100:9: note: in expansion of macro 'simd_stat_fini'
   1100 |         simd_stat_fini();
        |         ^~~~~~~~~~~~~~

Both `simd_stat_init()` and `simd_stat_fini()` are defined in the
FreeBSD specific version of `simd.h`:

  #define	simd_stat_init()	0
  #define	simd_stat_fini()	0

These should both be defined as `do {} while (0)` instead, similar to
other macros in this file.

Reviewed by:	mav, tsoome (upstream)
Obtained from:	https://github.com/openzfs/zfs/pull/16693
MFC after:	3 days
Differential Revision:	<https://reviews.freebsd.org/D47297>
2024-10-28 18:34:58 +01:00
Stefan Eßer
f35ccf46c7 flua: lposix: add fnmatch function
The fnmatch function matches a string against a shell-style filename
pattern. It is a complex function and cannot easily be implenented
using regular expressions. Adding fnmatch to flua increases the amd64
binary by less than 1 KB.

Approved by:	markj
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D46849
2024-10-28 16:31:08 +01:00
Graham Percival
b74aaa1a21 manuals: Fix dates
These were reported by `mandoc -T lint ...` as warnings.

Signed-off-by:	Graham Percival <gperciva@tarsnap.com>
Reviewed by:	mhorne
MFC after:	3 days
Sponsored by:	Tarsnap Backup Inc.
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1475
2024-10-28 12:26:03 -03:00
Graham Percival
759ddb4d24 manuals: Misc syntax fixes
These were reported by `mandoc -T lint ...` as errors.

Signed-off-by:	Graham Percival <gperciva@tarsnap.com>
Reviewed by:	mhorne, Alexander Ziaee <concussious.bugzilla@runbox.com>
Sponsored by:	Tarsnap Backup Inc.
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1472
2024-10-28 12:26:03 -03:00
Mark Johnston
abfd031b48 camcontrol: Plug a memory leak in getdevtree()
PR:		275338
MFC after:	1 week
2024-10-28 15:14:36 +00:00
Mark Johnston
01c738cd5c if_tuntap: Enable MEXTPG support
Fix tunread() to use m_mbuftouio() instead of manually copying (which
doesn't work for unmapped mbufs).

Reviewed by:	jhb, gallatin
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D47295
2024-10-28 15:14:36 +00:00
Mark Johnston
2bbfbf80d3 if_bridge: Mask MEXTPG if some members don't support it
Similar to how the network stack needs to use mb_unmapped_to_ext() to
convert mbufs before passing them to an unsupported driver, if_bridge
needs to avoid passing M_EXTPG mbufs to interfaces that don't support
them.  Thus, clear IFCAP_MEXTPG on the bridge if any member interfaces
don't handle unmapped mbufs.

PR:		278245
Reviewed by:	jhb, gallatin
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D47294
2024-10-28 15:14:21 +00:00
Mark Johnston
878ede1a0d fstyp: Fix some memory safety bugs
In the hammer2 label reader, make sure to check for a NULL return from
read_buf().

In the NTFS label reader,
- Avoid an infinite loop if a record length is 0.
- Avoid walking past the end of the buffer.
- When a label is found, avoid reading past the end of the buffer.

PR:		278281
Reviewed by:	emaste
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D47292
2024-10-28 15:03:53 +00:00
Bjoern A. Zeeb
2ac644317e iwlwifi,rtw88,rtw89: connect to build again
Sponsored by:	The FreeBSD Foundation
Fixes:		f0b989348f (revert)
MFC after:	14 days
2024-10-28 14:42:37 +00:00
Bjoern A. Zeeb
6d67aabd63 rtw89: update Realtek's rtw89 driver.
This adds support for the Realtek 8922AE PCI
wireless network (Wi-Fi 7) adapter.

This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
98f7e32f20d28ec452afb208f9cffc08448a2652 ( tag: v6.11 ).

Sponsored by:   The FreeBSD Foundation
MFC after:	14 days
2024-10-28 14:42:36 +00:00
Bjoern A. Zeeb
11c53278a8 rtw88: update Realtek's rtw88 driver.
This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
98f7e32f20d28ec452afb208f9cffc08448a2652 ( tag: v6.11 ).

Sponsored by:   The FreeBSD Foundation
MFC after:      14 days
2024-10-28 14:42:32 +00:00
Bjoern A. Zeeb
a4128aad85 iwlwifi: update Intel's iwlwifi/mvm driver.
This version is based on
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
98f7e32f20d28ec452afb208f9cffc08448a2652 ( tag: v6.11 ).

Sponsored by:	The FreeBSD Foundation
MFC after:	14 days
2024-10-28 14:42:25 +00:00
Bjoern A. Zeeb
7b43f4d064 LinuxKPI: 802.11: adjustments for v6.11 iwlwifi, rtw88 and rtw89
Bring in the LinuxKPI 802.11 compat bits which are altering
the mac80211 KPI.

* In struct ieee80211_bss_conf chandef -> chanreq.
* Various struct ieee80211_ops gained a link_id arguemnt,
  stop gained a suspend flag.
* Various functions gained a link_id argument.
* ieee80211_tx_status() was renamed to ieee80211_tx_status_skb()

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
2024-10-28 12:16:06 +00:00
Bjoern A. Zeeb
f0b989348f iwlwifi,rtw88,rtw89: temporary disable build
I tried to use LINUXKPI_VERSION to work out a plan which allows us to
compile linuxkpi_wlan and the LinuxKPI based wireless drivers without
interruption and flip a switch on the go.

I assume, with a lot of extra detours making the linuxkpi_wlan
implementation KPI changes compile time dependent would have been
possible and might be needed in the future.

One problem is that the various drivers currently in main were from
different sources or different hashes of the Linux wireless-testing.git
repository at last and we have no common base to use and
LINUXKPI_VERSION checks seem to slightly overlap.
Pulling drivers from official Linux version releases now will avoid
that problem and keep all drivers on the same KPI level in the future
which should avoid this problem.

The other problem is that the merges from the vendor branches are
independent and so the first merge will need to have the LinuxKPI
changes before but in between the (old) drivers will not compile
(unless linuxkpi_wlan can deal with both KPI versions).

For this time it was simply not possible to align all the changes
and instead we disable building the drivers over the merge window
only not to break intermediate builds.  After LinuxKPI 802.11 was
updated and drivers are merged from vendor branches we will
re-attach them to the build.

Sponsored by:	The FreeBSD Foundation
2024-10-28 12:15:25 +00:00
Bjoern A. Zeeb
ac1d519c01 LinuxKPI: 802.11: adjustments for v6.11 iwlwifi, rtw88 and rtw89
Bring ing the LinuxKPI 802.11 compat bits which are not altering
the mac80211 ops KPI.

* Add various functions for drvier updates.
* Add functions (some compat code to I assume cleanup some
  mac80211 ops) emulating chanctx changes doing (*config) updates.
* Adjust structs and defines.
* Deal with an enum growing more than 32 bits in printf.
* Add a mtx to struct wiphy which is exposed to the drivers.
  Handle initialization and destruction for now.
* Implementation of wiphy_work and wiphy_delayed_work.
* Set was_assoc for deassoc/deauth in prep_tx_info.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
2024-10-28 12:05:06 +00:00
Robert William Vesterman
65691b2daf libexec/rc/rc.d/netif: Typo fix
Just fixing a typo ("configuriing" => "configuring").

MFC after:	3 days
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1484
2024-10-27 20:30:19 -07:00
Gary Bisson
6a7aa5530c if_ffec: fix MAC address bootverbose print
Remove extraneous colon at the end.

MFC after:	3 days
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1479

Signed-off-by: Gary Bisson <gary.bisson@ezurio.com>
2024-10-27 20:27:18 -07:00
Gary Bisson
c222619cd4 if_ffec: fix imx6sx compatible flags
The i.MX 6 SoloX does support Gigabit and AVB features as can be seen in
its technical reference manual [1] or even Linux kernel [2].

Fixes: 94bc2117b4 ("Add i.MX 8M Quad support")

[1] https://www.nxp.com/webapp/Download?colCode=IMX6SXRM
[2]
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/ethernet/freescale/fec_main.c?h=linux-6.6.y#n206

MFC after:	3 days
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1479

Signed-off-by: Gary Bisson <gary.bisson@ezurio.com>
2024-10-27 20:26:50 -07:00
Alexander Ziaee
f4bd011a38 ixl.4 + ice.4: intro sentence for HARDWARE notes
MFC after:	3 days
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1495
2024-10-27 20:18:14 -07:00
Alexander Ziaee
a1d1b9049b liquidio.4: remove extra search keywords
Approved by:	emaste
MFC after:	3 days
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1500
2024-10-27 20:15:17 -07:00
Alan Cox
2001bef84b vm: Eliminate unnecessary lock asserts
There is no actual need for the VM object to be locked when initializing
a VM page iterator.

Reviewed by:	dougm
Differential Revision:	https://reviews.freebsd.org/D47298
2024-10-27 14:03:52 -05:00
Wolfram Schneider
95b17d3b1c mktemp(3): bring the documentation up to date with best practice
Using short temp filenames as /tmp/temp.XXXX (4 or 6 X) was probably ok
20 years ago, but not anymore. Best practice is to use 10 X. Given that our
users often copy & paste examples from our manual pages we need to
update the documentation.

PR: 261437
2024-10-27 16:41:01 +00:00
Wolfram Schneider
93181e3834 mktemp(1): bring the documentation up to date with best practice
Using short temp filenames as /tmp/temp.XXXX (4 or 6 X) was probably ok
20 years ago, but not anymore. Best practice is to use 10 X. Given that our
users often copy & paste examples from our manual pages we need to
update the documentation.

PR: 261437
2024-10-27 16:36:31 +00:00
Michael Tuexen
d08713dcdb sctp: another cleanup
No functional change intended.

MFC after:	3 days
2024-10-27 15:01:45 +01:00
Alexander Ziaee
cadb71e4b0 ix.4: update crossreferences to ixgbe.4
MFC after:	3 days
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1494
2024-10-27 02:07:27 -07:00
Alexander Ziaee
2d28fd51e5 ix.4: describe better
+ add controller name to title for search keywords
- remove "for the freebsd operating system" from title/search keywords
- remove `(R)` from the page title for consistency with other drivers
- increase specificity of HARDWARE for inclusion in Release HW Notes
- order HARDWARE in reverse chronological so non-eol appear first
- s/PCI/PCIe/

MFC after:	3 days
Reported by:	kbowling (additional hardware supported)
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1494
2024-10-27 02:06:53 -07:00