OpenBSD cvs log

created 2018-11-30T01:46:51Z
begin 2018-08-12T00:00:00Z
end 2018-08-13T00:00:00Z
path src/sys
commits 4

date 2018-08-12T17:15:10Z
author mortimer
files src/sys/arch/arm64/arm64/copy.S log diff annotate
src/sys/arch/arm64/arm64/copystr.S log diff annotate
src/sys/arch/arm64/arm64/cpufunc_asm.S log diff annotate
src/sys/arch/arm64/arm64/support.S log diff annotate
src/sys/arch/arm64/include/asm.h log diff annotate
message Add retguard macros for arm64 asm and apply them in the straightforward
cases in kernel and libc.
ok deraadt@

date 2018-08-12T18:32:18Z
author kettenis
files src/sys/dev/ic/pluart.c log diff annotate
message Really overwrite the major of com(4) instead of the hardcoded 12.
Should have been part of the earlier commit that unified armv7 and arm64.

date 2018-08-12T19:05:37Z
author kettenis
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
message Drop reference to dmabuf "file" as fnew() returns one that has two

ok visa@, deraadt@

date 2018-08-12T23:50:31Z
author ccardenas
files src/sys/net/if_trunk.c log diff annotate
src/sys/net/if_trunk.h log diff annotate
src/sys/net/trunklacp.c log diff annotate
src/sys/net/trunklacp.h log diff annotate
message Add administrative options to LACP trunk implementation.

The trunk driver now has a new ioctl (SIOCxTRUNKOPTS), which for now only
has options for LACP:
* Mode - Active or Passive (default Active)
* Timeout - Fast or Slow (default Slow)
* System Priority - 1(high) to 65535(low) (default 32768/0x8000)
* Port Priority - 1(high) to 65535(low) (default 32768/0x8000)
* IFQ Priority - 0 to NUM_QUEUES (default 6)

At the moment, ifconfig only has options for lacpmode and lacptimeout
plumbed as those are the immediate need.

The approach taken for the options was to make them on a "trunk" vs a
"port" as what's typically seen on various NOSes (JunOS, NXOS, etc...)
as it's uncommon for a host to have one link "Passive" and the other
"Active" in a given trunk.

Just like on a NOS, when applying lacpmode or lacptimeout, the settings
are immediately applied to all existing ports in the trunk and to all
future ports brought into the trunk.

Tested by many on a plethora of NIC drivers and switches.

Ok remi@