ampintc: minor nits

2022-07-10 Thread Anton Lindqvist
Hi, Addressing the following nits made it easier for me to grasp the ampintc implementation while reading the specification. There's also one missing NULL check included. Too verbose or does anyone else consider this an improvement? diff --git sys/arch/arm64/dev/ampintc.c sys/arch/arm64/dev/ampin

Re: echo(1): check for stdio errors

2022-07-10 Thread Philip Guenther
On Sun, Jul 10, 2022 at 1:08 PM Scott Cheloha wrote: > ok? > > Index: echo.c > === > RCS file: /cvs/src/bin/echo/echo.c,v > retrieving revision 1.10 > diff -u -p -r1.10 echo.c > --- echo.c 9 Oct 2015 01:37:06 - 1.10 >

pipex(4): remove PIPEXCSESSION ioctl(2) command

2022-07-10 Thread Vitaliy Makkoveev
Long time ago pipex(4) session can't be deleted until both pipex(4) input and output queues become empty. Dead sessions were linked to the stack and the `ip_forward' flag was used to prevent packets forwarding. npppd(8) marked such sessions by doing PIPEXCSESSION ioctl(2) call. But since we starte

echo(1): check for stdio errors

2022-07-10 Thread Scott Cheloha
ok? Index: echo.c === RCS file: /cvs/src/bin/echo/echo.c,v retrieving revision 1.10 diff -u -p -r1.10 echo.c --- echo.c 9 Oct 2015 01:37:06 - 1.10 +++ echo.c 10 Jul 2022 22:00:18 - @@ -53,12 +53,15 @@ main(int

Re: if_detach(): fix `if_snd' queue destruction races

2022-07-10 Thread Alexander Bluhm
On Sun, Jul 10, 2022 at 07:34:29PM +0300, Vitaliy Makkoveev wrote: > While testing my private pipex(4) diff Hrvoje Popovski caught > (*if_qstart)() related panic: > > r420-1# rcctl restart npppd > > npppdkernel: protection fault trap, code=0

ix(4) TSO and PPPoE problem

2022-07-10 Thread Hrvoje Popovski
Hi all, while testing mvs@ npppd diffs I've noticed that if TSO is enabled on pppoe server, forwarding from/to pppoe client from/to some host outside pppoe server is very slow. Interesting thing is that iperf between pppoe clients behaves ok with or without TSO on pppoe server. Enabling or disabli

Re: iked: generate stronger ECDSA keys by default

2022-07-10 Thread Alexander Bluhm
On Sun, Jul 10, 2022 at 12:14:14AM +0200, Tobias Heider wrote: > Hi, > > we currently generate one pair of 2048 bit RSA keys for isakmpd and iked by > default on new installations. In 2022 this seems a little outdated and iked > has had proper support for EC keys for quite some time now, so I pro

Re: What's the status of the PCI passthrough on OpenBSD

2022-07-10 Thread Dave Voutila
Mario Marietto writes: > *Hello.* > > *I would like to know what's the status of the PCI passthrough on OpenBSD. > Does it work or not ? My goal is to be able to pass through my USB disks > and why not,my GPU,nVidia Geforce RTX 2080 ti. I've found this old > post :* Put simply: No. Unsupported

What's the status of the PCI passthrough on OpenBSD

2022-07-10 Thread Mario Marietto
*Hello.* *I would like to know what's the status of the PCI passthrough on OpenBSD. Does it work or not ? My goal is to be able to pass through my USB disks and why not,my GPU,nVidia Geforce RTX 2080 ti. I've found this old post :* https://www.reddit.com/r/openbsd/comments/ih4vns/pci_passthrough_

if_detach(): fix `if_snd' queue destruction races

2022-07-10 Thread Vitaliy Makkoveev
While testing my private pipex(4) diff Hrvoje Popovski caught (*if_qstart)() related panic: r420-1# rcctl restart npppd npppdkernel: protection fault trap, code=0 Stopped at ifq_dequeue+0x55: movq