bgpctl add support for RFC8050 (add-path support for MRT parser)

2021-07-13 Thread Claudio Jeker
This diff adds support to read MRT files using the new introduced _ADDPATH types as defined in RFC8050. I also started adding MRT support to bgpd but that depends on ADD-PATH itself. There are a few gotchas, especially the MRT_DUMP_V2 RIB_GENERIC_ADDPATH handling is different from all other RIB

Re: systat(1) counter overflow

2021-07-13 Thread Anindya Mukherjee
On Sat, Jul 03, 2021 at 11:20:42AM +0100, Stuart Henderson wrote: > On 2021/07/03 01:09, Anindya Mukherjee wrote: > > Thanks for the discussion. This has been very illuminating. I have been > > digging > > around in /usr/src/ and ignoring the atomic architectures (where I got > > stuck) it > >

Re: ipsec: remove unused `PolicyHead' from 'sockaddr_encap' structure

2021-07-13 Thread Vitaliy Makkoveev
On Mon, Jul 12, 2021 at 01:47:25PM +0200, Tobias Heider wrote: > On Sun, Jul 11, 2021 at 05:33:18AM +0300, Vitaliy Makkoveev wrote: > > This member is never set or used. Also I kept 'SENT_IP6' definition for > > prevent the potential break of third party software. Is it ok to > > redefine it to

Re: dwiic(4): wait for tx empty when hitting tx limit

2021-07-13 Thread Mark Kettenis
> Date: Tue, 13 Jul 2021 21:29:35 +0200 > From: Patrick Wildt > > Am Mon, Jul 05, 2021 at 07:52:28PM +0200 schrieb Mark Kettenis: > > > Date: Mon, 5 Jul 2021 19:30:28 +0200 > > > From: Patrick Wildt > > > > > > Am Mon, Jul 05, 2021 at 07:07:24PM +0200 schrieb Mark Kettenis: > > > > > Date:

Re: dwiic(4): wait for tx empty when hitting tx limit

2021-07-13 Thread Patrick Wildt
Am Mon, Jul 05, 2021 at 07:52:28PM +0200 schrieb Mark Kettenis: > > Date: Mon, 5 Jul 2021 19:30:28 +0200 > > From: Patrick Wildt > > > > Am Mon, Jul 05, 2021 at 07:07:24PM +0200 schrieb Mark Kettenis: > > > > Date: Mon, 5 Jul 2021 19:02:32 +0200 > > > > From: Patrick Wildt > > > > > > > > Am

rsync getopt_long cleanup

2021-07-13 Thread Claudio Jeker
I never really liked the getopt_long definitions in rsync. Too much magic and chaos. This moves the table out of main to gain some more space and to make it a proper read-only object. Because of this struct opts also needs to become a global but that is OK. Clean up the required_argument options

Re: WIP iwx(4) Tx aggregation

2021-07-13 Thread Hrvoje Popovski
On 30.6.2021. 13:28, Stefan Sperling wrote: > On Mon, Jun 21, 2021 at 08:37:11PM +0200, Stefan Sperling wrote: >> This patch attempts to implement Tx aggregation support for iwx(4). >> >> It is not yet ready to be committed because of outstanding problems: >> >> - Under load the firmware throws a

Re: vscsi/iscsid: wait for scsi_probe to complete after connections are established

2021-07-13 Thread Ashton Fagg
Friendly weekly ping. Patches reattached. - ajf Ashton Fagg writes: > I have been working on fixing an issue (which was partially fixed by a > diff I sent in earlier this year) with iscsid. With iscsi disks in > /etc/fstab, sometimes the devices aren't fully up and ready before fsck > tries to

ix(4): fix Rx hash type

2021-07-13 Thread Kevin Lo
Hi, The diff below fixes Rx desc RSS type. This matches what Linux and FreeBSD do. ok? Index: sys/dev/pci/if_ix.c === RCS file: /cvs/src/sys/dev/pci/if_ix.c,v retrieving revision 1.178 diff -u -p -u -p -r1.178 if_ix.c ---

Re: Sync dwctwo(4) with NetBSD

2021-07-13 Thread Martin Reindl
On Sun, Jul 11, 2021 at 05:55:14PM +0200, Marcus Glocker wrote: > > Following the entire diff. And of course, general feedback and > comments? :-) > While I can't comment on the diff itself, I gave it a spin on my Raspberry Pi 3 Model B Plus Rev 1.3. mue(4) now works and I am happy to test