OpenBSD cvs log

created 2019-04-20T18:36:32Z
begin 2019-04-19T00:00:00Z
end 2019-04-20T00:00:00Z
path src/sys
commits 14

date 2019-04-19T04:15:31Z
author dlg
files src/sys/net/if.h log diff annotate
message add IF_HDRPRIO_OUTER for rxprio

IF_HDRPRIO_OUTER says you want the priority from the outer encap header.

ok claudio@

date 2019-04-19T04:21:33Z
author dlg
files src/sys/sys/sockio.h log diff annotate
message add SIOCSRXHPRIO and SIOCGRXHPRIO for configuring rx prio handling

this is the complement of txprio handling, and helps support RFC 2983.

ok claudio@

date 2019-04-19T04:22:09Z
author dlg
files src/sys/net/if.c log diff annotate
message only root can change rxprio

date 2019-04-19T04:36:11Z
author dlg
files src/sys/net/if_vlan.c log diff annotate
message add support for configuring rxprio.

vlan already used the 802.1p prio in packets to set the mbuf prio.
this maintains that as the default.

ok claudio@

date 2019-04-19T04:36:12Z
author dlg
files src/sys/net/if_vlan_var.h log diff annotate
message add support for configuring rxprio.

vlan already used the 802.1p prio in packets to set the mbuf prio.
this maintains that as the default.

ok claudio@

date 2019-04-19T04:54:53Z
author dlg
files src/sys/net/if_gif.c log diff annotate
message allow configuration of rxprio

ok claudio@

date 2019-04-19T06:36:54Z
author dlg
files src/sys/net/if_mpe.c log diff annotate
src/sys/net/if_mpip.c log diff annotate
src/sys/net/if_mpw.c log diff annotate
message implement rxprio

date 2019-04-19T06:38:32Z
author dlg
files src/sys/net/if_etherip.c log diff annotate
message add rxprio support

date 2019-04-19T06:40:00Z
author dlg
files src/sys/net/if_bpe.c log diff annotate
message add rxprio support

this is modelled on vlan(4) where the packet prio is put in the bpe
header in tx, and the bpe header prio is put on the packet in rx.

date 2019-04-19T07:38:02Z
author dlg
files src/sys/net/if.c log diff annotate
src/sys/net/if_var.h log diff annotate
message provide factored out txhprio and rxhprio checks

l2 and l3 drivers do the same thing all the time, so reduce the
chance of error by doing the checks once and making it available
for drivers to call instead of rolling on their own again.

date 2019-04-19T07:39:37Z
author dlg
files src/sys/net/if_bpe.c log diff annotate
src/sys/net/if_etherip.c log diff annotate
src/sys/net/if_gif.c log diff annotate
src/sys/net/if_mpe.c log diff annotate
src/sys/net/if_mpip.c log diff annotate
src/sys/net/if_mpw.c log diff annotate
src/sys/net/if_vlan.c log diff annotate
message use the factored out txhprio and rxhprio checks

reduces code duplication and chance for error.

date 2019-04-19T07:50:09Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message use the common code in if.c to check if txhprio is good.

no functional change.

date 2019-04-19T09:19:22Z
author visa
files src/sys/arch/mips64/include/profile.h log diff annotate
message Work around a limitation of clang integrated assembler on mips64.
The assembler does not handle undeclared local symbols properly
and generates R_MIPS_CALL16 relocations where it should generate
local GOT references. For now, get along with the problem by
declaring local symbols where necessary.

OK kettenis@ guenther@

date 2019-04-19T09:41:07Z
author visa
files src/sys/kern/vfs_lockf.c log diff annotate
src/sys/kern/vfs_subr.c log diff annotate
src/sys/sys/lockf.h log diff annotate
message Add a subsystem lock for vfs_lockf.c. This enables calling lf_advlock()
and lf_purgelocks() without the kernel lock.

OK anton@ mpi@