aboutsummaryrefslogtreecommitdiff
path: root/share/man
Commit message (Collapse)AuthorAgeFilesLines
* nvme: Add APST payload overridingAlexey Sukhoguzov6 hours1-0/+12
| | | | | | | | | | | The apst_data tunable allows APST configuration to be adjusted during controller initialization. It accepts an array of encoded integers, each defining specific transition parameters. Relnotes: YES Signed-off-by: Alexey Sukhoguzov <sap@eseipi.net> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1444
* nvme: Support Autonomous Power State Transition (APST)Alexey Sukhoguzov6 hours1-0/+9
| | | | | | | | | | | APST is an optional NVMe power-saving feature that allows devices to autonomously enter higher non-operational power states after a certain amount of idle time, reducing the controller's overall power consumption. Signed-off-by: Alexey Sukhoguzov <sap@eseipi.net> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1444
* smartpqi: update to version 4660.0.2002John Hall9 hours1-3/+83
| | | | | | | | | | | | This updates the smartpqi driver to Microchip's latest available public release. Reviewed by: imp Approved by: imp Sponsored by: Microchip Technology Inc. Differential Revision: https://reviews.freebsd.org/D52507
* freebsd-base.7: Fix stray -rJuraj Lutter17 hours1-1/+1
| | | | | | | | Remote stray "-r" from the example of installing a toolchain to alternate root. Reviewed by: ivy Differential Revision: https://reviews.freebsd.org/D54611
* pkgbase.7: Show pkg upgrade to apply updatesGraham Perrin21 hours1-1/+1
| | | | | | MFC after: 3 days Reviewed by: ziaee Closes: https://github.com/freebsd/freebsd-src/pull/1945
* cam: Add probes for xpt actionsWarner Losh44 hours2-0/+43
| | | | | | | | | | | | | | cam::xpt:action(union ccb *) cam::xpt:done((union ccb *) cam::xpt:async-cb(void *cbarg, uint32_t async_code, struct cam_path *path, void *async_arg); Called when xpt_action(), xpt_done*() and the xpt async callbacks are called. Sponsored by: Netflix Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D54469
* iflib: Drop tx lock when freeing mbufs using simple_transmitAndrew Gallatin2 days1-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Freeing completed transmit mbufs can be time consuming (due to them being cold in cache, and due to ext free routines taking locks), especially when we batch tx completions. If we do this when holding the tx ring mutex, this can cause lock contention on the tx ring mutex when using iflib_simple_transmit. To resolve this, this patch opportunistically copies completed mbuf pointers into a new array (ifsd_m_defer) so they can be freed after dropping the transmit mutex. The ifsd_m_defer array is opportunistically used, and may be NULL. If its NULL, then we free mbufs in the old way. The ifsd_m_defer array is atomically nulled when a thread is using it, and atomically restored when the freeing thread is done with it. The use of atomics here avoids acquire/release of the tx lock to restore the array after freeing mbufs. Since we're no longer always freeing mbufs inline, peeking into them to see if a transmit used TSO or not will cause a useless cache miss, as nothing else in the mbuf is likely to be accessed soon. To avoid that cache miss, we encode a TSO or not TSO flag in the lower bits of the mbuf pointer stored in the ifsd_m array. Note that the IFLIB_NO_TSO flag exists primarily for sanity/debugging. iflib_completed_tx_reclaim() was refactored to break out iflib_txq_can_reclaim() and _iflib_completed_tx_reclaim() so the that the tx routine can call iflib_tx_credits_update() just once, rather than twice. Note that deferred mbuf freeing is not enabled by default, and can be enabled using the dev.$DEV.$UNIT.iflib.tx_defer_mfree sysctl. Differential Revision: https://reviews.freebsd.org/D54356 Sponsored by: Netflix Reviewed by: markj, kbowling, ziaee
* mrsas.4: Fix devid hex styleMichael Osipov3 days1-1/+1
|
* iflib: document new sysctlsAndrew Gallatin3 days1-0/+10
| | | | | | | | | | Document the new tx related sysctls I've added to iflib in the last few months: tx_reclaim_ticks & tx_reclaim_thresh Sponsored by: Netflix Reviewed by: ziaee Differential Revision: https://reviews.freebsd.org/D54564 MFC after: 3 days
* mrsas.4: Add Fujitsu RAID Controller SAS 6Gbit/s 1GB (D3116)Michael Osipov3 days1-1/+2
| | | | | | | | | | | This is an OEM card from Fujitsu using an LSI SAS2208 ROC controller shipped with many Fujitsu PRIMERGY servers like RX300 S7. Controller description: https://www.fujitsu.com/global/products/computing/servers/primergy/blades/connection/cb-pmod-110426.html Reviewed by: ziaee MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D54566
* mfi(4): Add subvendor and subdevice for Fujitsu RAID Controller SAS 6Gbit/s ↵Michael Osipov3 days1-0/+2
| | | | | | | | | | | | | | 1GB (D3116) This is an OEM card from Fujitsu using an LSI SAS2208 ROC controller shipped with many Fujitsu PRIMERGY servers like RX300 S7. This chip is also recognized by mrsas(4) under the generic name for the controller chip. Controller description: https://www.fujitsu.com/global/products/computing/servers/primergy/blades/connection/cb-pmod-110426.html Reviewed by: ziaee MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D54520
* manuals: Correct some sysctl markupAlexander Ziaee3 days1-29/+29
| | | | | | | | This enables additional searching the manual by sysctl variable. This syntax is standardized in style.mdoc(5). Reported by: bapt MFC after: 3 days
* cxgbe.4: Update for recent HARDWAREAlexander Ziaee3 days1-10/+48
| | | | | | | | | | | | | Adjust document description, description section, and hardware section to include Chelsio T7. Since this driver now supports many generations, order reverse chronologically. Compare language to ice.4 and bnxt.4, the other terabit ethernet drivers. This list of HARDWARE is obtained from the Chelsio prouduct selector. MFC after: 3 days (T7 support shipped with 15.0) Discussed with: jhb, np Differential Revision: https://reviews.freebsd.org/D54276
* jdec_dimm(4): add a reference to smbmsg(8) to jedec_dimm(4) and smbus(4)Johannes Totz7 days2-2/+7
| | | | | | | | | Add a cross reference to smbmsg(8) which is useful for discovering local devices and difficult to find otherwise. PR: 247749 Reviewed by: pauamma@gundo.com Differential Review: https://reviews.freebsd.org/D40839
* depend-cleanup: Force a clean build when options changeDag-Erling Smørgrav9 days1-0/+14
| | | | | | | | | | | | | | | Similar to the build epoch check, cache a list of source options in the object tree, and force a clean build if the cached list does not match the current list, after filtering out options which are known not to affect the build (e.g. CLEAN, TESTS, WARNS). This also adds a DEPEND_CLEANUP option (which defaults to yes unless the CLEAN option is set) which can be used to skip depend-cleanup for faster incremental builds. MFC after: 1 week Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D52011
* Fix typo in tools/build/options/WITH_REPRODUCIBLE_PATHSDimitry Andric11 days1-4/+4
| | | | Fixes: faeaa25f5624
* cpuctl.4: Formatting nitsAlexander Ziaee11 days1-1/+6
| | | | | | + Align ioctl list + Pad code examples + Tag spdx license identifier MFC after: 3 days
* genet.4: Only for AArch64 + tag spdxAlexander Ziaee11 days1-1/+4
| | | | MFC after: 3 days
* LinuxKPI: 802.11: add compat.linuxkpi.80211.IF.dump_stas_queuesBjoern A. Zeeb12 days1-1/+8
| | | | | | | | | | Extend the normal compat.linuxkpi.80211.IF.dump_stas sysctl by queue information. This was helpful for debugging various issues, like selecting the outbound queue, stopping queues for BAR and helped finding multiple bugs. Sponsored by: The FreeBSD Foundation MFC after: 3 days
* man pages: provide some description for extended errorsKonstantin Belousov12 days1-1/+15
| | | | | | | | | , related functions, and the EXTERROR_VERBOSE environment variable. Reviewed by: emaste, mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54380
* exterror.9: describe formatting of optional argumentsKonstantin Belousov12 days1-0/+10
| | | | | | | Reviewed by: emaste, mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54380
* locking.9: Tweak the table column width to fit 80 charactersZhenlei Huang12 days1-7/+7
| | | | | | | | | While here, add some white spaces to improve the readability of source code. Reviewed by: ziaee, #manpages MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54121
* kernel: MK_REPRODUCIBLE_PATHS for full paths vs /usr/srcWarner Losh13 days1-1/+8
| | | | | | | | | | | | | | | | | | | | | | There are many environments that you do not want the paths to be canonicalized. For example, if I always build a product from a specific path in a jail that's dependent on the product version, I don't want that to be sanitized to /usr/src because when I have profiling tools run against multiple kernels, I can't do A/B testing and results processing if everything points to /usr/src (sadly, the profiling tools cannot remap back to the original like gdb can). Since we need both active at the same time, symbloic link fallbacks don't work. We do want the rest of the build to be reproducible, however. We'll get the same binaries if we rebuild later since we always rebuild with the same path. Turn them both on for maximum reproduction for environments where that cannot be guaranteed. Sponsored by: Netflix Input from: emaste, ivy Differential Revision: https://reviews.freebsd.org/D52959
* vt.4: Remove Xr to nonexistent vidcontrol(8)Ed Maste13 days1-1/+0
| | | | | PR: 291985 Fixes: a8740ba860bf ("vt.4: Document increasing scrollback size")
* linprocfs.4: Improve docs around pid/self entriesMichael Osipov2025-12-261-4/+4
| | | | | | | | | Mark <pid> as a placeholder and document that self is a symlink to a directory. PR: 283080 Reviewed by: ziaee MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D54358
* src.conf: Add WITH_LLVM_LINK_STATIC_LIBRARIES build knobDimitry Andric2025-12-231-1/+8
| | | | | | | | | | | | | | | | | | | | | In commit 2e47f35be5dc libllvm, libclang and liblldb were converted into private shared libraries. This allowed clang, lld, lldb, and other llvm tools to be linked against these shared libraries, which makes them smaller and avoids duplication. However, this also comes at the cost of some performance, since the dynamic libraries are quite large, and contain lots of long symbols (mangled C++ identifiers). Add a WITH_LLVM_LINK_STATIC_LIBRARIES build knob that can be used to go back to the previous behavior: libllvm, libclang and liblldb are built as internal static libraries, i.e. only available during buildworld, and fully linked into the various executables such as clang, lld, etc. PR: 287447 Reviewed by: emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D50956
* udl.4: Tweak HARDWARE for hardware release noteAlexander Ziaee2025-12-231-21/+40
| | | | Fixes: 97fa62708f67 (udl.4: Consolidate HARDWARE and add HISTORY)
* udl.4: Consolidate HARDWARE and add HISTORYAlexander Ziaee2025-12-231-7/+15
| | | | | | | | | Some of the information needed for the HARDWARE section was the entire DESCRIPTION section, so merge the two. While here, add the HISTORY of this driver, add "driver" to the document description matching other drivers, and tag the SPDX license identifier for mechanical parsing. MFC after: 3 days
* cdce.4: Add RTL8153 to HARDWAREAlexander Ziaee2025-12-231-1/+3
| | | | Fixes: 1b1fb628a1af (Quirk Realtek RTL8153 to config#1)
* cdce.4: Minor polishAlexander Ziaee2025-12-231-15/+20
| | | | | | | + Tag spdx license identifier + Fix "e.g.,"s to quiet linter + Remove useless Nd quoting + Put example in EXAMPLES MFC after: 3 days
* usr.bin: Remove intrinsic utilitiesDag-Erling Smørgrav2025-12-191-22/+16
| | | | | | | | | | | | | | | | | These utilities can only function correctly if implemented as shell builtins and exist only because POSIX previously required them. As of POSIX 2024, they have all been reclassified as intrinsic utilities and are no longer required to exist in PATH. We can therefore retire them. Cf. XBD 1.7, XRAT C.1.8, Austin Group bug 854. Note that kill(1) is also considered an intrinsic utility (because only the shell can interpret job IDs correctly), but we have a working standalone implementation, which we will keep. PR: 291686 Relnotes: yes Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D54239
* vtnet: expose features via sysctl treeMichael Tuexen2025-12-191-1/+3
| | | | | | | | | | | Right now the 64-bit flags field needs to be casted to a 32-bit field, because clang warns if more than 32-bits are used. Once clang is fixed, this restriction will be removed and more bits will be added. Reviewed by: markj, Timo Völker MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54288
* printf.9: Support more than 32 bits in %bMichael Tuexen2025-12-191-7/+18
| | | | | | | | | | This will be usable after clang has been extended to accept length modifiers for %b when compiling kernel code. But we need FreeBSD to support it first... Reviewed by: markj, Timo Völker MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54286
* printf.9: fix styleMichael Tuexen2025-12-181-2/+1
| | | | | | | Follow the style described by style.9. Reported by: markj MFC after: 1 week
* vmem.9: provide a reference to libuvmem(3)Konstantin Belousov2025-12-181-0/+3
| | | | | Sponsored by: The FreeBSD Foundation MFC after: 3 days
* aq(4): Add man pageEd Maste2025-12-182-0/+57
| | | | | | | Reviewed by: ziaee Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53840
* vtnet.4: put each sentence on its own lineMichael Tuexen2025-12-181-1/+2
| | | | | | Reported by: ziaee Fixes: e3a0571ad74d ("vtnet: expose flags via sysctl tree") MFC after: 1 week
* vtnet: expose flags via sysctl treeMichael Tuexen2025-12-181-1/+3
| | | | | | | | | Provide the flags used for a vtnet interface via the sysctl tree. This is mostly used for debugging purposes. Reviewed by: Timo Völker MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54283
* if_rge: fix typo in man pageStefan Eßer2025-12-181-2/+2
| | | | | | | Fix the list of devices supported by the driver: RTL8125 occured twice, should have been RTL8127 in one case. Approved by: adrian
* bpf: add BIOCGETIFLIST ioctl that returns all available tap pointsGleb Smirnoff2025-12-151-1/+26
| | | | Differential Revision: https://reviews.freebsd.org/D53873
* src.conf.5: regen documenting WITH_IPFILTER_IPFSBrooks Davis2025-12-151-1/+5
|
* if_rge: initial import of if_rge driver from OpenBSD.Adrian Chadd2025-12-152-0/+166
| | | | | | | This is an initial import of the if_rge driver from OpenBSD and adapted to FreeBSD. Differential Revision: https://reviews.freebsd.org/D54101
* Cross-reference all of uart(4), tty(4) and termios(4)Poul-Henning Kamp2025-12-144-3/+37
| | | | | Add a BUGS subsection about why, in the vain hope that somebody improves the situation.
* cam: Reduce overly long timeout values for initial device probingWarner Losh2025-12-111-1/+33
| | | | | | | | | | | | | | | | | | | | | | | Currently, we have very long timeouts for the initial probing commands. However, these are not appropriate for modern (post 2010) SCSI disks. Sandards since SPC3 state that these commands should not wait for media access. Since we retry them several times during the initial bus scan, these delays can delay the boot by minutes (5 minutes per errant disk in our expereince). These delays don't help and only hurt, so reduce the TESTUNITREADY, INQUIRY and MODESENSE commands (during the initial probe). Provide sysctl/tuneables to change the time for these and also the REPORTLUNS commands for people that might need to adjust them for devices that violate this belief but none-the-less work with longer timeouts. kern.cam.tur_timeout (default was 60s, now 1s) kern.cam.inquiry_timeout (default was 60s, now 1s) kern.cam.reportluns_timeout (default is 60s) kern.cam.modesense_timeout (default was 60s, now 1s) This can be partially merged: the sysctls can, but the new defaults likely shouldn't. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D52427
* bnxt.4: Adjust for recent HARDWAREAlexander Ziaee2025-12-111-10/+23
| | | | | | | | | | + Adjust document description matching another terabit driver + Add BCM576XX family to DESCRIPTION, switch to XX notation + Add some model names, additional models, and improvements to HARDWARE MFC after: 3 days Reviewed by: sumit.saxena_broadcom.com (previous) Differential Revision: https://reviews.freebsd.org/D54028
* nvmf_che: Add a manual page for the Chelsio NVMe/TCP PDU offload driverJohn Baldwin2025-12-092-0/+81
| | | | | Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D53764
* nvmf_tcp.4: Don't quote the document description given to .NdJohn Baldwin2025-12-091-1/+1
| | | | Reported by: ziaee
* man typos: Fix pf.conf.5 and jail.2 typosSeth Hoffert2025-12-081-1/+1
| | | | | | MFC after: 3 days Signed-off-by: Seth Hoffert <seth.hoffert@gmail.com> Closes: https://github.com/freebsd/freebsd-src/pull/1919
* freebsd-base.7: Document the optional setLexi Winter2025-12-051-1/+29
| | | | | | | MFC after: 3 days Reviewed by: ziaee, emaste Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D54065
* Revert "stddef.h: add unreachable() for C23 compliance"Robert Clausecker2025-12-043-95/+3
| | | | | | | | | | | | Seems like a number of ports are *really* unhappy with this new macro. These ports will have to be fixed and the patch reworked to perhaps not affect C++ (see D54041). A general discussion on how we expose new language features may also need to take place. Reported by: many people Approved by: markj (mentor) This reverts commit b381d0980221b476cadbef862a8e5973d675fb7a.