created | 2024-11-18T21:51:14Z |
---|---|
begin | 2024-11-14T00:00:00Z |
end | 2024-11-15T00:00:00Z |
path | src/sys |
commits | 7 |
date | 2024-11-14T01:51:57Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if_tun.c | log | diff | annotate |
src/sys/net/if_tun.h | log | diff | annotate | |
message |
provide a way to negotiate network offloads between the kernel and userland. userland can request that network packets that are read from or written to the device special file get prepended with a "tun_hdr" struct. this struct contains bits which say what offloads are requested for the packet, including things like ip/tcp/udp/icmp checksums, tcp segmentation offloads, or ethernet vlan tags. userland can write a packet with any of these offloads requested into the kernel at any time, but has to request which ones it's able to handle coming from the kernel. enabling the tun_hdr struct and which offloads userland can handle is done with a new TUNSCAP ioctl. this is based on the virtio_net_hdr in linux, which jan@ actually implemented and had working with vmd. however, claudio@ and i strongly opposed to what feels like a layer violation by pulling virtio structures into the tun driver, and then trying to emulate virtio/linux semantics in our network stack, and playing catch up when the "upstream" projects decide to change the shape or meaning of these bits. tun_hdr is specific to the openbsd network stack and it's semantics, which simplifies our kernel implementation. jan has been pretty gracious about the extra work on the vmd side of things. tested by and ok jan@ ok claudio@ |
date | 2024-11-14T07:49:24Z | |||
---|---|---|---|---|
author | kevlo | |||
files | src/sys/net80211/ieee80211_node.h | log | diff | annotate |
message |
Typo fixes in comments ok stsp@ |
date | 2024-11-14T09:35:41Z | |||
---|---|---|---|---|
author | stsp | |||
files | src/sys/dev/pci/if_ice.c | log | diff | annotate |
message | for clarity, look at 'perm_addr' for obtaining the MAC when ice(4) attaches |
date | 2024-11-14T09:38:51Z | |||
---|---|---|---|---|
author | stsp | |||
files | src/sys/dev/pci/if_ice.c | log | diff | annotate |
message | avoid sending needless MAC address updates to ice(4) hardware |
date | 2024-11-14T09:39:52Z | |||
---|---|---|---|---|
author | stsp | |||
files | src/sys/dev/pci/if_ice.c | log | diff | annotate |
message | use down->up hammer to handle ENETRESET in ice_ioctl; can be refined later |
date | 2024-11-14T13:47:38Z | |||
---|---|---|---|---|
author | sthen | |||
files | src/sys/net/if_tun.c | log | diff | annotate |
src/sys/net/if_tun.h | log | diff | annotate | |
message |
revert tun(4) changes for now, breaks in kdump build (TUNSCAP/TIOCEXT clash) tb@ agrees |
date | 2024-11-14T20:32:13Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/arch/hppa/include/vmparam.h | log | diff | annotate |
message |
Move the stack 1GB higher, closer to the end of the userland address space. ok kettenis@ |