Re: obsd 6.7 - ntpd error msg

2020-06-17 Thread Otto Moerbeek
On Wed, Jun 17, 2020 at 10:53:54PM +0200, Salvatore Cuzzilla wrote: > Hi Otto here the logs (multitail) - @22:49:15 I restarted ntpd: > - > Jun 17 22:49:23 obsd ntpd[88568]: constraint reply from

Re: stoeplitz_hash_ip*: avoid early split into hi and lo

2020-06-17 Thread David Gwynne
> On 18 Jun 2020, at 2:34 pm, Theo Buehler wrote: > > Now that the calls to stoeplitz_cache_entry() are out of the way, > we can avoid half of the calculations by merging the computation of > hi and lo, only spliting at the end. This allows us to leverage > stoeplitz_hash_n16(). > > The

stoeplitz_hash_ip*: avoid early split into hi and lo

2020-06-17 Thread Theo Buehler
Now that the calls to stoeplitz_cache_entry() are out of the way, we can avoid half of the calculations by merging the computation of hi and lo, only spliting at the end. This allows us to leverage stoeplitz_hash_n16(). The name lo is now wrong. I kept it in order to avoid noise. I'm going clean

BCM5719 A1 seen in the wild

2020-06-17 Thread Mark Kettenis
Mostly cosmetic, but it removes an "unknown" from dmesg which may spook some of our users. ok? Index: dev/pci/if_bge.c === RCS file: /cvs/src/sys/dev/pci/if_bge.c,v retrieving revision 1.388 diff -u -p -r1.388 if_bge.c ---

Re: simplify stoeplitz_hash_ip*

2020-06-17 Thread David Gwynne
> On 18 Jun 2020, at 1:34 am, Theo Buehler wrote: > > The next step is to use that we have cached the result of the matrix > multiplication H * val in stoeplitz_cache_entry(scache, val), so the > identity (H * x) ^ (H * y) == H * (x ^ y) allows us to push the calls to > the cache function

Sync armv7 fbtab with arm64 fbtab

2020-06-17 Thread Frederic Cambus
Hi tech@, Here is a diff to sync armv7 fbtab with arm64 fbtab. I left out drm devices as there aren't any on this platform. Comments? OK? Index: etc/etc.armv7/fbtab === RCS file: /cvs/src/etc/etc.armv7/fbtab,v retrieving revision

Re: obsd 6.7 - ntpd error msg

2020-06-17 Thread Salvatore Cuzzilla
Hi Otto here the logs (multitail) - @22:49:15 I restarted ntpd: - Jun 17 22:49:23 obsd ntpd[88568]: constraint reply from 188.61.106.24: offset -0.541051 Jun 17 22:49:46 obsd ntpd[88568]: peer 172.17.1.1 now

Re: obsd 6.7 - ntpd error msg

2020-06-17 Thread Otto Moerbeek
On Wed, Jun 17, 2020 at 09:15:22PM +0200, Salvatore Cuzzilla wrote: > Hi Otto, > > thanks for helping, really appreciated! > The msg is showing after each restart. My simple conf here below: > - > 21:05:52 -ksh ToTo@obsd ~ $ doas

Re: obsd 6.7 - ntpd error msg

2020-06-17 Thread Salvatore Cuzzilla
Hi Otto, thanks for helping, really appreciated! The msg is showing after each restart. My simple conf here below: - 21:05:52 -ksh ToTo@obsd ~ $ doas cat /etc/ntpd.conf # $OpenBSD: ntpd.conf,v 1.14 2015/07/15 20:28:37 ajacoutot Exp

Re: obsd 6.7 - ntpd error msg

2020-06-17 Thread Otto Moerbeek
On Wed, Jun 17, 2020 at 04:50:46PM +0200, Salvatore Cuzzilla wrote: > Hi Folks, > > when I restart ntpd I see this msg in /var/log/daemon: > > Jun 17 16:19:41 obsd ntpd[92699]: pipe write error (from main): No suchfile > or directory > > however, time seems to be in sync: > >

Re: packets to bridged interfaces bypass input filter

2020-06-17 Thread Sven M . Hallberg
Stephan Mending on Wed, May 27 2020: >> [bridge0 with members athn0 em0 vether0, all in group lan] >> >> # ifconfig athn0 -group lan > Did you flush states between your tests (pfctl -F states) ? -> After > you removed athn0 from lan group ? Yes, I did. >> [sys/net/if_bridge.c:

Add entry for wsfont_init.9 in man9 Makefile

2020-06-17 Thread Frederic Cambus
Hi tech@, I commited wsfont_init.9 last year to document the wsfont module of wscons, but apparently forgot to add an entry in the man9 Makefile. The following diff does exactly that. Comments? OK? Index: share/man/man9/Makefile

Re: [PATCH]: sysupgrade(8) don't create /home/_sysupgrade/keep

2020-06-17 Thread Florian Obser
Nice catch! Committed, thanks. On Tue, Jun 16, 2020 at 01:36:22PM +0200, Martin Vahlensieck wrote: > Hi > > In the last revision install.sub stopped using /home/_sysupgrade/keep, > so unless I miss something this line can be removed. > > Best, > > Martin > > Index: sysupgrade.sh >

obsd 6.7 - ntpd error msg

2020-06-17 Thread Salvatore Cuzzilla
Hi Folks, when I restart ntpd I see this msg in /var/log/daemon: Jun 17 16:19:41 obsd ntpd[92699]: pipe write error (from main): No suchfile or directory however, time seems to be in sync: --- 16:37:17 -ksh ToTo@obsd ~ $

simplify stoeplitz_hash_ip*

2020-06-17 Thread Theo Buehler
The next step is to use that we have cached the result of the matrix multiplication H * val in stoeplitz_cache_entry(scache, val), so the identity (H * x) ^ (H * y) == H * (x ^ y) allows us to push the calls to the cache function down to the end of stoeplitz_hash_ip{4,6}{,port}(). The result is

Enable bwfm(4) on armv7 RAMDISK for SD/MMC and USB devices

2020-06-17 Thread Frederic Cambus
Hi tech@, Here is a diff to enable bwfm(4) on armv7 RAMDISK for SD/MMC and USB devices. Discussed with patrick@. Tested on a Cubieboard2 by building a RAMDISK kernel, which shows my USB Wi-Fi dongle attaching when booting it. I checked the miniroot images and they all have several megabytes of

improve pkg_add bandwidth usage with some mirrors

2020-06-17 Thread Solene Rapenne
I propose a small diff for pkg_add when using http/https mirrors. Don't wait 30 seconds for the ftp process to stop when closing file handler, send SIGHUP immediately after closing the file handler. Running pkg_add -u neovim (already installed and up to date) I got those results of bandwidth

pckbd_enable: command error. anything to worry about?

2020-06-17 Thread Stuart Henderson
It doesn't seem to be causing a problem but I've noticed these recently and thought I'd write a mail to at least document it / when it started. 2020-06-17T11:00:52.021Z symphytum /bsd: root on sd1a (2b4432fd9000a5b7.a) swap on sd1b dump on sd1b 2020-06-17T11:00:52.021Z symphytum /bsd: inteldrm0:

Re: multiple rings and cpus for ix(4)

2020-06-17 Thread Hrvoje Popovski
On 17.6.2020. 13:13, Jonathan Matthew wrote: > On Wed, Jun 17, 2020 at 12:50:46PM +0200, Hrvoje Popovski wrote: >> On 17.6.2020. 12:45, Hrvoje Popovski wrote: >>> On 17.6.2020. 11:27, Hrvoje Popovski wrote: On 17.6.2020. 10:36, David Gwynne wrote: > this is an updated version of a diff

Re: multiple rings and cpus for ix(4)

2020-06-17 Thread Jonathan Matthew
On Wed, Jun 17, 2020 at 12:50:46PM +0200, Hrvoje Popovski wrote: > On 17.6.2020. 12:45, Hrvoje Popovski wrote: > > On 17.6.2020. 11:27, Hrvoje Popovski wrote: > >> On 17.6.2020. 10:36, David Gwynne wrote: > >>> this is an updated version of a diff from christiano haesbaert by way of > >>> mpi@ to

Re: multiple rings and cpus for ix(4)

2020-06-17 Thread Hrvoje Popovski
On 17.6.2020. 12:45, Hrvoje Popovski wrote: > On 17.6.2020. 11:27, Hrvoje Popovski wrote: >> On 17.6.2020. 10:36, David Gwynne wrote: >>> this is an updated version of a diff from christiano haesbaert by way of >>> mpi@ to enable the use of multiple tx and rx rings with msi-x. >>> >>> the high

Re: multiple rings and cpus for ix(4)

2020-06-17 Thread Hrvoje Popovski
On 17.6.2020. 11:27, Hrvoje Popovski wrote: > On 17.6.2020. 10:36, David Gwynne wrote: >> this is an updated version of a diff from christiano haesbaert by way of >> mpi@ to enable the use of multiple tx and rx rings with msi-x. >> >> the high level description is that that driver checks to see if

Re: ddb(4): tr /t 0t

2020-06-17 Thread Claudio Jeker
On Wed, Jun 17, 2020 at 10:34:58AM +0100, Stuart Henderson wrote: > Every time I want to use this I spend several minutes figuring out rhe > correct prefix, it would help to add a note. Ok? Since I hit the same issue I'm OK with this :) > Index: man4/ddb.4 >

Re: New EVFILT_EXCEPT for POLLPRI & POLLRDBAND

2020-06-17 Thread Martin Pieuchot
On 16/06/20(Tue) 06:18, Todd C. Miller wrote: > On Tue, 16 Jun 2020 12:48:58 +0200, Martin Pieuchot wrote: > > > The diff below implements DragonFly's approach of adding a new kind of > > filter, EVFILT_EXCEPT, to report such conditions. This extends the > > existing kqueue interface which is

btrace(8) seems to read same events

2020-06-17 Thread Yuichiro NAITO
Hi, I'm newbie to OpenBSD. I'm trying to learn OpenBSD kernel by btrace. It is really helpful tool to me. Thanks for the development and 6.7 release. I found that brace sometimes read more than one event at the same time. After that, same events are always read and evaluated by my btrace script.

ddb(4): tr /t 0t

2020-06-17 Thread Stuart Henderson
Every time I want to use this I spend several minutes figuring out rhe correct prefix, it would help to add a note. Ok? Index: man4/ddb.4 === RCS file: /cvs/src/share/man/man4/ddb.4,v retrieving revision 1.97 diff -u -p -r1.97 ddb.4

Re: multiple rings and cpus for ix(4)

2020-06-17 Thread Hrvoje Popovski
On 17.6.2020. 10:36, David Gwynne wrote: > this is an updated version of a diff from christiano haesbaert by way of > mpi@ to enable the use of multiple tx and rx rings with msi-x. > > the high level description is that that driver checks to see if msix is > available, and if so how many vectors

iwx: offload WPA2 crypto to hardware

2020-06-17 Thread Stefan Sperling
This patch implements WPA2 (CCMP) crypto offload for iwx(4). The patch will only work on top of an up-to-date tree. Note that I just committed another patch (Tx rate selection offload) to CVS which is required in order to test this CCMP offload patch. ok? diff

multiple rings and cpus for ix(4)

2020-06-17 Thread David Gwynne
this is an updated version of a diff from christiano haesbaert by way of mpi@ to enable the use of multiple tx and rx rings with msi-x. the high level description is that that driver checks to see if msix is available, and if so how many vectors it has. it then gets an intrmap based on that