Re: ixv(4): porting Virtual Function driver for Intel 82599 series.

2022-11-20 Thread Yuichiro NAITO
Thank you so much for reviewing my patch. On 11/21/22 08:02, Christian Weisgerber wrote: Yuichiro NAITO: +static void +ixv_set_multi(struct ix_softc *sc) +{ [...] + if ((ifp->if_flags & IFF_PROMISC) == 0 && ac->ac_multirangecnt <= 0 && + ac->ac_multicnt <= MAX_NUM_MULTICAST

The next step of netlock removal from pppx(4)

2022-11-20 Thread Vitaliy Makkoveev
Kernel lock is always taken when we do access to `pxd_pxis' lists and `pppx_ifs' tree, so rely on it instead of netlock. The search in `pppx_ifs' tree has no context switch. We also have no context switch between the `pxi' free unit search and tree insertion. Use reference counters to make `pxi' d

systat(1): vmstat: compute rates with elapsed time instead of ticks

2022-11-20 Thread Scott Cheloha
Hi, systat(1)'s vmstat view should not use statclock() ticks to count elapsed time. First, ticks are very low resolution and they aren't always of equal length. Second, we're counting the ticks from every CPU on the system, so all the rates in the view are divided by the number of CPUs. Instead

Re: ixv(4): porting Virtual Function driver for Intel 82599 series.

2022-11-20 Thread Christian Weisgerber
Yuichiro NAITO: > +static void > +ixv_set_multi(struct ix_softc *sc) > +{ [...] > + if ((ifp->if_flags & IFF_PROMISC) == 0 && ac->ac_multirangecnt <= 0 && > + ac->ac_multicnt <= MAX_NUM_MULTICAST_ADDRESSES) { > + ETHER_FIRST_MULTI(step, &sc->arpcom, enm); > +

Re: powerpc, macppc: switch to clockintr(9)

2022-11-20 Thread George Koehler
On Sun, 20 Nov 2022 06:55:23 -0600 Scott Cheloha wrote: > Build completed, upgrade from resulting bsd.rd completed. I think > this is ready to commit. I'm happy to hear that your dual G4 macppc is running and your diff works. Your clock diff doesn't conflict with my incomplete suspend diff, be

Re: i386: switch to clockintr(9)

2022-11-20 Thread Scott Bennett
On Wed, Nov 9, 2022 at 2:10 PM Scott Cheloha wrote: > On Sun, Nov 06, 2022 at 07:46:37PM +, Scott Cheloha wrote: > > This patch switches i386 to clockintr(9). > > > > [...] > > The HPET pieces have been committed separately. Here is an updated > patch. I have been running this on my (real) P

Re: powerpc64: switch to clockintr(9)

2022-11-20 Thread George Koehler
On Sun, 6 Nov 2022 19:52:36 + Scott Cheloha wrote: > This patch switches powerpc64 to clockintr(9). > > gkoehler@ has been testing it, I assume on some kind of Raptor > Computing Power9. It has survived two parallel release builds and > upgrades from the resulting bsd.rd. It's a Raptor Tal

Re: powerpc, macppc: switch to clockintr(9)

2022-11-20 Thread Scott Cheloha
On Sat, Nov 19, 2022 at 09:46:03AM -0600, Scott Cheloha wrote: > On Sun, Nov 06, 2022 at 07:48:31PM +, Scott Cheloha wrote: > > This patch switches macppc to clockintr(9). > > > > It has survived two or three parallel release builds on my G4 MDD > > (PowerMac7,3) and upgrades from the resultin