00a5b8c3 cy Jan. 4, 2022, 2:06 a.m.
MFC after:	1 month
cgit
2eef5728 cy Jan. 4, 2022, 2:06 a.m.
MFC after:	1 month
cgit
64e8b270 cy Jan. 4, 2022, 2:06 a.m.
Adjust ipfilter's example return statements to conform to style(9).

MFC after:	1 month
cgit
2582ae57 cy Jan. 4, 2022, 2:06 a.m.
Adjust ipfilter's userland return statements to conform to style(9).

MFC after:	1 month
cgit
8c82b374 cy Jan. 4, 2022, 2:06 a.m.
Adjust ipfilter's kernel module return statements to conform to style(9).

MFC after:	1 month
cgit
9be9c1c0 cy Jan. 4, 2022, 2:06 a.m.
Replace the INLINE macro with inline. Some ancient compilers supported
__inline__ instead of inline. The INLINE hack compensated for it.
Ancient compilers are history.

Reported by:	glebius
MFC after:	1 month
cgit
efeb8bff cy Jan. 4, 2022, 2:06 a.m.
Convert ipfilter userland function declarations from K&R to ANSI. This
syncs our function declarations with NetBSD hg commit 75edcd7552a0
(apply our changes). Though not copied from NetBSD, this change was
partially inspired by NetBSD's work and inspired by style(9).

Reviewed by:		glebius (for #network)
MFC after:		1 month
Differential Revision:	https://reviews.freebsd.org/D33595
cgit
064a5a95 cy Jan. 4, 2022, 2:06 a.m.
Convert ipfilter kernel function declarations from K&R to ANSI. This
syncs our function declarations with NetBSD hg commit 75edcd7552a0
(apply our changes). Though not copied from NetBSD, this change was
partially inspired by NetBSD's work and inspired by style(9).

Reviewed by:		glebius (for #network)
MFC after:		1 month
Differential Revision:	https://reviews.freebsd.org/D33595
cgit
ea0db3ff gjb Jan. 4, 2022, 2:04 a.m.
Sponsored by:	Rubicon Communications, LLC ("Netgate")
cgit
bb844118 rew Jan. 4, 2022, 1:56 a.m.
Don't take the device_mtx lock in daasync() when handling an
AC_UNIT_ATTENTION. Instead, assert the lock is held before modifying the
periph's softc flags.

The device_mtx lock is taken in xptdevicetraverse() before daasync()
is eventually called in xpt_async_bcast().

PR:             240917, 226510, 226578
Reviewed by:    imp
MFC after:      3 weeks
Differential Revision: https://reviews.freebsd.org/D27735
cgit
3b762424 np Jan. 3, 2022, 11:24 p.m.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
MFC after:	2 weeks
Sponsored by:	Chelsio Communications
cgit
bbab9ab5 np Jan. 3, 2022, 11:24 p.m.
This fixes a driver panic during stats collection when a port's id does
not match its tx channel.  The bug affected only the T580 card running
with a non-default VPD.

Reported by:	Suhas Lokesha @ Chelsio
MFC after:	1 week
Sponsored by:	Chelsio Communications
cgit
f87818ea tuexen Jan. 3, 2022, 10:03 p.m.
4ccd6c13 alc Jan. 3, 2022, 7:14 p.m.
A feature of arm64's instruction for TLB invalidation is the ability
to determine whether cached intermediate entries, i.e., L{0,1,2}_TABLE
entries, are invalidated in addition to the final entry, e.g., an
L3_PAGE entry.

Update pmap_invalidate_{page,range}() to support both types of
invalidation, allowing the caller to determine which type of
invalidation is performed.

Update the callers to request the appropriate type of invalidation.

Eliminate redundant TLB invalidations in pmap_abort_ptp() and
pmap_remove_l3_range().

Add a comment to pmap_invalidate_all() making clear that it always
invalidates entries at all levels.

As expected, these changes result in a tiny yet measurable
performance improvement.

Reviewed by:	kib, markj
MFC after:	3 weeks
Differential Revision:	https://reviews.freebsd.org/D33705
cgit
afad340a glebius Jan. 3, 2022, 6:20 p.m.
Reviewed by:		tuexen
Differential revision:	https://reviews.freebsd.org/D33543
cgit