OpenBSD cvs log

created 2019-12-16T18:10:06Z
begin 2019-12-06T00:00:00Z
end 2019-12-07T00:00:00Z
path src/sys
commits 8

date 2019-12-06T01:58:47Z
author dlg
files src/sys/dev/pci/if_bnx.c log diff annotate
message enable the full use of jumbos and remove IFCAP_VLAN_MTU.

The chip can do 9008 byte packets (not including the ethernet
header), but only 9004 if you want to enable IFCAP_VLAN_MTU. by not
enabling IFCAP_VLAN_MTU, we let other protocols (eg, mpls or svlan)
use the extra bytes if they want.

using the extra bytes for the hardmtu instead of for IFCAP_VLAN_MTU
works a bit better with how aggr(4) is set up at the moment because
aggr does not pass IFCAP_VLAN_MTU through from its ports, which
means vlan(4) on aggr(4) cannot see the flag and use the extra
bytes.

this was figured out by hrvoje popovski in a discussion with pedro
caetano on the "issues configuring vlan on top of aggr device" on
misc@.
hrvoje also tested the diff and made sure the full use of jumbos
works for things like ping packets with DF set.
jmatthew skimmed the diff and didnt see anything obviously wrong too

date 2019-12-06T02:02:18Z
author dlg
files src/sys/net/if_trunk.c log diff annotate
message when copying capabilities from the first port to a trunk, copy hardmtu too.

previously it copied the ports if_mtu to the trunks if_hardmtu,
which makes it hard for things like vlan(4) to work with a full
frame size, or large frame size.

tested by hrvoje popovski

date 2019-12-06T08:33:25Z
author mpi
files src/sys/sys/sysctl.h log diff annotate
src/sys/uvm/uvm.h log diff annotate
message Sync KVE_ET_* and UVM_ET_* flags.

ok guenther@

date 2019-12-06T09:48:01Z
author mpi
files src/sys/arch/i386/conf/GENERIC log diff annotate
src/sys/arch/i386/conf/files.i386 log diff annotate
src/sys/arch/i386/pci/Attic/piixpcib.c log diff annotate
message Retire piixpcib(4).

When PAE came back in 2015 the use of kvm86, required for SpeedStep on
such machine, got disabled. So there's no loss of functionality.

ok stsp@

date 2019-12-06T13:53:26Z
author krw
files src/sys/scsi/scsi_base.c log diff annotate
message Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,
Comment fixes.

date 2019-12-06T14:43:14Z
author tobhe
files src/sys/netinet/tcp_input.c log diff annotate
src/sys/netinet/udp_usrreq.c log diff annotate
message Checking the IPsec policy is expensive. Check only when IPsec is used.

ok bluhm@

date 2019-12-06T15:13:07Z
author krw
files src/sys/scsi/cd.c log diff annotate
message Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,
Comment fixes.

date 2019-12-06T16:57:24Z
author krw
files src/sys/scsi/ch.c log diff annotate
message Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,
Comment fixes.