Re: installer: support encryption with key disks

2023-10-18 Thread Andrew Hewus Fresh
On Mon, Oct 16, 2023 at 07:46:10PM +, Klemens Nanni wrote: > On Mon, Sep 04, 2023 at 09:57:40PM +, Klemens Nanni wrote: > > Extend the yes/no question to no/passphrase/keydisk and have users pick an > > existing, preformated RAID partition; no support (yet) for creating one. > > > >

Re: dwge(4): don't panic on truncated input packet

2023-10-18 Thread Mark Kettenis
> Date: Wed, 18 Oct 2023 16:40:20 + > From: Miod Vallat > > I had the misfortune of hitting a KASSERT in dwge: > > panic: kernel diagnostic assertion "len > 0" failed: file > "/usr/src/sys/dev/fdt > /if_dwge.c", line 1102 > Stopped at panic+0x106:addia0,zero,256TIDPID

bt(5), btrace(8): execute END probe and print maps after exit() statement

2023-10-18 Thread Scott Cheloha
Hi, A bt(5) exit() statement causes the btrace(8) interpreter to exit(3) immediately. A BPFtrace exit() statement is more nuanced: the END probe is executed and the contents of all maps are printed before the interpreter exits. This patch adds a halting check after the execution of each bt(5)

Re: better fix for Term::Cap

2023-10-18 Thread Andrew Hewus Fresh
On Wed, Oct 18, 2023 at 10:25:59AM +0200, Marc Espie wrote: > Instead of an archaic limit, just keep track of tc's. > This is actually slightly faster, because the termcap links is a tree, > not a list. I like it, but I don't want to carry this patch against upstream. I will happily pull in this

Re: TSO for ixl(4)

2023-10-18 Thread Alexander Bluhm
On Wed, Oct 18, 2023 at 05:29:41PM +0200, Jan Klemkow wrote: > This diff implements TCP Segmentation Offloading for ixl(4). I tested > it successfully on amd64 and sparc64 with Intel X710. It should > increase the TCP bulk performance to 10 Gbit/s. On sparc64 I got an > increase from 600 MBit/s

dwge(4): don't panic on truncated input packet

2023-10-18 Thread Miod Vallat
I had the misfortune of hitting a KASSERT in dwge: panic: kernel diagnostic assertion "len > 0" failed: file "/usr/src/sys/dev/fdt /if_dwge.c", line 1102 Stopped at panic+0x106:addia0,zero,256TIDPIDUID PR FLAGS PFLAGS CPU COMMAND *405136 98879 1500

Re: bgpd session.c convert to new ibuf API

2023-10-18 Thread Theo Buehler
On Wed, Oct 18, 2023 at 05:19:29PM +0200, Claudio Jeker wrote: > This is a bit overdue. Convert session.c to also use the new ibuf API. > This simplifies some code since there is no need for local variables. > Also kill the struct msg_header and especially msg_open. The are of very > little use. >

[wireless] iwx: small code nitpicking and removal of iwx_wait_tx_queues_empty

2023-10-18 Thread Mikhail Pchelin
Inlined patch does the following: - removes functions in initialization per style(9) (splnet) - removes double definition of IWX_NVM_GET_INFO - removes unused 'ring' variable from iwx_sta_tx_agg_start - removes unused 'iwx_tid_to_ac' array - removes iwx_wait_tx_queues_empty function Regarding

TSO for ixl(4)

2023-10-18 Thread Jan Klemkow
Hi, This diff implements TCP Segmentation Offloading for ixl(4). I tested it successfully on amd64 and sparc64 with Intel X710. It should increase the TCP bulk performance to 10 Gbit/s. On sparc64 I got an increase from 600 MBit/s to 2.000 Gbit/s. Further testing is welcome. bye, Jan Index:

bgpd session.c convert to new ibuf API

2023-10-18 Thread Claudio Jeker
This is a bit overdue. Convert session.c to also use the new ibuf API. This simplifies some code since there is no need for local variables. Also kill the struct msg_header and especially msg_open. The are of very little use. Regress passes so I think this should be fine :) -- :wq Claudio

Re: smtpd: implement nullmx RFC 7505

2023-10-18 Thread Philipp
[2023-10-18 11:42] Omar Polo > On 2023/10/18 08:40:14 +0100, Stuart Henderson wrote: > > On 2023/10/17 22:27, Philipp wrote: > > > [2023-10-17 17:32] Omar Polo > > > > [...] > > > > But I don't think your proposed patch is a good solution, because the > > > result depend on the order of the RR

Re: IPv4 on ix(4) slow/nothing - 7.4

2023-10-18 Thread Mischa Peters
> On Oct 18, 2023, at 15:44, Hrvoje Popovski wrote: > > On 18.10.2023. 15:35, Mischa wrote: >> Hi All, >> >> Just upgraded a couple of machines to 7.4. smooth as always!! >> >> I am however seeing issues with IPv4, slowness or no throughput at all. >> The machines I have upgraded are using

Re: IPv4 on ix(4) slow/nothing - 7.4

2023-10-18 Thread Hrvoje Popovski
On 18.10.2023. 15:35, Mischa wrote: > Hi All, > > Just upgraded a couple of machines to 7.4. smooth as always!! > > I am however seeing issues with IPv4, slowness or no throughput at all. > The machines I have upgraded are using an Intel X540-T network card and > is connected on 10G. > > ix0 at

IPv4 on ix(4) slow/nothing - 7.4

2023-10-18 Thread Mischa
Hi All, Just upgraded a couple of machines to 7.4. smooth as always!! I am however seeing issues with IPv4, slowness or no throughput at all. The machines I have upgraded are using an Intel X540-T network card and is connected on 10G. ix0 at pci5 dev 0 function 0 "Intel X540T" rev 0x01,

snmpd_metrics: differentiate between hrSWRunName and hrSWRunPath

2023-10-18 Thread Martijn van Duren
Right now we return the same value for both hrSWRunName and hrSWRunPath. hrSWRunPath should return the full path of the binary, and hrSWRunName a description of the running software. Afaik there's no proper way to retrieve the full path of the running binary, However, in a lot of cases argv[0]

snmpd_metrics: add HOST-RESOURCES-MIB:hrSWRunPerfTable

2023-10-18 Thread Martijn van Duren
This diff adds the two entries from the hrSWRunPerfTable: hrSWRunPerfCPU, and hrSWRunPerfMem. This allows snmptop from the net-snmp package to work. Math stolen^Wcopied from top/machine.c. OK? martijn@ Index: mib.c === RCS file:

Re: smtpd: implement nullmx RFC 7505

2023-10-18 Thread Omar Polo
On 2023/10/18 08:40:14 +0100, Stuart Henderson wrote: > On 2023/10/17 22:27, Philipp wrote: > > [2023-10-17 17:32] Omar Polo > > > There is one part of the RFC7505 that I'd like to quote and discuss > > > with you however. The last paragraph of the section 3 says: > > > > > > : A domain that

Re: log.c use buffered IO

2023-10-18 Thread Claudio Jeker
On Tue, Oct 17, 2023 at 10:06:54AM +0200, Sebastian Benoit wrote: > Theo Buehler(t...@theobuehler.org) on 2023.10.17 09:13:15 +0200: > > On Mon, Oct 16, 2023 at 12:19:17PM +0200, Claudio Jeker wrote: > > > I dislike how log.c does all these asprintf() calls with dubious > > > workaround calls in

better fix for Term::Cap

2023-10-18 Thread Marc Espie
Instead of an archaic limit, just keep track of tc's. This is actually slightly faster, because the termcap links is a tree, not a list. Please test. Index: Cap.pm === RCS file: /cvs/src/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm,v

Termp/Cap

2023-10-18 Thread Marc Espie
The max approach is bogus. It happens because the terminal uses tc, and then tc again. The proper approach, especially in perl, is to actually detect a loop, which should be fairly easy by saving the tc that have already been done in a hash.

Re: smtpd: implement nullmx RFC 7505

2023-10-18 Thread Stuart Henderson
On 2023/10/17 22:27, Philipp wrote: > [2023-10-17 17:32] Omar Polo > > > > There is one part of the RFC7505 that I'd like to quote and discuss > > with you however. The last paragraph of the section 3 says: > > > > : A domain that advertises a null MX MUST NOT advertise any other MX > > : RR. >