OpenBSD cvs log

created 2019-04-30T17:53:53Z
begin 2019-04-22T00:00:00Z
end 2019-04-23T00:00:00Z
path src/sys
commits 11

date 2019-04-22T00:38:05Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message support rxprio

i need to come back to this and make it flow a bit better, but this
is a good start.

date 2019-04-22T02:04:12Z
author dlg
files src/sys/conf/GENERIC log diff annotate
message disable mobileip(4)

it's not great in several dimensions, so this is a first step to
removing it. if noone has a (reasonable) teary i'll start removing
the code in a few weeks.

"kill it with fire" deraadt@

date 2019-04-22T02:53:40Z
author dlg
files src/sys/net/if.c log diff annotate
message factor out calling the if input handlers for a packet.

this is a step toward letting interfaces like vlan bypass ifiqs

date 2019-04-22T03:26:16Z
author dlg
files src/sys/net/if.c log diff annotate
src/sys/net/if_var.h log diff annotate
message add if_vinput so pseudo (ethernet) interfaces can bypass ifiqs

if_vinput assumes that the interface that its called against uses
per cpu counters so it can count input packets, but basically does
all the things that if_input and ifiq_input do. the main difference
is it assumes the network stack is already running and runs the
interface input handlers directly. this is instead of queuing the
packets for a nettq to run.

ifiqs arent free, especially when they only run per packet like
they do on psuedo interfaces. this allows that overhead to be

date 2019-04-22T03:29:40Z
author dlg
files src/sys/net/if_vlan.c log diff annotate
message use if_vinput instead of if_input, thereby bypassing ifiqs on vlans

ifiqs on vlans are mostly just overhead. this improves vlan input
speeds a lot, depending on your setup. i havent seen any speed
regression with this.

date 2019-04-22T03:54:16Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message vmm(4): remove a debug printf that was causing lock issues (it was being
called from an IPI routine).

date 2019-04-22T10:18:20Z
author kettenis
files src/sys/dev/fdt/pluart_fdt.c log diff annotate
message Configure pins.

ok patrick@

date 2019-04-22T12:43:13Z
author kettenis
files src/sys/dev/fdt/hiclock.c log diff annotate
message Add support for official Linux device tree bindings and implement support
for the "stub" clocks that handle the CPU clock frequency on the Hi3670.

date 2019-04-22T18:52:56Z
author kettenis
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
message Not all systems supporting DVFS expose a regulator to set the voltage.
On such systems we should skip setting the voltage and just change the
clock frequency. An example of such a system is the HiKey970 where
firmware running on a microcontroller will transparently adjust the voltage.

ok patrick@

date 2019-04-22T20:31:37Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message vmm(4): flush guest TLB entries if guest disables paging. While this
behaviour is not mandatory, the SDM says a CPU "may" do this. Better to
be safe than sorry.

A similar treatment will be needed for SVM, and for the cases where the
host CPU does not have VPIDs/ASIDs. Those will be committed separately.

Original diff from Guillaume Pagnoux, thanks!

date 2019-04-22T22:47:49Z
author bluhm
files src/sys/netinet/in_cksum.c log diff annotate
src/sys/netinet6/in6.h log diff annotate
src/sys/netinet6/in6_cksum.c log diff annotate
message In in_cksum() and in6_cksum() convert types to C99 style and make
both functions consistent. In in_cksum() panic if len is longer
than mbuf, but in in6_cksum() do not panic if off and len match
exactly to the end of mbuf.
OK claudio@