OpenBSD cvs log

created 2021-06-06T21:25:36Z
begin 2021-02-24T00:00:00Z
end 2021-02-25T00:00:00Z
path src/sys
commits 14

date 2021-02-24T01:20:03Z
author dlg
files src/sys/net/if_etherbridge.c log diff annotate
src/sys/net/if_etherbridge.h log diff annotate
src/sys/net/if_veb.c log diff annotate
message add support for adding and deleting address table entries.

date 2021-02-24T02:04:03Z
author dlg
files src/sys/net/if_bpe.c log diff annotate
message add support for adding and deleting address table entries.

the guts of this are in the etherbridge code which i just added for
veb, so this code is very minimal. it's hard to use though cos
ifconfig doesnt (yet) know how to put ethernet addresses into the
"add address" ioctl.

date 2021-02-24T03:08:47Z
author jsg
files src/sys/dev/usb/xhci.c log diff annotate
message remove unused xhci_cmd_evaluate_ctx()

ok mpi@

date 2021-02-24T03:20:48Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message add support for adding and deleting mac addr entries on nvgre.

the guts of this are in the etherbridge code which i added for
veb and used in bpe. there's a bit of boilerplate to make sure that
the addresses used for the endpoints will work with the tunnel
addresses that have been configured, but it's not too bad.

again, this is hard to use because ifconfig doesnt (yet) know how
to put ethernet addresses into the "add address" ioctl.

these ioctls could be used for things like evpn via bgpd though.
not sure if that's interesting to anyone though. it would probably
be more useful on vxlan interfaces.

date 2021-02-24T03:54:05Z
author jsg
files src/sys/dev/usb/usbdi_util.c log diff annotate
src/sys/dev/usb/usbdi_util.h log diff annotate
message remove unused usbdi functions

ok mpi@

date 2021-02-24T04:06:45Z
author jsg
files src/sys/dev/usb/usb_subr.c log diff annotate
message remove unused usbd_get_device_string()

ok mpi@

date 2021-02-24T06:44:54Z
author dlg
files src/sys/net/bridgectl.c log diff annotate
message fix the length check on arp packets when handling arp filter rules.

another bridge feature i'm not convinced people actually use.

ok jmatthew@ claudio@

date 2021-02-24T08:23:04Z
author dlg
files src/sys/net/if_etherbridge.c log diff annotate
message whitespace tweaks, no functional change.

date 2021-02-24T10:13:08Z
author patrick
files src/sys/dev/ic/bwfm.c log diff annotate
src/sys/dev/ic/bwfmreg.h log diff annotate
message Enumerate GCI core, which seems to contain the OTP on the Apple M1.

date 2021-02-24T12:33:22Z
author dlg
files src/sys/net/toeplitz.h log diff annotate
message fix stoeplitz_n16 and stoeplitz_h16

date 2021-02-24T12:33:50Z
author dlg
files src/sys/net/toeplitz.h log diff annotate
message white space tweak, no functional change

date 2021-02-24T13:19:48Z
author bluhm
files src/sys/kern/uipc_socket.c log diff annotate
message In sorflush() use m_purge() instead of handrolling it.
no objections mvs@

date 2021-02-24T14:59:52Z
author visa
files src/sys/kern/kern_event.c log diff annotate
src/sys/sys/event.h log diff annotate
message kqueue: Revise filterops interface

Extend kqueue's filterops interface with new callbacks so that it
becomes easier to use with fine-grained locking. The new interface
delegates the serialization of kn_event access to event sources. Now
kqueue uses filterops callbacks to read or write kn_event. This hides
event sources' locking patterns from kqueue, and allows clean
implementation of atomic read-and-clear for EV_CLEAR, for instance.

There are so many existing filterops instances that converting all of
them in one go is tricky. This patch adds a wrapper mechanism that
kqueue uses when the new callbacks are missing.

The new filterops interface has been influenced by XNU's kqueue.

OK mpi@ semarie@

date 2021-02-24T23:44:04Z
author dlg
files src/sys/net/toeplitz.h log diff annotate
message add support for hashing 64 and 32 bit numbers in host byte order.