xhci: Compute isochronous TBC and TLBPC from the burst size
TBC and TLBPC count bursts of bMaxBurst + 1 packets, but they were
computed from the Mult field, so the TRBs of SuperSpeed endpoints did
not match the endpoint context when bMaxBurst was not zero.
Bits 12:11 of wMaxPacketSize are reserved on SuperSpeed endpoints, so
stop adding them to the packet count, which would otherwise make the
Max Burst Size of the endpoint context disagree with bMaxBurst.
A zero length TD is one packet, so its TLBPC is zero.
Sponsored by: The FreeBSD Foundation
website: Fix color-scheme meta tag and CSS
- site-head.html, cgi-style-responsive.pl: Remove invalid keywords
("system", "high-contrast") from <meta name="color-scheme">, leaving
"light dark".
- main.css: Add "color-scheme: light dark;" to :root so browser UI
elements (scrollbars, form controls, canvas) adapt to dark mode.
website/beastie: Fingerprint minified CSS and JS
Add Hugo fingerprinting and SRI integrity attributes to main.css and
theme-chooser.js in site-head.html so static assets can be served with
immutable caching.
Call .Publish on the un-fingerprinted minified resources as well so
that styles/main.min.css and js/theme-chooser.min.js continue to be
generated for legacy CGI scripts (cgi-style-responsive.pl) deployed on
separate subdomains.
documentation/beastie: Migrate SCSS to plain CSS
Hugo deprecated libsass in v0.153.0 and removed it in v0.170.0 in favor
of an external Dart Sass binary, which is not natively available on
FreeBSD.
The documentation beastie theme did not use any Sass variables, mixins,
or functions—only @import in main.scss and selector nesting in
global.scss and documentation.scss. Migrate the stylesheets to plain
CSS (matching website/themes/beastie):
- Extract @font-face rules from main.scss into fonts.css.
- Flatten nested selectors in global.scss and documentation.scss into
global.css and documentation.css.
- Rename the remaining plain-CSS stylesheets (variables, header,
footer, rouge) from .scss to .css.
- Replace css.Sass in site-head.html with Hugo's built-in
resources.Concat, resources.Minify, and fingerprint (with SRI
integrity).
handbook/network-servers: Update outdated content
Refresh severely outdated port names, software references, configuration
examples, and links across the Network Servers chapter:
- NFS/autofs: Remove obsolete FreeBSD 10.1/amd(8) note, note amd(8)
removal in FreeBSD 13.0 (available via sysutils/am-utils), and fix
/host/foobar/usr typo to /net/foobar/usr.
- NIS: Remove stale hardcoded Table 28.x references and update the
passwd_format example from DES to sha512.
- LDAP: Update to databases/openldap26-server and OpenLDAP 2.6 docs,
raise olcTLSProtocolMin to 3.3 (TLS 1.2), drop removed back_bdb and
back_hdb comments, use base openssl rehash instead of c_rehash, and
change loginShell from /usr/bin/bash to /bin/sh.
- DHCP: Note ISC DHCP upstream EOL and recommend net/kea for new
deployments; update RFC 2131 and ISC links.
- DNS: Update the live drill -S FreeBSD.org DNSSEC trust tree output
and replace removed dns/bind918 with dns/bind920.
- Apache: Standardize apache24 paths, fix SSLProtocol to disable TLS
[10 lines not shown]
toeplitz: Bound the key by its length
toeplitz_hash() takes the length of the key but read RSS_KEYSIZE bytes
of it whatever that length was: past the end of a shorter key, and not
all of a longer one. Bound it by the length it is given. The callers,
the RSS hash and the multipath hash in in_fib.c and in6_fib.c, all pass
40-byte keys, RSS_KEYSIZE, so nothing changes for them.
toeplitz.c no longer needs <net/rss_config.h>.
Sponsored by: Rubicon Communications, LLC ("Netgate")