OpenBSD cvs log

created 2019-05-08T06:38:04Z
begin 2018-02-20T00:00:00Z
end 2018-02-21T00:00:00Z
path src/sys
commits 15

date 2018-02-20T01:20:37Z
author dlg
files src/sys/net/if_vxlan.c log diff annotate
message add support for setting the tunnel df bit.

ok mpi@

date 2018-02-20T03:43:07Z
author dlg
files src/sys/sys/sockio.h log diff annotate
message add ioctls to toggle partitioning a vnetid into a netid and flowid

this maps to key entropy in cisco tunnel terminology, and will be
used in gre and egre to interoperate with their tunnels.

date 2018-02-20T03:46:45Z
author dlg
files src/sys/net/if.c log diff annotate
message only allow root to use SIOCSVNETFLOWID.

date 2018-02-20T03:53:54Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message add support for vnetflowid.

when enabled, the 32bit key on gre a packet is split into a 24bit
key and an 8 bit flow id. this allows better use of multipath links
if the intermediate routers feed the gre key into their hashing
algorithms. because gre can encapsulate pretty much anything, it
can be non-trivial for a router to reach into a payload to harvest
entropy for feeding into a hashing algorithm. having the endpoints
do it and feed it into the gre header is a lot simpler.

this allows interoperationg with cisco gre tunnels with key entropy
enabled. this was tested against a csr1000v.

also, this arrangement coincides with how nvgre works, so it paves
the way for supporting that protocol.

right now the driver relies on the flowid in mbufs to populate the
packet field. this generally means that pf should be enabled to
provide the flowid.

date 2018-02-20T04:03:15Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message cisco set the tos on their keepalive packets to ip precedence
internet control, so we can too.

date 2018-02-20T05:40:52Z
author jmatthew
files src/sys/dev/pci/mfii.c log diff annotate
message Set the chain_offset field (same as sgl_offset0, only in 16 byte units)
in passthrough IO requests, which makes AEN processing work on SAS2208
controllers, and since AEN processing works now, enable it again.

tested on SAS2208 (PERC H710P) and SAS3108 (PERC H730), SAS3.5 parts
should work too.
ok dlg@

date 2018-02-20T12:38:58Z
author mpi
files src/sys/kern/kern_proc.c log diff annotate
src/sys/kern/kern_prot.c log diff annotate
src/sys/sys/proc.h log diff annotate
message Introduce enternewpgrp() & enterthispgrp(), from FreeBSD via guenther@.

This code shuffling will ease the introduction of the proctree lock
in sys_setsid() and sys_setpgid().

Extracted from a larger diff from guenther@, ok visa@

date 2018-02-20T12:43:03Z
author mpi
files src/sys/net/route.c log diff annotate
message Removing an RTF_CLONING route entry should not invalidate an RTF_CACHED
entry that has been cloned from a different RTF_CLONING route.

Bug report & ok friehm@

date 2018-02-20T14:46:22Z
author visa
files src/sys/kern/subr_witness.c log diff annotate
message Make ddb's "show all locks" command show spinlocks in addition
to sleeplocks.

OK mpi@

date 2018-02-20T15:02:13Z
author mikeb
files src/sys/arch/amd64/amd64/via.c log diff annotate
src/sys/arch/i386/i386/via.c log diff annotate
message Convert key length from bits to bytes

Reported by Renaud Allard, fix tested by Renaud (i386) and fcambus@ (amd64).
OK visa, fcambus

date 2018-02-20T23:44:19Z
author jsg
files src/sys/dev/pci/drm/Attic/i915_drm.h log diff annotate
message stop mixing bsd and c99 fixed width types and just use c99 types everywhere

date 2018-02-20T23:45:24Z
author kettenis
files src/sys/arch/arm64/arm64/pmap.c log diff annotate
src/sys/arch/arm64/include/pmap.h log diff annotate
message Make arm64 pmap (somewhat) mpsafe.

date 2018-02-20T23:46:48Z
author kettenis
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
message Release the secondary CPUs.

date 2018-02-20T23:48:23Z
author kettenis
files src/sys/arch/arm64/conf/GENERIC.MP log diff annotate
message Add GENERIC.MP.

date 2018-02-20T23:57:54Z
author kettenis
files src/sys/arch/arm64/compile/GENERIC.MP/Makefile log diff annotate
message Add GENERIC.MP directory.