| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- missing comma before name: Nm SYSCTL_UQUAD
- bad NAME section content: text
MFC after: 1 week
Notes:
svn path=/head/; revision=368798
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
| |
- function name without markup: return()
- function name without markup: print()
MFC after: 1 week
Notes:
svn path=/head/; revision=368795
|
|
|
|
|
|
|
|
|
| |
- sections out of conventional order: Sh SEE ALSO
MFC after: 1 week
Notes:
svn path=/head/; revision=368794
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
- no blank before trailing delimiter
Notes:
svn path=/head/; revision=368790
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=368742
|
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D27557
Notes:
svn path=/head/; revision=368557
|
|
|
|
| |
Notes:
svn path=/head/; revision=368413
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Notes:
svn path=/head/; revision=368310
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=367619
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The former is intended for use in vmspace_exit(). The latter is to
encourage use of explicit loads rather than relying on the volatile
qualifier. This works better with kernel sanitizers, which can
intercept atomic(9) calls, and makes tricky lockless code easier to read
by not forcing the reader to remember which variables are declared
volatile.
Reviewed by: kib, mjg, mmel
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27056
Notes:
svn path=/head/; revision=367333
|
|
|
|
|
|
|
|
| |
Reviewed by: markj (previous version)
Differential Revision: https://reviews.freebsd.org/D27026
Notes:
svn path=/head/; revision=367274
|
|
|
|
|
|
|
|
|
|
|
|
| |
If you need / want to includerd sys/systm.h, it has to be just after
param.h/types.h. Document this existing practice. Not all kernel files
include systm.h, but when you do, it should be done out of order.
Reviewed by: vangyzen, kib, emaste
Differential Review: https://reviews.freebsd.org/D26981
Notes:
svn path=/head/; revision=367118
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=366970
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=366946
|
|
|
|
| |
Notes:
svn path=/head/; revision=366945
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
classes to add missing error checking.
Reviewed by: imp
MFC after: 2 weeks
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D26658
Notes:
svn path=/head/; revision=366811
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This permits requests (netipsec ESP and AH protocol) to provide the
IPsec ESN (Extended Sequence Numbers) in a separate buffer.
As with separate output buffer and separate AAD buffer not all drivers
support this feature. Consumer must request use of this feature via new
session flag.
Submitted by: Grzegorz Jaszczyk <jaz@semihalf.com>
Patryk Duda <pdk@semihalf.com>
Reviewed by: jhb
Differential revision: https://reviews.freebsd.org/D24838
Obtained from: Semihalf
Sponsored by: Stormshield
Notes:
svn path=/head/; revision=366752
|
|
|
|
|
|
|
|
|
|
|
|
| |
arm64 has a similar wrapper. This permits defining <machine/fpu.h> as
the standard header for fpu_kern_*.
Reviewed by: kib
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D26753
Notes:
svn path=/head/; revision=366672
|
|
|
|
|
|
|
|
|
|
| |
- skipping paragraph macro: Pp after Sh
- sections out of conventional order: Sh EXAMPLES
- whitespace at end of input line
- normalizing date format
Notes:
svn path=/head/; revision=366583
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a simple subsystem that allow drivers to register as a backlight.
Each backlight creates a device node under /dev/backlight/backlightX and
an alias based on the name provided.
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26250
Notes:
svn path=/head/; revision=366369
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For interfaces that do not support SIOCGIFMEDIA (for which there are
quite a few) the only fallback is to query the interface for
if_data->ifi_link_state. While it's possible to get at if_data for an
interface via getifaddrs(3) or sysctl, both are heavy weight mechanisms.
SIOCGIFDATA is a simple ioctl to retrieve this fast with very little
resource use in comparison. This implementation mirrors that of other
similar ioctls in FreeBSD.
Submitted by: Roy Marples <roy@marples.name>
Reviewed by: markj
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D26538
Notes:
svn path=/head/; revision=366230
|
|
|
|
|
|
|
|
|
| |
Reviewed by: jhb
Approved by: jhb
Differential Revision: https://reviews.freebsd.org/D26487
Notes:
svn path=/head/; revision=366123
|
|
|
|
|
|
|
|
|
|
| |
I snagged the license boiler plate. Fix that. also, it's spelled .Va
not .Vn. Plus " quoting issues.
Noticed by: rgrimes, xtouqh at hotmail dot com
Notes:
svn path=/head/; revision=366096
|
|
|
|
| |
Notes:
svn path=/head/; revision=366031
|
|
|
|
|
|
|
|
|
|
|
|
| |
Document the calls to send messages to userland via devctl.
devctl_notify will create a message for the specified system,
subsystem and type, optionally adding additional information.
Reviewed by: bcr
Differential Revision: https://reviews.freebsd.org/D26520
Notes:
svn path=/head/; revision=366027
|
|
|
|
|
|
|
|
|
|
|
| |
This routine centralizes the knowledge needed for properly quoting
'value' in all key="value" items that appear in devctl messages.
Reviewed by: bcr
Differential Revision: https://reviews.freebsd.org/D26520
Notes:
svn path=/head/; revision=366025
|
|
|
|
|
|
|
|
| |
Reviewed by: bcr
Differential Revision: https://reviews.freebsd.org/D26520
Notes:
svn path=/head/; revision=366024
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
An upcoming patch to use the bitset macros for tracking vm page
dump information could conceivably need more than INT_MAX bits.
Expand the bit type to long so that the extra range is available
on 64-bit platforms where it would most likely be needed.
CPUSET_COUNT and DOMAINSET_COUNT are also modified to remain of
type `int`.
Reviewed by: kib, markj
Approved by: scottl (implicit)
MFC after: 1 week
Sponsored by: Ampere Computing, Inc.
Differential Revision: https://reviews.freebsd.org/D26190
Notes:
svn path=/head/; revision=365975
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the getenv_bool() function, to parse a boolean value from a
kernel environment variable or tunable. This works for traditional
boolean values like "0" and "1", and also "true" and "false"
(case-insensitive). These semantics do not yet apply to sysctls declared
using SYSCTL_BOOL with CTLFLAG_TUN (they still only parse 1 and 0).
Also added are two wrapper functions, getenv_is_true() and
getenv_is_false(). These are slightly simpler for callers wishing to
perform a single check of a configuration variable.
Reviewed by: jhb (slightly earlier version)
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D26270
Notes:
svn path=/head/; revision=365945
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One problem with the bus_space_read_N() and bus_space_write_N() family of
functions is that they provide no protection against exceptions which can
occur when no physical hardware or device responds to the read or write
cycles. In such a situation, the system typically would panic due to a
kernel-mode bus error. The bus_space_peek_N() and bus_space_poke_N() family
of functions provide a mechanism to handle these exceptions gracefully
without the risk of crashing the system.
Typical example is access to PCI(e) configuration space in bus enumeration
function on badly implemented PCI(e) root complexes (RK3399 or Neoverse
N1 N1SDP and/or access to PCI(e) register when device is in deep sleep state.
This commit adds a real implementation for arm64 only. The remaining
architectures have bus_space_peek()/bus_space_poke() emulated by using
bus_space_read()/bus_space_write() (without exception handling).
MFC after: 1 month
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D25371
Notes:
svn path=/head/; revision=365899
|
|
|
|
|
|
|
|
|
|
| |
The reference was accidentally deleted in r365855.
Reported by: jhb
Pointy hat to: gbe
Notes:
svn path=/head/; revision=365875
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This lets a VXLAN pseudo-interface take advantage of hardware checksumming (tx
and rx), TSO, and RSS if the NIC is capable of performing these operations on
inner VXLAN traffic.
A VXLAN interface inherits the capabilities of its vxlandev interface if one is
specified or of the interface that hosts the vxlanlocal address. If other
interfaces will carry traffic for that VXLAN then they must have the same
hardware capabilities.
On transmit, if_vxlan verifies that the outbound interface has the required
capabilities and then translates the CSUM_ flags to their inner equivalents.
This tells the hardware ifnet that it needs to operate on the inner frame and
not the outer VXLAN headers.
An event is generated when a VXLAN ifnet starts. This allows hardware drivers to
configure their devices to expect VXLAN traffic on the specified incoming port.
On receive, the hardware does RSS and checksum verification on the inner frame.
if_vxlan now does a direct netisr dispatch to take full advantage of RSS. It is
not very clear why it didn't do this already.
Future work:
Rx: it should be possible to avoid the first trip up the protocol stack to get
the frame to if_vxlan just so it can decapsulate and requeue for a second trip
up the stack. The hardware NIC driver could directly call an if_vxlan receive
routine for VXLAN traffic instead.
Rx: LRO. depends on what happens with the previous item. There will have to to
be a mechanism to indicate that it's time for if_vxlan to flush its LRO state.
Reviewed by: kib@
Relnotes: Yes
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D25873
Notes:
svn path=/head/; revision=365870
|
|
|
|
|
|
|
|
|
|
| |
- whitespace at end of input line
- skipping paragraph macro: Pp after Sh
MFC after: 3 days
Notes:
svn path=/head/; revision=365858
|
|
|
|
|
|
|
|
|
| |
- whitespace at end of input line
MFC after: 3 days
Notes:
svn path=/head/; revision=365857
|
|
|
|
|
|
|
|
|
|
| |
- whitespace at end of input line
- no blank before trailing delimiter: Dv MJUM16BYTES
MFC after: 3 days
Notes:
svn path=/head/; revision=365856
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=365855
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=365854
|
|
|
|
|
|
|
|
|
|
| |
- new sentence, new line
- whitespace at end of input line
MFC after: 3 days
Notes:
svn path=/head/; revision=365853
|
|
|
|
|
|
|
|
|
| |
- new sentence, new line
MFC after: 3 days
Notes:
svn path=/head/; revision=365851
|
|
|
|
|
|
|
|
|
|
|
| |
- new sentence, new line
- no blank before trailing delimiter
- whitespace at end of input line
MFC after: 3 days
Notes:
svn path=/head/; revision=365850
|
|
|
|
|
|
|
| |
clarifying language about the operation of parent tags in templates.
Notes:
svn path=/head/; revision=365707
|
|
|
|
|
|
|
|
|
|
| |
make it clear that filters may not work correctly and that their use
is deprecated.
MFC after: 3 days
Notes:
svn path=/head/; revision=365641
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: Ka Ho Ng <khng300@gmail.com>
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26372
Notes:
svn path=/head/; revision=365553
|