|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0 |
|
| #
7abbfbda |
| 23-Feb-2021 |
Allan Jude <[email protected]> |
smbios: Move smbios driver out from x86 machdep code
Add it to the x86 GENERIC and MINIMAL kernels
Sponsored by: Ampere Computing LLC Submitted by: Klara Inc. Reviewed by: rpokala Differential Revi
smbios: Move smbios driver out from x86 machdep code
Add it to the x86 GENERIC and MINIMAL kernels
Sponsored by: Ampere Computing LLC Submitted by: Klara Inc. Reviewed by: rpokala Differential Revision: https://reviews.freebsd.org/D28738
(cherry picked from commit d0673fe160b04f8162f380926d455dfb966f08fb)
show more ...
|
| #
86b0782a |
| 03-Jan-2022 |
Navdeep Parhar <[email protected]> |
cxgbe(4): Update firmwares to 1.26.6.0.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ CHANGES +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
cxgbe(4): Update firmwares to 1.26.6.0.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ CHANGES ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Version : 1.26.6.0 Date : 01/03/2022 ================================================================================
Fixes ----- BASE: - Fixed one module eeprom read failure. - Fixed an issue with speed selection when 40G and 25G are advertised and supported. - Fixed a random traffic hang when T5 receives invalid ets BW in dcbx messages from a switch. - Fixed very long link up time with few switches. ================================================================================
Obtained from: Chelsio Communications Sponsored by: Chelsio Communications
(cherry picked from commit 3b76242433e5651bce0c89ce98af450c0cd02ad1)
show more ...
|
| #
6be5e072 |
| 09-Dec-2021 |
Navdeep Parhar <[email protected]> |
cxgbe(4): Update firmwares to 1.26.4.0
(Rest is from the README that came with the firmware)
Version : 1.26.4.0 Date : 12/02/2021
Fixes -----
BASE: - Fixed error on setting 25G speed on 100G c
cxgbe(4): Update firmwares to 1.26.4.0
(Rest is from the README that came with the firmware)
Version : 1.26.4.0 Date : 12/02/2021
Fixes -----
BASE: - Fixed error on setting 25G speed on 100G copper with multiple FEC set in firmware commands. - Handle link of unknown optics modules by enabling module tx unconditionally. - Fixed link not coming up for 25G CRS phys. Firmware incorrectly tried to bring up the link in RS-FEC but as per IEEE spec, it must be BASER FEC. - Fixed an issue where firmware doesn't automatically retry next FEC if driver asks to bring up the link using RS-FEC and link doesn't come up.
Obtained from: Chelsio Communications Sponsored by: Chelsio Communications
(cherry picked from commit 357ba2cf17bf2a201ada5c54822e4f92ff2df296)
show more ...
|
| #
284434f7 |
| 08-Feb-2022 |
Dimitry Andric <[email protected]> |
Disable clang 14 warning about bitwise operators in zstd
Parts of zstd, used in openzfs and other places, trigger a new clang 14 -Werror warning:
``` sys/contrib/zstd/lib/decompress/huf_decompress.
Disable clang 14 warning about bitwise operators in zstd
Parts of zstd, used in openzfs and other places, trigger a new clang 14 -Werror warning:
``` sys/contrib/zstd/lib/decompress/huf_decompress.c:889:25: error: use of bitwise '&' with boolean operands [-Werror,-Wbitwise-instead-of-logical] (BIT_reloadDStreamFast(&bitD1) == BIT_DStream_unfinished) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
While the warning is benign, it should ideally be fixed upstream and then vendor-imported, but for now silence it selectively.
MFC after: 3 days
(cherry picked from commit 5f2aca83940097d7d23b4137073fb601f8e74232)
show more ...
|
| #
26b0e75d |
| 08-Feb-2022 |
Hans Petter Selasky <[email protected]> |
mlx5: Implement flow steering helper functions for TCP sockets.
This change adds convenience functions to setup a flow steering rule based on a TCP socket. The helper function gets all the address i
mlx5: Implement flow steering helper functions for TCP sockets.
This change adds convenience functions to setup a flow steering rule based on a TCP socket. The helper function gets all the address information from the socket and returns a steering rule, to be used with HW TLS RX offload.
Sponsored by: NVIDIA Networking
(cherry picked from commit 2c0ade806aa7b450dc4f4c53b5345050eb6dcb4b)
show more ...
|
| #
e53c3826 |
| 08-Feb-2022 |
Hans Petter Selasky <[email protected]> |
mlx5en: Implement support for internal queues, IQ.
Internal send queues are regular sendqueues which are reserved for WQE commands towards the hardware and firmware. These queues typically carry res
mlx5en: Implement support for internal queues, IQ.
Internal send queues are regular sendqueues which are reserved for WQE commands towards the hardware and firmware. These queues typically carry resync information for ongoing TLS RX connections and when changing schedule queues for rate limited connections.
The internal queue, IQ, code is more or less a stripped down copy of the existing SQ managing code with exception of:
1) An optional single segment memory buffer which can be read or written as a whole by the hardware, may be provided. 2) An optional completion callback for all transmit operations, may be provided. 3) Does not support mbufs.
Sponsored by: NVIDIA Networking
(cherry picked from commit 694263572f1bdf545199fcfb0853b93eb0dd0644)
show more ...
|
| #
5729ebba |
| 15-Dec-2021 |
Cy Schubert <[email protected]> |
ipfilter: Move kernel bits to netpfil
Through fixes and improvements our ipfilter sources have diverged enough to warrant move from contrib into sys/netpil. Now that I'm planning on implementing MSS
ipfilter: Move kernel bits to netpfil
Through fixes and improvements our ipfilter sources have diverged enough to warrant move from contrib into sys/netpil. Now that I'm planning on implementing MSS clamping as in iptables it makes more sense to move ipfilter to netpfil.
This is the first of three commits the ipfilter move.
Suggested by glebius on two occaions.
Suggested by and discussed with: glebius Reviewed by: glebius, kp (for #network) Differential Revision: https://reviews.freebsd.org/D33510
(cherry picked from commit 3b9b51fe464ebb91e894742a6a0e6417e256f03a)
show more ...
|
| #
f8612fa7 |
| 26-Dec-2021 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: add 802.11 compat code
Add 802.11 compat code for mac80211 and to a minimal degree cfg80211. This allows us to compile and use basic functionality of wireless drivers such as iwlwifi.
Thi
LinuxKPI: add 802.11 compat code
Add 802.11 compat code for mac80211 and to a minimal degree cfg80211. This allows us to compile and use basic functionality of wireless drivers such as iwlwifi.
This is a constant work in progress but having it in the tree will allow others to test and more easy to track changes and avoid having snapshots no longer applying to branches.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 6b4cac814e32f3b307720d6b880939fb1f21f3ac)
show more ...
|
| #
fb3c236a |
| 26-Dec-2021 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: import beginning of a new version of netdevice.h
Import a netdevice update complementing the last remaining bits of the old ifnet derived implementation. Along add a (for now) task based
LinuxKPI: import beginning of a new version of netdevice.h
Import a netdevice update complementing the last remaining bits of the old ifnet derived implementation. Along add a (for now) task based NAPI implementation.
This is the minimal set of chnages which are needed for the initial support of wireless drivers. The NAPI implementation has an option to still switch to "direct dispatch" as it had been used by these drivers before not relying on a deferred context along with some printf tracing. This has been helpful in the last weeks for debugging and will be cleaned once we have had broader testing and are sure this is fine as-is. Should we need a more time-sensitive or load-sensitive response in the future we can always switch to something more sophisticated.
Sponsored by: The FreeBSD Foundation X-Differential Revision: D33075 (abandoned without feedback a while ago)
(cherry picked from commit d105895844848ddba85d686e03e0d14c03ad4eb4)
show more ...
|
| #
508c4fb4 |
| 26-Dec-2021 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: add a work-in-progress skbuff implementation
This is a work-in-progress implementation of sk_buff compat code used for wireless drivers only currently. Bring in this version of the code as
LinuxKPI: add a work-in-progress skbuff implementation
This is a work-in-progress implementation of sk_buff compat code used for wireless drivers only currently. Bring in this version of the code as it has proven to be good enough to have packets going for a few months.
The current implementation has several drawbacks including the need for us to copy data between sk_buffs and mbufs. Do not rely on the internals of this implementation. They are highly likely to change as we will improve the integration to FreeBSD mbufs.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 49ed6e979c3b327ae466a559884802d901aa5792)
show more ...
|
| #
984b9d89 |
| 04-Dec-2021 |
Florian Walpen <[email protected]> |
MAC/priority module for realtime privilege group
PR: 239125
(cherry picked from commit bf2fa8d9d11c9f2ceff09bacc406876fa37096be)
|
| #
44a78c21 |
| 24-Jun-2021 |
Ram Kishore Vegesna <[email protected]> |
ocs_fc: Add gendump and dump_to_host ioctl command support.
Support to generate firmware dump.
Approved by: mav(mentor)
(cherry picked from commit 29e2dbd42c3e2e10e606b3414f4d0c53021d4e86)
Add oc
ocs_fc: Add gendump and dump_to_host ioctl command support.
Support to generate firmware dump.
Approved by: mav(mentor)
(cherry picked from commit 29e2dbd42c3e2e10e606b3414f4d0c53021d4e86)
Add ocs_gendump.c to the build, missed in 29e2dbd42c3e.
(cherry picked from commit d0732fa81963d336099a6b134a1eb4be867bfa8b)
show more ...
|
| #
1d250ec7 |
| 24-Nov-2021 |
Mark Johnston <[email protected]> |
netinet: Deduplicate most in_cksum() implementations
in_cksum() and related routines are implemented separately for each platform, but only i386 and arm have optimized versions. Other platforms' co
netinet: Deduplicate most in_cksum() implementations
in_cksum() and related routines are implemented separately for each platform, but only i386 and arm have optimized versions. Other platforms' copies of in_cksum.c are identical except for style differences and support for big-endian CPUs.
Deduplicate the implementations for the rest of the platforms. This will make it easier to implement in_cksum() for unmapped mbufs. On arm and i386, define HAVE_MD_IN_CKSUM to mean that the MI implementation is not to be compiled.
No functional change intended.
Reviewed by: kp, glebius Sponsored by: The FreeBSD Foundation
(cherry picked from commit ecbbe831445a4b94279e5932828d60076e4ca444)
show more ...
|
|
Revision tags: release/12.2.0 |
|
| #
f1d2f22b |
| 18-Aug-2020 |
Andriy Gapon <[email protected]> |
pca954x: driver for PCA954x / TCA954x I2C switches
At the moment only PCA9548A is supported and has been tested.
(cherry picked from commit c0525ab1d1ce69ab3d589e95733caedb04e0dcbd)
|
| #
ee82e15c |
| 01-Oct-2020 |
Andriy Gapon <[email protected]> |
pcf8574: driver for 8-pin quasi-bidirectional GPIO over I2C
(cherry picked from commit 6354154ef520d359492badf0de9c8ae5d7080ae7)
|
| #
8f57430d |
| 20-Aug-2020 |
Andriy Gapon <[email protected]> |
driver for MAX44009 I2C illuminance sensor
(cherry picked from commit ff6fe2983550aeab0852e982e7fe5ac4c672c205)
|
| #
d6f71e09 |
| 17-Aug-2020 |
Andriy Gapon <[email protected]> |
pcf8591: driver for adc/dac with i2c interface
(cherry picked from commit a60b30469741392e66ec6fd21a8d5c4810a2d407)
|
| #
48d2c7cc |
| 13-Apr-2021 |
Mark Johnston <[email protected]> |
Add the KASAN runtime
KASAN enables the use of LLVM's AddressSanitizer in the kernel. This feature makes use of compiler instrumentation to validate memory accesses in the kernel and detect several
Add the KASAN runtime
KASAN enables the use of LLVM's AddressSanitizer in the kernel. This feature makes use of compiler instrumentation to validate memory accesses in the kernel and detect several types of bugs, including use-after-frees and out-of-bounds accesses. It is particularly effective when combined with test suites or syzkaller. KASAN has high CPU and memory usage overhead and so is not suited for production environments.
The runtime and pmap maintain a shadow of the kernel map to store information about the validity of memory mapped at a given kernel address.
The runtime implements a number of functions defined by the compiler ABI. These are prefixed by __asan. The compiler emits calls to __asan_load*() and __asan_store*() around memory accesses, and the runtime consults the shadow map to determine whether a given access is valid.
kasan_mark() is called by various kernel allocators to update state in the shadow map. Updates to those allocators will come in subsequent commits.
The runtime also defines various interceptors. Some low-level routines are implemented in assembly and are thus not amenable to compiler instrumentation. To handle this, the runtime implements these routines on behalf of the rest of the kernel. The sanitizer implementation validates memory accesses manually before handing off to the real implementation.
The sanitizer in a KASAN-configured kernel can be disabled by setting the loader tunable debug.kasan.disable=1.
Obtained from: NetBSD Sponsored by: The FreeBSD Foundation
(cherry picked from commit 38da497a4dfcf1979c8c2b0e9f3fa0564035c147)
show more ...
|
| #
6ca6d4ed |
| 03-Mar-2021 |
John Baldwin <[email protected]> |
ossl: Add ChaCha20 cipher support.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28756
(cherry picked from commit 92aecd1e6fac47ffc893f628c1fe289568bb19cb)
|
| #
bc6265e8 |
| 03-Mar-2021 |
John Baldwin <[email protected]> |
ossl: Add Poly1305 digest support.
Reviewed by: cem Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28754
(cherry picked from commit a079e38b08f2f07c50ba915dae66d099559abd
ossl: Add Poly1305 digest support.
Reviewed by: cem Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D28754
(cherry picked from commit a079e38b08f2f07c50ba915dae66d099559abdcc)
show more ...
|
| #
d5cbcae3 |
| 18-Feb-2021 |
John Baldwin <[email protected]> |
Add an implementation of CHACHA20_POLY1305 to cryptosoft.
This uses the chacha20 IETF and poly1305 implementations from libsodium. A seperate auth_hash is created for the auth side whose Setkey met
Add an implementation of CHACHA20_POLY1305 to cryptosoft.
This uses the chacha20 IETF and poly1305 implementations from libsodium. A seperate auth_hash is created for the auth side whose Setkey method derives the poly1305 key from the AEAD key and nonce as described in RFC 8439.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D27837
(cherry picked from commit dd2e1352b68aa33f7f6f8c19aaf88cf287013ae8)
show more ...
|
| #
ec3872a6 |
| 18-Feb-2021 |
John Baldwin <[email protected]> |
Add an OCF algorithm for ChaCha20-Poly1305 AEAD.
Note that this algorithm implements the mode defined in RFC 8439.
Reviewed by: cem Sponsored by: Netflix Differential Revision: https://reviews.free
Add an OCF algorithm for ChaCha20-Poly1305 AEAD.
Note that this algorithm implements the mode defined in RFC 8439.
Reviewed by: cem Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D27836
(cherry picked from commit fc8fc743d89388c0c5b97a491428fab2b36beac8)
show more ...
|
| #
bcb2da3a |
| 27-Sep-2021 |
Navdeep Parhar <[email protected]> |
cxgbe(4): Update firmwares to 1.26.2.0.
The firmwares and the following changelog are from the "Chelsio Unified Wire v3.15.0.0 for Linux."
Version : 1.26.2.0 Date : 09/24/2021 ==================
cxgbe(4): Update firmwares to 1.26.2.0.
The firmwares and the following changelog are from the "Chelsio Unified Wire v3.15.0.0 for Linux."
Version : 1.26.2.0 Date : 09/24/2021 ====================
FIXES -----
BASE: - Added support for SFP+ RJ45 (0x1C). - Fixing backward compatibility issue with older drivers when multiple speeds are passed to firmware.
OFLD: - Do not touch tp_plen_max if driver is supplying tp_plen_max. This fixes a connection reset issue in iscsi.
ENHANCEMENTS ------------
BASE: - Firmware header modified to add firmware binary signature.
Sponsored by: Chelsio Communications
(cherry picked from commit 45d6fbaec23eee457197a14517e715c947114d99)
show more ...
|
| #
c1f66d32 |
| 24-Jun-2021 |
Navdeep Parhar <[email protected]> |
cxgbe(4): Update firmwares to 1.26.0.0.
Changes since 1.25.6.0 are listed here. This list comes from the Release Notes for "Chelsio Unified Wire 3.14.0.4 for Linux" dated 2021-07-08.
Fixes -----
cxgbe(4): Update firmwares to 1.26.0.0.
Changes since 1.25.6.0 are listed here. This list comes from the Release Notes for "Chelsio Unified Wire 3.14.0.4 for Linux" dated 2021-07-08.
Fixes -----
BASE: - Wait 5ms before and after the i2c command that clears the mod_select. This fixes incorrect port module type read from i2c.
Obtained from: Chelsio Communications Sponsored by: Chelsio Communications
(cherry picked from commit 3c900106ea7aab69690945ad885b4df1095c1504)
show more ...
|
| #
20cbc667 |
| 25-May-2021 |
Navdeep Parhar <[email protected]> |
cxgbe(4): Update firmwares to 1.25.6.0.
Changes since 1.25.0.0 are listed here. This list comes from the Release Notes for the "Chelsio Unified Wire v3.14.0.3 for Linux" release dated 2021-05-21.
cxgbe(4): Update firmwares to 1.25.6.0.
Changes since 1.25.0.0 are listed here. This list comes from the Release Notes for the "Chelsio Unified Wire v3.14.0.3 for Linux" release dated 2021-05-21.
Fixes -----
BASE: - Fixed Back to back T6 100G-CR4 link coming up with NO FEC sometimes. - [T5] Try to bring up link in 1G speed if link doesn't come up on 10G. - Fixed a bug to not allow BaseR fec in 100G speed. - Fixed linkup issues on BT adapter in 1G and 100M speed. - Fixed an issue to allow driver to send VI_ENABLE multiple times (once with rx disable and then later rx enable). - Fixed rate limiting not working on class number 16 to 30. - Fixed backward compatibility issue in port type interpretation with vpd version 0x80.
ETH: - Fixed a case when firmware failed to deliver NIC WR completion to host. - No rate limit support for WR ETH_TX_PKTS2 due to performance reasons.
OFLD - Fixed a connection hang in SO adapters when tp_plen_max (set by driver) is more than the window size. - Added fw_filter_vnic_mode to firmware API file (t4fw_interface.h) - Use correct rx channel in coprocessor crypto completion (CPL_FW6_PLD). This was causing out of order completion to host.
FOiSCSI - Fixed a crash due to unaligned access of ipv6 address. - Fixed a crash during lun reset.
Enhancements ------------
ETH: - Rate limiting support added for encapsulated (vxlan, nvgre, geneve) NIC TCP packets.
OFLD: - More than 128 SGLs supported in FW_RI_FR_NSMR_WR. Now, more than 16GB (upto 64GB) of PBLs can be written with single FW_RI_FR_NSMR_WR.
Obtained from: Chelsio Communications Sponsored by: Chelsio Communications
(cherry picked from commit e0fa04e257c1af4c793a70a124ba41e592570c14)
show more ...
|