9597f7cb bz June 26, 2022, 6:50 p.m.
This reverts commit 013e516dc9b1b32e9422ab02a875a05fc2d32f39.
942e234d fernape June 26, 2022, 4:53 p.m.
named(8) hasn't been in base for some time. Remove all references to it in
manual pages.

Approved by:	manpages (Pau Amma)
Differential Revision:	https://reviews.freebsd.org/D35586
924226fb melifaro June 26, 2022, 1:25 p.m.
Move pytest wrapper to the collection of the other atf wrappers
 in libexec. It solves the problem of combining bits & pieces from
 bsd.test.mk and bgs.prog.mk to address "test binary, but not the
 suite binary".

Reviewed by:	kp
Differential Revision: https://reviews.freebsd.org/D35604
MFC after:	2 weeks
fdfeaa66 tsoome June 26, 2022, 5:55 a.m.
Reviewed by:		mhorne
Differential Revision:	https://reviews.freebsd.org/D32316
b6e28991 tsoome June 26, 2022, 5:31 a.m.
Add support for system wide and NUMA domain wide counters support.
Add 3 new PMC classes for ARM DMC-620 and CMN-600 controllers PMU.

Reviewed by:	mhorne
Sponsored By:	ARM
Sponsored By:	Ampere Computing
Differential Revision: https://reviews.freebsd.org/D35342
33a0803f melifaro June 26, 2022, 7:28 a.m.
Move debug declaration out of COMPAT_FREEBSD32 in rtsock.c

MFC after: 2 weeks
da33f6d7 alc June 26, 2022, 6:01 a.m.
Move a comment to the code that it describes.  Improve the wording.

Style fixes.

MFC after:	2 weeks
0e87bab6 melifaro June 25, 2022, 11:05 p.m.
- move debug headers out of COMPAT_FREEBSD32 in rtsock.c
- remove accidentally-added LOG_ defines from syslog.h

MFC after:	2 weeks
76179e40 melifaro June 25, 2022, 10:08 p.m.
MFC after:	2 weeks
9a75209d melifaro June 25, 2022, 9:16 p.m.
MFC after:	2 weeks
6fa8ed43 melifaro June 25, 2022, 7:53 p.m.
Use unified guidelines for the severity across the routing subsystem.
Update severity for some of the already-used messages to adhere the
Convert rtsock logging to the new FIB_ reporting format.

MFC after:	2 weeks
c260d5cd melifaro June 25, 2022, 7:35 p.m.

Reporting logic assumed there is always some nhop change for every
 successful modification operation. Explicitly check that the changed
 nexthop indeed exists when reporting back to userland.

MFC after:	2 weeks
Reported by:	Claudio Jeker <claudio.jeker@klarasystems.com>
Tested by:	Claudio Jeker <claudio.jeker@klarasystems.com>
bd03f10a melifaro June 25, 2022, 7:29 p.m.
8eb2bee6 melifaro June 25, 2022, 7:25 p.m.
Implementation consists of the pytest plugin implementing ATF format and
a simple C++ wrapper, which reorders the provided arguments from ATF format
to the format understandable by pytest. Each test has this wrapper specified
after the shebang. When kyua executes the test, wrapper calls pytest, which
loads atf plugin, does the work and returns the result. Additionally, a
separate python "package", `/usr/tests/atf_python` has been added to collect
code that may be useful across different tests.

Current limitations:
* Opaque metadata passing via X-Name properties. Require some fixtures to write
* `-s srcdir` parameter passed by the runner is ignored.
* No `atf-c-api(3)` or similar - relying on pytest framework & existing python libraries
* No support for `atf_tc_<get|has>_config_var()` & `atf_tc_set_md_var()`.
 Can be probably implemented with env variables & autoload fixtures

Differential Revision: https://reviews.freebsd.org/D31084
Reviewed by:	kp, ngie
c38da70c melifaro June 25, 2022, 6:54 p.m.
RTM_CHANGE operates on a single component of the multipath route (e.g. on a single nexthop).
Search of this nexthop is peformed by iterating over each component from multipath (nexthop)
 group, using check_info_match_nhop. The problem with the current code that it incorrectly
 assumes that `check_info_match_nhop()` returns true value on match, while in reality it
 returns an error code on failure). Fix this by properly comparing the result with 0.
Additionally, the followup code modified original necthop group instead of a new one.
Fix this by targetting new nexthop group instead.

Reported by:	thj
Tested by:	Claudio Jeker <claudio.jeker@klarasystems.com>
Differential Revision: https://reviews.freebsd.org/D35526
MFC after: 2 weeks