Page MenuHomeFreeBSD

timo.voelker_fh-muenster.de (Timo Völker)
User

Projects

User does not belong to any projects.

User Details

User Since
Jul 13 2025, 2:07 PM (43 w, 6 d)

Recent Activity

Sun, Apr 26

timo.voelker_fh-muenster.de added inline comments to D55915: pciconf: Add option to write into a BAR region.
Sun, Apr 26, 10:31 AM
timo.voelker_fh-muenster.de updated the diff for D55915: pciconf: Add option to write into a BAR region.

Addresses @bcr's comment.

Sun, Apr 26, 10:31 AM
timo.voelker_fh-muenster.de added inline comments to D56564: offload: Compute and insert checksums as late as possible.
Sun, Apr 26, 10:05 AM
timo.voelker_fh-muenster.de added a comment to D56564: offload: Compute and insert checksums as late as possible.

To check the impact of IPv4 header checksum, I ran tests.

Sun, Apr 26, 10:00 AM
timo.voelker_fh-muenster.de accepted D56623: if_awg: improve transmit checksum offload.

Offloading of IP header and TCP/UDP checksum need to work independently. This solves a bug.

Sun, Apr 26, 8:37 AM

Sat, Apr 25

timo.voelker_fh-muenster.de added inline comments to D56564: offload: Compute and insert checksums as late as possible.
Sat, Apr 25, 1:58 PM
timo.voelker_fh-muenster.de updated the diff for D56564: offload: Compute and insert checksums as late as possible.

Addresses @kp's comment.

Sat, Apr 25, 1:51 PM
timo.voelker_fh-muenster.de updated the diff for D56564: offload: Compute and insert checksums as late as possible.

Leave the lines that initialize ip_sum with 0, which some NICs require.

Sat, Apr 25, 1:35 PM
timo.voelker_fh-muenster.de updated the diff for D55915: pciconf: Add option to write into a BAR region.

Change option syntax from -Bw to -W, add -R, and revise the code.

Sat, Apr 25, 8:21 AM

Fri, Apr 24

timo.voelker_fh-muenster.de added a comment to D56564: offload: Compute and insert checksums as late as possible.

I'd suggest to add links to the discussing about defer calculating the checksum. I believe I saw that before, but I can not find it now.

Fri, Apr 24, 9:29 AM
timo.voelker_fh-muenster.de updated the summary of D56564: offload: Compute and insert checksums as late as possible.
Fri, Apr 24, 9:15 AM

Thu, Apr 23

timo.voelker_fh-muenster.de added inline comments to D56564: offload: Compute and insert checksums as late as possible.
Thu, Apr 23, 10:45 AM
timo.voelker_fh-muenster.de updated the diff for D56564: offload: Compute and insert checksums as late as possible.

Addresses @gallatin's comments.

Thu, Apr 23, 10:24 AM

Wed, Apr 22

timo.voelker_fh-muenster.de updated the diff for D56564: offload: Compute and insert checksums as late as possible.

Addresses @gallatin's comment.

Wed, Apr 22, 8:19 AM
timo.voelker_fh-muenster.de added inline comments to D56564: offload: Compute and insert checksums as late as possible.
Wed, Apr 22, 8:17 AM

Tue, Apr 21

timo.voelker_fh-muenster.de requested review of D56564: offload: Compute and insert checksums as late as possible.
Tue, Apr 21, 9:11 PM

Sun, Apr 19

timo.voelker_fh-muenster.de added a comment to D51289: tuntap: add SIOCGIFCAP and SIOCSIFCAP ioctls.

Since @markj accepted this revision too. I'll commit this one.

Let me double check with Timo. This is part of a series and I am not sure about that state.

Sun, Apr 19, 1:55 PM

Mar 22 2026

timo.voelker_fh-muenster.de added a comment to D55915: pciconf: Add option to write into a BAR region.
In D55915#1281289, @kib wrote:
In D55915#1280245, @kib wrote:

You only write a single value into the specified offset, right?
This should be clearly explained in the man page addition.
Or consider adding a possibility of writing the series of values starting at the given offset, of the specified width for each value (IMO it is fine as is, but needs to be properly documented).

In my use case, I only had to write a single value. Do you know use cases where a series of values needs to be written to a BAR region?

I tried to make it similar to -w (write to config space). This is the man page part about -w:

The -w option writes the value into a configuration space register at byte offset addr of device selector.

Do you find this more clear?

Yes

Mar 22 2026, 7:56 AM

Mar 21 2026

timo.voelker_fh-muenster.de added a comment to D55915: pciconf: Add option to write into a BAR region.
In D55915#1280245, @kib wrote:

You only write a single value into the specified offset, right?
This should be clearly explained in the man page addition.
Or consider adding a possibility of writing the series of values starting at the given offset, of the specified width for each value (IMO it is fine as is, but needs to be properly documented).

Mar 21 2026, 8:21 AM
timo.voelker_fh-muenster.de added a comment to D55915: pciconf: Add option to write into a BAR region.
In D55915#1279706, @jhb wrote:

I think rather than trying to overload -B, it would be better to just use a different getopt() letter for this mode. I would suggest using -R for reading from a BAR but keep 'D' as an alias for backwards compatibility, and using -W for writing into a BAR.

Mar 21 2026, 7:53 AM

Mar 18 2026

timo.voelker_fh-muenster.de updated the diff for D55915: pciconf: Add option to write into a BAR region.
Mar 18 2026, 1:38 PM
timo.voelker_fh-muenster.de requested review of D55915: pciconf: Add option to write into a BAR region.
Mar 18 2026, 1:34 PM

Mar 17 2026

timo.voelker_fh-muenster.de added a comment to D55894: virtio: use modern mode for transitional device by default.

Why changing hw.virtio.pci.transitional to 1 by default:

Mar 17 2026, 3:16 PM
timo.voelker_fh-muenster.de requested review of D55894: virtio: use modern mode for transitional device by default.
Mar 17 2026, 10:07 AM

Mar 2 2026

timo.voelker_fh-muenster.de added inline comments to D54948: bridge: Add checksum offloading.
Mar 2 2026, 3:23 PM
timo.voelker_fh-muenster.de added inline comments to D54948: bridge: Add checksum offloading.
Mar 2 2026, 8:29 AM

Mar 1 2026

timo.voelker_fh-muenster.de added inline comments to D54948: bridge: Add checksum offloading.
Mar 1 2026, 8:47 PM

Feb 28 2026

timo.voelker_fh-muenster.de requested review of D55588: vtnet: remove loader tunable fixup_needs_csum.
Feb 28 2026, 8:49 AM
timo.voelker_fh-muenster.de added inline comments to D55533: virtio: add loader tunables to sysctl.
Feb 28 2026, 8:11 AM
timo.voelker_fh-muenster.de updated the diff for D55533: virtio: add loader tunables to sysctl.

Addressed comments from @tuexen and @ziaee.

Feb 28 2026, 8:04 AM
timo.voelker_fh-muenster.de added a comment to D55534: arm64/pmap: Modify condition of valid_memattr that cannot be true.

Does this patch solve any problem?

Feb 28 2026, 7:31 AM

Feb 26 2026

timo.voelker_fh-muenster.de requested review of D55534: arm64/pmap: Modify condition of valid_memattr that cannot be true.
Feb 26 2026, 4:07 PM
timo.voelker_fh-muenster.de requested review of D55533: virtio: add loader tunables to sysctl.
Feb 26 2026, 3:15 PM

Feb 22 2026

timo.voelker_fh-muenster.de accepted D55415: tcp: cleanup.

Looks good to me. It improves readability, in my opinion. Also, it eliminates unnecessary m_freem calls with a null pointer.

Feb 22 2026, 11:04 AM
timo.voelker_fh-muenster.de added a comment to D55410: tcp: improve validation of received TCP over UDP packets.

I agree on @pouria's comment.

Feb 22 2026, 10:53 AM

Feb 19 2026

timo.voelker_fh-muenster.de added a comment to D55367: icmp6: Remove csum_flags on mbuf reused for ICMP message.

Solves this bug:

Feb 19 2026, 12:16 PM
timo.voelker_fh-muenster.de requested review of D55367: icmp6: Remove csum_flags on mbuf reused for ICMP message.
Feb 19 2026, 12:15 PM

Feb 10 2026

timo.voelker_fh-muenster.de accepted D55188: ure: improve receive checksum offloading.
Feb 10 2026, 7:53 AM

Feb 9 2026

timo.voelker_fh-muenster.de added inline comments to D55188: ure: improve receive checksum offloading.
Feb 9 2026, 1:36 PM

Feb 3 2026

timo.voelker_fh-muenster.de updated the diff for D54948: bridge: Add checksum offloading.

Allow enabling/disabling the new capabilities: IFCAP_TXCSUM, IFCAP_TXCSUM_IPV6, and IFCAP_VLAN_HWCSUM.

Feb 3 2026, 2:43 PM
timo.voelker_fh-muenster.de updated the diff for D55055: ifinfo: Print names of CSUM bits.

Use CSUM_BITS string defined in sys/mbuf.h for output.

Feb 3 2026, 1:56 PM
timo.voelker_fh-muenster.de added inline comments to D55055: ifinfo: Print names of CSUM bits.
Feb 3 2026, 9:29 AM

Feb 2 2026

timo.voelker_fh-muenster.de requested review of D55055: ifinfo: Print names of CSUM bits.
Feb 2 2026, 4:49 PM

Feb 1 2026

timo.voelker_fh-muenster.de added a comment to D52465: epair: add VLAN_HWTAGGING.

Please bear in mind that the above change, as well as "epair: add support for checksum offloading" (https://reviews.freebsd.org/D51639) are incompatible with netmap(4). If the epair(4) interface is used in netmap mode, communication is broken. It never happens on physical interfaces with netmap support, like for example ix(4) where these NIC capabilities don't need to be disabled.

Feb 1 2026, 8:56 AM

Jan 31 2026

timo.voelker_fh-muenster.de added a comment to D54948: bridge: Add checksum offloading.
Jan 31 2026, 9:32 AM
timo.voelker_fh-muenster.de updated the diff for D54948: bridge: Add checksum offloading.

Addressed @tuxen's style comments.

Jan 31 2026, 9:27 AM
timo.voelker_fh-muenster.de accepted D54974: ure: improve checksum offloading.

Without this patch, transmit checksum offloading for TCP/IPv6 and UDP/IPv6 is never used and transmit checksum offloading for IPv4, TCP/IPv4 and UDP/IPv4 is always used, even if disabled via ifconfig ue? -txcsum.

Jan 31 2026, 9:01 AM

Jan 29 2026

timo.voelker_fh-muenster.de requested review of D54948: bridge: Add checksum offloading.
Jan 29 2026, 8:40 PM
timo.voelker_fh-muenster.de accepted D54893: dpaa2: add support for some interface counter.

I see the code of this driver the first time, but incrementing IFCOUNTER_OERRORS everywhere where tx_dropped is incremented makes sense. The positions of the lines where the other IFCOUNTER_* counters are incremented seems correct to me as well.

Jan 29 2026, 8:47 AM

Jan 22 2026

timo.voelker_fh-muenster.de accepted D54809: dpnaa2: announce transmit checksum support.

Based on Dmitry's explanation

Jan 22 2026, 3:28 PM
timo.voelker_fh-muenster.de added a comment to D54805: dpaa2: cleanup.

Seems to improve the code. Less lines and it looks less complex. This changes the functionality only if IFCAP_RXCSUM and IFCAP_RXCSUM_IPV6 or IFCAP_TXCSUM and IFCAP_TXCSUM_IPV6 get out of sync but, in my understanding of the code, this cannot happen.

Jan 22 2026, 10:25 AM

Jan 20 2026

timo.voelker_fh-muenster.de accepted D54788: dwc: cleanup.

Looks good to me. I see no functional change but less lines of code and a more consistent way to change capenable and hwassist.

Jan 20 2026, 8:22 AM

Jan 17 2026

timo.voelker_fh-muenster.de accepted D54756: dwc: add receive checksum offload for IPv6.

Looks good to me.

Jan 17 2026, 1:54 PM
timo.voelker_fh-muenster.de accepted D54754: dwc: add transmit checksum offload for IPv6.

Looks good. It makes sense to add TXCSUM_IPV6 since the interface supports it.

Jan 17 2026, 1:41 PM

Jan 12 2026

timo.voelker_fh-muenster.de added inline comments to D54455: ip: improve deferred computation of checksums.
Jan 12 2026, 9:05 AM

Jan 10 2026

timo.voelker_fh-muenster.de updated the diff for D54455: ip: improve deferred computation of checksums.

To address @tuexen's and @p.mousavizadeh_protonmail.com's comments, I restrict the code changes in this review to the changes required to process incoming packets with IP checksum offloading and leave code improvements for another review.

Jan 10 2026, 1:40 PM

Jan 8 2026

timo.voelker_fh-muenster.de accepted D54486: bge: disable TXCSUM if UDP transmit checksum offloading is disabled.

The question is, what means TXCSUM?

Jan 8 2026, 3:18 PM

Jan 2 2026

timo.voelker_fh-muenster.de added inline comments to D54455: ip: improve deferred computation of checksums.
Jan 2 2026, 10:12 PM
timo.voelker_fh-muenster.de requested review of D54455: ip: improve deferred computation of checksums.
Jan 2 2026, 2:34 PM
timo.voelker_fh-muenster.de accepted D54394: ipv6: account for jumbo payload option.

I agree @markj. It is not easy to understand the code. However, before this patch, without any other options, optlen is 0 and, thus, the jumbo option will never be added.

Jan 2 2026, 9:36 AM
timo.voelker_fh-muenster.de accepted D54395: dwc: improve checksum offloading.
Jan 2 2026, 9:19 AM
timo.voelker_fh-muenster.de added a comment to D54395: dwc: improve checksum offloading.

The different checksum offloading features should work independently.

Jan 2 2026, 9:19 AM

Dec 19 2025

timo.voelker_fh-muenster.de accepted D54286: printf.9: Support more than 32 bits in %b.
Dec 19 2025, 3:51 PM
timo.voelker_fh-muenster.de accepted D54288: vtnet: expose features via sysctl tree.
Dec 19 2025, 3:43 PM

Dec 18 2025

timo.voelker_fh-muenster.de accepted D54283: vtnet: expose flags via sysctl tree.
Dec 18 2025, 1:57 PM
timo.voelker_fh-muenster.de updated the summary of D54269: netinet: fix checksum calculation bug.
Dec 18 2025, 12:10 PM
timo.voelker_fh-muenster.de updated the diff for D54269: netinet: fix checksum calculation bug.

Use the same semantic for cklen as in the UDP case.

Dec 18 2025, 11:10 AM

Dec 17 2025

timo.voelker_fh-muenster.de added inline comments to D54269: netinet: fix checksum calculation bug.
Dec 17 2025, 5:40 PM
timo.voelker_fh-muenster.de requested review of D54269: netinet: fix checksum calculation bug.
Dec 17 2025, 3:32 PM

Nov 10 2025

timo.voelker_fh-muenster.de accepted D53629: vtnet: fix enabling/disabling tso.

Enabling TSO without TXCSUM is not good and should not be possible.

Nov 10 2025, 10:24 AM
timo.voelker_fh-muenster.de accepted D53650: vtnet: don't provide VIRTIO_NET_HDR_F_DATA_VALID.

It's strange that the spec does not allow the driver to set the VIRTIO_NET_HDR_F_DATA_VALID flag. If the host receives a packet over a physical interface that validates the checksum, forwards that packet to a VM, and the VM sends it out again (e. g., because of routing), we now lose the information that the checksum has already been validated. However, the spec appears to be clear on that, and I guess FreeBSD should follow it.

Nov 10 2025, 10:01 AM

Sep 30 2025

timo.voelker_fh-muenster.de accepted D52684: vtnet: disable hardware TCP LRO by default.

I did some tests to understand the consequence of disabling "hardware LRO".

Sep 30 2025, 1:02 PM

Sep 28 2025

timo.voelker_fh-muenster.de accepted D52765: vtnet: improve control of transmit offloading.

Right, I remember disabling txcsum, which didn't take affect, because hwassist wasn't updated. The patch seems to solve this issue. Thanks!

Sep 28 2025, 7:21 AM

Sep 26 2025

timo.voelker_fh-muenster.de accepted D52682: vtnet: improve interface capability handling.

Removing the ifdefs and allow receive checksum offloading for IPv6 is a good thing. Also, enabling/disabling receive checksum pairwise for IPv4 and IPv6 make sense for VirtIO.

Sep 26 2025, 7:15 AM

Sep 25 2025

timo.voelker_fh-muenster.de added inline comments to D52682: vtnet: improve interface capability handling.
Sep 25 2025, 3:38 PM

Sep 16 2025

timo.voelker_fh-muenster.de added inline comments to D52546: vtnet: deprecate loader tunable fixup_needs_csum.
Sep 16 2025, 12:32 PM
timo.voelker_fh-muenster.de updated the diff for D52546: vtnet: deprecate loader tunable fixup_needs_csum.

Addressed comment from @tuexen

Sep 16 2025, 12:32 PM
timo.voelker_fh-muenster.de added a comment to D52547: tcp: improve compilation of cc and their helper modules.

The suggested changes in the summary make sense to me and the changes in sys/conf/files seem to correctly correspond to them. Looks all good to me. However, I haven't touched this file and don't know enough to review it.

Sep 16 2025, 12:27 PM

Sep 15 2025

timo.voelker_fh-muenster.de requested review of D52546: vtnet: deprecate loader tunable fixup_needs_csum.
Sep 15 2025, 10:05 AM
timo.voelker_fh-muenster.de added a comment to D52465: epair: add VLAN_HWTAGGING.

The code looks good to me.

Well I think the document should be revised a little. Indeed for inbound traffic, if the mbuf has flag M_VLANTAG, the epair(4) end should accept but not try to discard or trim the flag, since the input path of the driver does nothing.

Also the net stack would expect the driver to do vlan header extracting, but current implementation does *NOTHING* but just pass in the mbuf as is. So IFCAP_VLAN_HWTAGGING for the input patch is more false capability.

Sep 15 2025, 7:52 AM

Sep 10 2025

timo.voelker_fh-muenster.de accepted D52394: dhclient: improve UDP checksum handling.
Sep 10 2025, 2:26 PM
timo.voelker_fh-muenster.de added inline comments to D52465: epair: add VLAN_HWTAGGING.
Sep 10 2025, 6:49 AM

Sep 9 2025

timo.voelker_fh-muenster.de added a reviewer for D52465: epair: add VLAN_HWTAGGING: ronald_klop.ws.
Sep 9 2025, 6:46 PM
timo.voelker_fh-muenster.de added inline comments to D52465: epair: add VLAN_HWTAGGING.
Sep 9 2025, 6:44 PM
timo.voelker_fh-muenster.de requested review of D52465: epair: add VLAN_HWTAGGING.
Sep 9 2025, 6:35 PM

Sep 8 2025

timo.voelker_fh-muenster.de added inline comments to D52394: dhclient: improve UDP checksum handling.
Sep 8 2025, 10:07 AM

Sep 3 2025

timo.voelker_fh-muenster.de updated the diff for D51686: vtnet: fix translation between mbuf and virtio flags.

I rebased my changes on the current state of FreeBSD head and addressed the comments from @tuexen.

Sep 3 2025, 10:24 AM

Sep 2 2025

timo.voelker_fh-muenster.de added a reviewer for D51686: vtnet: fix translation between mbuf and virtio flags: manpages.
Sep 2 2025, 1:17 PM
timo.voelker_fh-muenster.de updated the diff for D51686: vtnet: fix translation between mbuf and virtio flags.

Addressing comments from a chat with @tuexen.

Sep 2 2025, 1:15 PM

Sep 1 2025

timo.voelker_fh-muenster.de added a comment to D51289: tuntap: add SIOCGIFCAP and SIOCSIFCAP ioctls.
In D51289#1194063, @p.mousavizadeh_protonmail.com wrote:

I don't know what that is. I can't find PRIV_NET_SETIFCAP in tuntap.c.

AFAIK, tunioctl is not called after ifhwioctl, however, I don't think it's necessary, since other cases of tunioctl are also lack privilege check.

Sep 1 2025, 11:16 AM
timo.voelker_fh-muenster.de updated the diff for D51289: tuntap: add SIOCGIFCAP and SIOCSIFCAP ioctls.

For SIOCSIFCAP, check if requested capabilities are supported before enabling them.

Sep 1 2025, 11:13 AM

Aug 28 2025

timo.voelker_fh-muenster.de added inline comments to D51639: epair: add TXCSUM and TXCSUM6.
Aug 28 2025, 9:29 AM
timo.voelker_fh-muenster.de updated the diff for D51639: epair: add TXCSUM and TXCSUM6.

Addressing @tuexen's comment by adding a sentence in the man page that explains the sync of TXCSUM and TXCSUM6.

Aug 28 2025, 9:29 AM
timo.voelker_fh-muenster.de accepted D51999: vtnet: fix computation of sysctl variables.

I tested this patch with D51686 applied by looking at the csum counters per queue and the general rx_csum_offloaded counter with sysctl dev.vtnet. With nc, I sent TCP packets from a Linux host to a FreeBSD VM that uses virtio with multiple queues.

Aug 28 2025, 9:02 AM

Aug 27 2025

timo.voelker_fh-muenster.de added inline comments to D51686: vtnet: fix translation between mbuf and virtio flags.
Aug 27 2025, 7:37 PM
timo.voelker_fh-muenster.de updated the diff for D51686: vtnet: fix translation between mbuf and virtio flags.

To focus on the guest-side in this review, I removed the tuntap related code and extended the vtnet code instead.

Aug 27 2025, 7:35 PM
timo.voelker_fh-muenster.de added inline comments to D51639: epair: add TXCSUM and TXCSUM6.
Aug 27 2025, 11:58 AM
timo.voelker_fh-muenster.de updated the diff for D51639: epair: add TXCSUM and TXCSUM6.

Addressing comments from @bcr

Aug 27 2025, 11:57 AM
timo.voelker_fh-muenster.de added a comment to D51639: epair: add TXCSUM and TXCSUM6.

My only concern now is the need for the LOCK mechanism itself.

Aug 27 2025, 11:13 AM
timo.voelker_fh-muenster.de updated the diff for D51639: epair: add TXCSUM and TXCSUM6.

Addressing comments

Aug 27 2025, 11:10 AM