summaryrefslogtreecommitdiff
path: root/share/man
Commit message (Collapse)AuthorAgeFilesLines
* wmt(4): Add support for touchpadsVladimir Kondratyev2020-12-231-4/+0
| | | | Obtained from: sysutils/iichid
* Filter TCP connections to SO_REUSEPORT_LB listen sockets by NUMA domainAndrew Gallatin2020-12-191-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to efficiently serve web traffic on a NUMA machine, one must avoid as many NUMA domain crossings as possible. With SO_REUSEPORT_LB, a number of workers can share a listen socket. However, even if a worker sets affinity to a core or set of cores on a NUMA domain, it will receive connections associated with all NUMA domains in the system. This will lead to cross-domain traffic when the server writes to the socket or calls sendfile(), and memory is allocated on the server's local NUMA node, but transmitted on the NUMA node associated with the TCP connection. Similarly, when the server reads from the socket, he will likely be reading memory allocated on the NUMA domain associated with the TCP connection. This change provides a new socket ioctl, TCP_REUSPORT_LB_NUMA. A server can now tell the kernel to filter traffic so that only incoming connections associated with the desired NUMA domain are given to the server. (Of course, in the case where there are no servers sharing the listen socket on some domain, then as a fallback, traffic will be hashed as normal to all servers sharing the listen socket regardless of domain). This allows a server to deal only with traffic that is local to its NUMA domain, and avoids cross-domain traffic in most cases. This patch, and a corresponding small patch to nginx to use TCP_REUSPORT_LB_NUMA allows us to serve 190Gb/s of kTLS encrypted https media content from dual-socket Xeons with only 13% (as measured by pcm.x) cross domain traffic on the memory controller. Reviewed by: jhb, bz (earlier version), bcr (man page) Tested by: gonzo Sponsored by: Netfix Differential Revision: https://reviews.freebsd.org/D21636 Notes: svn path=/head/; revision=368819
* sysctl(9): Fix a few mandoc related issuesGordon Bergling2020-12-191-2/+2
| | | | | | | | | | - missing comma before name: Nm SYSCTL_UQUAD - bad NAME section content: text MFC after: 1 week Notes: svn path=/head/; revision=368798
* ofw_bus_status_okay(9): Fix a few mandoc related issuesGordon Bergling2020-12-191-3/+2
| | | | | | | | | | | - missing comma before name: Nm ofw_bus_status_okay - missing comma before name: Nm ofw_bus_node_status_okay - skipping paragraph macro: Pp after Sh MFC after: 1 week Notes: svn path=/head/; revision=368797
* ofw_bus_is_compatible(9): Fix a few mandoc related issuesGordon Bergling2020-12-191-4/+3
| | | | | | | | | | | | - missing comma before name: Nm ofw_bus_is_compatible_strict - missing comma before name: Nm ofw_bus_node_is_compatible - missing comma before name: Nm ofw_bus_search_compatible - skipping paragraph macro: Pp after Sh MFC after: 1 week Notes: svn path=/head/; revision=368796
* fail(9): Fix a few mandoc related issuesGordon Bergling2020-12-191-3/+9
| | | | | | | | | | - function name without markup: return() - function name without markup: print() MFC after: 1 week Notes: svn path=/head/; revision=368795
* driver(9): Fix a mandoc related issueGordon Bergling2020-12-191-5/+5
| | | | | | | | | - sections out of conventional order: Sh SEE ALSO MFC after: 1 week Notes: svn path=/head/; revision=368794
* bhnd_erom(9): Fix a few mandoc related issuesGordon Bergling2020-12-191-5/+2
| | | | | | | | | | | | | - skipping paragraph macro: Pp before Bl - skipping paragraph macro: Pp after Ss - skipping paragraph macro: Pp at the end of Ss - unusual Xr punctuation: none before bhnd_driver_get_erom_class(9) - unusual Xr punctuation: none before bus_space(9) MFC after: 1 week Notes: svn path=/head/; revision=368793
* bhnd(9): Fix a few mandoc related issuesGordon Bergling2020-12-191-18/+3
| | | | | | | | | | | | - skipping paragraph macro: Pp before Bl - skipping paragraph macro: Pp at the end of Ss - missing section argument: Xr device_set_desc - unusual Xr punctuation: none before bhnd_erom(9) MFC after: 1 week Notes: svn path=/head/; revision=368792
* disk(9): Fix a few mandoc related errorsGordon Bergling2020-12-191-6/+7
| | | | | | | | | | | | | | - function name without markup: g_io_deliver() - function name without markup: disk_gone() - sections out of conventional order: Sh SEE ALSO - referenced manual not found: Xr MAKE_DEV 9 Actually the man page of MAKE_DEV has never existed. MFC after: 3 days Notes: svn path=/head/; revision=368791
* accept_filter(9): Fix a mandoc related errorGordon Bergling2020-12-191-1/+1
| | | | | | | - no blank before trailing delimiter Notes: svn path=/head/; revision=368790
* VFS_QUOTACTL: Remove needless casts of argBrooks Davis2020-12-171-2/+2
| | | | | | | | | | | | | | | The argument is a void * so there's no need to cast it to caddr_t. Update documentation to match function decleration. Reviewed by: freqlabs Obtained from: CheriBSD MFC after: 1 week Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D27093 Notes: svn path=/head/; revision=368744
* Fix f_pkt_into_t typo.Alexander Motin2020-12-171-2/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=368742
* src.conf.5: regen after r368667, GDB retirementEd Maste2020-12-161-6/+1
| | | | Notes: svn path=/head/; revision=368695
* ndis(4): expand deprecation to the whole driverBrooks Davis2020-12-111-1/+1
| | | | | | | | | | | | | | | nids(4) was a clever idea in the early 2000's when the market was flooded with 10/100 NICs with Windows-only drivers, but that hasn't been the case for ages and the driver has had no meaningful maintenance in ages. It only supports Windows-XP era drivers. Reviewed by: imp, bcr MFC after: 3 days Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D27527 Notes: svn path=/head/; revision=368561
* hme(4): Remove as previous announcedBrooks Davis2020-12-115-142/+0
| | | | | | | | | | | | The hme (Happy Meal Ethernet) driver was the onboard NIC in most supported sparc64 platforms. A few PCI NICs do exist, but we have seen no evidence of use on non-sparc systems. Reviewed by: imp, emaste, bcr Sponsored by: DARPA Notes: svn path=/head/; revision=368559
* vnet.9: Use correct location of vnet.h.Navdeep Parhar2020-12-111-2/+2
| | | | | | | | | MFC after: 1 week Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D27557 Notes: svn path=/head/; revision=368557
* src.conf(5): regenerate after WITHOUT_GNU_GREP became defaultKyle Evans2020-12-111-3/+3
| | | | Notes: svn path=/head/; revision=368549
* New Netgraph module ng_macfilter:Nick Hibma2020-12-082-0/+223
| | | | | | | | | | | | | | | Macfilter to route packets through different hooks based on sender MAC address. Based on ng_macfilter written by Pekka Nikander Sponsered by Retina b.v. Reviewed by: afedorov MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D27268 Notes: svn path=/head/; revision=368443
* regen src.conf.5 after r368441, WITHOUT_GDB defaultEd Maste2020-12-081-9/+0
| | | | Notes: svn path=/head/; revision=368442
* src.conf(5): regen after r368439 (WITH_BSD_GREP default)Kyle Evans2020-12-081-7/+3
| | | | Notes: svn path=/head/; revision=368440
* Add missing refcount.9 MLINKSMark Johnston2020-12-071-1/+6
| | | | Notes: svn path=/head/; revision=368413
* Add deprecation notice to mn(4)Ed Maste2020-12-061-1/+7
| | | | | | | | | | | | | | | | | Sync serial (T1/E1) interfaces are largely irrelevant today and phk confirms this driver is unnecessary in review D23928. This leaves ce(4) and cp(4) in the tree. They're likely not relevant either, but glebius contacted the manufacturer and those devices are still available for purchase. At glebius' suggestion leave them in the tree as long as they do not impose a maintenace burden. Approved by: phk MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=368397
* epoch(9): Fix a few mandoc related issuesGordon Bergling2020-12-051-20/+19
| | | | | | | | | - sections out of conventional order: Sh EXAMPLES - sections out of conventional order: Sh SEE ALSO - skipping end of block that is not open: El Notes: svn path=/head/; revision=368368
* ossl: port to arm64Mitchell Horne2020-12-041-2/+4
| | | | | | | | | | | | | | Enable in-kernel acceleration of SHA1 and SHA2 operations on arm64 by adding support for the ossl(4) crypto driver. This uses OpenSSL's assembly routines under the hood, which will detect and use SHA intrinsics if they are supported by the CPU. Reviewed by: jhb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D27390 Notes: svn path=/head/; revision=368350
* Fix typo in kern_testfrwk.9.Navdeep Parhar2020-12-031-1/+1
| | | | Notes: svn path=/head/; revision=368310
* add documentation that the rules need to be reloaded, and how to do it...John-Mark Gurney2020-12-011-2/+9
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=368267
* Fix a couple of typos.John Baldwin2020-12-011-3/+3
| | | | | | | Submitted by: rmacklem Notes: svn path=/head/; revision=368247
* security(7): fix copy/paste error and correct aslr oidsYuri Pankov2020-11-291-3/+3
| | | | | | | | Submitted by: Mina Galić <me_igalic.co> Differential Revision: https://reviews.freebsd.org/D27408 Notes: svn path=/head/; revision=368157
* Add watchdog(9) driver for the Fintek F81803 SuperIO chipPoul-Henning Kamp2020-11-282-0/+68
| | | | Notes: svn path=/head/; revision=368130
* ping: fix some man pages and tests after r368045Alan Somers2020-11-261-2/+2
| | | | | | | MFC-with: r368045 Notes: svn path=/head/; revision=368046
* Add a manpage for kernel TLS.John Baldwin2020-11-253-76/+276
| | | | | | | | | | | | This subsumes some of the content from tcp(4) describing the socket options but also adds additional notes. Reviewed by: gallatin, hselasky Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D27272 Notes: svn path=/head/; revision=368040
* Remove a reference to CRIOGET missed in r368005.John Baldwin2020-11-251-5/+0
| | | | Notes: svn path=/head/; revision=368007
* Remove the cloned file descriptors for /dev/crypto.John Baldwin2020-11-251-22/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Crypto file descriptors were added in the original OCF import as a way to provide per-open data (specifically the list of symmetric sessions). However, this gives a bit of a confusing API where one has to open /dev/crypto and then invoke an ioctl to obtain a second file descriptor. This also does not match the API used with /dev/crypto on other BSDs or with Linux's /dev/crypto driver. Character devices have gained support for per-open data via cdevpriv since OCF was imported, so use cdevpriv to simplify the userland API by permitting ioctls directly on /dev/crypto descriptors. To provide backwards compatibility, CRIOGET now opens another /dev/crypto descriptor via kern_openat() rather than dup'ing the existing file descriptor. This preserves prior semantics in case CRIOGET is invoked multiple times on a single file descriptor. Reviewed by: markj Relnotes: yes Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D27302 Notes: svn path=/head/; revision=368005
* Port rtsx(4) driver for Realtek SD card reader from OpenBSD.Jung-uk Kim2020-11-242-0/+122
| | | | | | | | | | | | | | | This driver provides support for Realtek PCI SD card readers. It attaches mmc(4) bus on card insertion and detaches it on card removal. It has been tested with RTS5209, RTS5227, RTS5229, RTS522A, RTS525A and RTL8411B. It should also work with RTS5249, RTL8402 and RTL8411. PR: 204521 Submitted by: Henri Hennebert (hlh at restart dot be) Reviewed by: imp, jkim Differential Revision: https://reviews.freebsd.org/D26435 Notes: svn path=/head/; revision=367998
* Assorted tweaks to hier(7): punctuation, some .Xr's, clarify wording.Edward Tomasz Napierala2020-11-231-13/+11
| | | | | | | | | | Reviewed by: 0mp, bcr, imp MFC after: 2 weeks Sponsored by: EPSRC Differential Revision: https://reviews.freebsd.org/D27248 Notes: svn path=/head/; revision=367954
* Add lists for customizing legacy and bootstrap-tools.Bryan Drewery2020-11-201-1/+11
| | | | | | | | | Reviewed by: arichardson Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D27200 Notes: svn path=/head/; revision=367910
* Remove parallel SCSI and 1/2Gb FC support from isp(4).Alexander Motin2020-11-202-54/+15
| | | | | | | | | | | | | | | | | | | | | This removes 288KB (36%) of the driver code and zillions of hacks and workarounds, making single driver uniformly support several different generations of hardware interfaces, not counting minor card variations. After years of the hopeless fight, I don't think it worth to continue support for hardware obsolete for 15-20 years. Instead much cleaner now code should allow to move forward toward better locking, multiple queues and other cool features. All the remaining Qlogic cards starting from 4Gb 24xx to 32Gb 27xx use the same hardware/firmware interface with minor incremental improvements, so it seems to be a good new starting point. Except one PCI-X model all all of them are PCIe and so still usable in modern systems. Discussed with: ken, scottl, jpaetzel, imp Relnotes: yes Notes: svn path=/head/; revision=367857
* Add an option for entering KDB on recursive panicsMitchell Horne2020-11-191-1/+11
| | | | | | | | | | | | | | | | | | | | There are many cases where one would choose avoid entering the debugger on a normal panic, opting instead to reboot and possibly save a kernel dump. However, recursive kernel panics are an unusual case that might warrant attention from a human, so provide a secondary tunable, debug.debugger_on_recursive_panic, to allow entering the debugger only when this occurs. For for simplicity in maintaining existing behaviour, the tunable defaults to zero. Reviewed by: cem, markj Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D27271 Notes: svn path=/head/; revision=367848
* Document disk ioctlWarner Losh2020-11-192-0/+211
| | | | | | | | | | | First stab at documenting the different disk ioctl commands defined in sys/disk.h. Reviewed by: phk (prior version) Differential Revision: https://reviews.freebsd.org/D26994 Notes: svn path=/head/; revision=367847
* intro.7: Add missing manual pageDaniel Ebdrup Jensen2020-11-191-1/+25
| | | | | | | | | | | | | Section 7 of the manual pages contain lots of very useful information, but finding the pages is not always obvious - to assist people in finding the information, add missing cross-references. Reviewed by: 0mp (mentor), mhorne, yuripv Approved by: 0mp (mentor Differential Revision: https://reviews.freebsd.org/D27284 Notes: svn path=/head/; revision=367846
* Fix mandoc lint warnings.Nick Hibma2020-11-181-13/+5
| | | | Notes: svn path=/head/; revision=367804
* Add SPDX license tag to the ENA driver filesMarcin Wojtas2020-11-181-1/+3
| | | | | | | | | | | | | | | | | | Refering to guide: https://wiki.freebsd.org/SPDX the SPDX tag should not replace the standard license text, however it should be added over the standard license text to make the automation easier. Because of that, the old license was kept, but the SPDX tag was added on top of every ENA driver file. Submited by: Michal Krawczyk <mk@semihalf.com> Obtained from: Semihalf Sponsored by: Amazon, Inc MFC after: 1 week Differential revision: https://reviews.freebsd.org/D27117 Notes: svn path=/head/; revision=367801
* unix(4): Enhance LOCAL_CREDS_PERSISTENT ABIConrad Meyer2020-11-171-1/+36
| | | | | | | | | | | | | | As this ABI is still fresh (r367287), let's correct some mistakes now: - Version the structure to allow for future changes - Include sender's pid in control message structure - Use a distinct control message type from the cmsgcred / sockcred mess Discussed with: kib, markj, trasz Differential Revision: https://reviews.freebsd.org/D27084 Notes: svn path=/head/; revision=367776
* uplcom: add ATen/Prolific USB-232 Controller D USB IDEd Maste2020-11-171-0/+4
| | | | | | | | | PR: 251166 Submitted by: marcus MFC after: 2 weeks Notes: svn path=/head/; revision=367772
* src.conf.5: regenerate after r367577Ed Maste2020-11-131-1/+10
| | | | | | | INIT_ALL_ZERO / INIT_ALL_PATTERN Notes: svn path=/head/; revision=367649
* Add a missing period and remove a macro from Bl's width argumentMateusz Piotrowski2020-11-121-2/+2
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=367619
* Do not document MOTIFLIB in ports(7)Mateusz Piotrowski2020-11-101-4/+1
| | | | | | | | | | | Perhaps it made sense in 1998 (r32836), but now it feels a bit out of place. We tend to avoid documenting non-essential ports variables in the manual page (we try to document them in the Porter's Handbook instead). MFC after: 1 week Notes: svn path=/head/; revision=367552
* - add more linux socket options (sorted by value)Alexander Leidinger2020-11-081-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - map those IPv4 / IPv6 socket options which exist in FreeBSD + most of them visually verified to have the same type/layout of arguments + not tested with linux programs to behave as intended - be more human readable for known options which are not handled - be more verbose for unhandled socket message flags we know about - print the jail ID in linux_msg if run in a jail - add possibility to print debug message about known missing parts only once - add multiple levels of sysctl linux.debug: 1: print debug messages, tell about unimplemented stuff (only once) 2: like 1, but also print messages about implemented but not tested stuff (only once) 3+: like 2, but no rate limiting of messages - increase default linux debug level from 1 to 3 We are a lot more verbose in as we need to be (e.g. some of the IP socket options which are the same, and share the same memory layout, and are believed to work). The reason is that we have no good testsuite to test those linux-bits. The LTP or other test suites like the python one, are not fully up to the task we need. As such the excessive messages about emulated but not tested socket options. IMO any MFC (possible, but most probably not by me) should set the default debug level to 1. Discussed with: trasz Notes: svn path=/head/; revision=367481
* Add a periodic script to backup output generated from `gmirror list`.Robert Wing2020-11-071-1/+15
| | | | | | | | | | | | | | | Disabled by default. PR: 86388 Submitted by: Miroslav Lachman <000.fbsd@quip.cz> Reviewed by: allanjude, gbe Approved by: allanjude (mentor) MFC after: 4 weeks Event: July 2020 Bugathon Differential Revision: https://reviews.freebsd.org/D25631 Notes: svn path=/head/; revision=367443