Page MenuHomeFreeBSD

tuexen (Michael Tuexen)
User

Projects

User Details

User Since
Feb 4 2016, 4:45 PM (516 w, 1 d)

Recent Activity

Fri, Dec 19

tuexen added inline comments to D54286: printf.9: Support more than 32 bits in %b.
Fri, Dec 19, 5:02 PM
tuexen committed rGc8b3b605ae85: tcp: fix checksum calculation bug (authored by timo.voelker_fh-muenster.de).
tcp: fix checksum calculation bug
Fri, Dec 19, 5:01 PM
tuexen closed D54269: netinet: fix checksum calculation bug.
Fri, Dec 19, 5:00 PM
tuexen committed rG8da838ac3169: vtnet: improve consistency (authored by tuexen).
vtnet: improve consistency
Fri, Dec 19, 4:46 PM
tuexen committed rG634d9c0d111b: vtnet: expose features via sysctl tree (authored by tuexen).
vtnet: expose features via sysctl tree
Fri, Dec 19, 4:42 PM
tuexen closed D54288: vtnet: expose features via sysctl tree.
Fri, Dec 19, 4:42 PM
tuexen added inline comments to D54286: printf.9: Support more than 32 bits in %b.
Fri, Dec 19, 4:34 PM
tuexen committed rGd2cb9cab8457: printf.9: Support more than 32 bits in %b (authored by tuexen).
printf.9: Support more than 32 bits in %b
Fri, Dec 19, 4:31 PM
tuexen closed D54286: printf.9: Support more than 32 bits in %b.
Fri, Dec 19, 4:30 PM
tuexen added inline comments to D54286: printf.9: Support more than 32 bits in %b.
Fri, Dec 19, 4:24 PM
tuexen added inline comments to D54286: printf.9: Support more than 32 bits in %b.
Fri, Dec 19, 4:20 PM
tuexen added inline comments to D54288: vtnet: expose features via sysctl tree.
Fri, Dec 19, 7:42 AM
tuexen updated the diff for D54288: vtnet: expose features via sysctl tree.

Use sbuf_new_for_sysctl() as suggested by Mark.

Fri, Dec 19, 7:41 AM

Thu, Dec 18

tuexen added inline comments to D54288: vtnet: expose features via sysctl tree.
Thu, Dec 18, 11:33 PM
tuexen added inline comments to D54286: printf.9: Support more than 32 bits in %b.
Thu, Dec 18, 11:10 PM
tuexen updated the diff for D54286: printf.9: Support more than 32 bits in %b.

The example should follow style.9 as suggested by Mark.

Thu, Dec 18, 11:09 PM
tuexen committed rG391e8709315d: printf.9: fix style (authored by tuexen).
printf.9: fix style
Thu, Dec 18, 11:00 PM
tuexen added inline comments to D54283: vtnet: expose flags via sysctl tree.
Thu, Dec 18, 5:06 PM
tuexen committed rGf6e183301851: vtnet.4: put each sentence on its own line (authored by tuexen).
vtnet.4: put each sentence on its own line
Thu, Dec 18, 5:05 PM
tuexen requested review of D54288: vtnet: expose features via sysctl tree.
Thu, Dec 18, 4:16 PM
tuexen committed rGe3a0571ad74d: vtnet: expose flags via sysctl tree (authored by tuexen).
vtnet: expose flags via sysctl tree
Thu, Dec 18, 2:45 PM
tuexen closed D54283: vtnet: expose flags via sysctl tree.
Thu, Dec 18, 2:45 PM
tuexen requested review of D54286: printf.9: Support more than 32 bits in %b.
Thu, Dec 18, 2:39 PM
tuexen requested review of D54283: vtnet: expose flags via sysctl tree.
Thu, Dec 18, 1:23 PM
tuexen committed rGe0c6c4ecfc75: vtnet: define flags in a consistent way (authored by tuexen).
vtnet: define flags in a consistent way
Thu, Dec 18, 12:44 PM
tuexen accepted D54269: netinet: fix checksum calculation bug.
Thu, Dec 18, 11:19 AM

Wed, Dec 17

tuexen added inline comments to D54269: netinet: fix checksum calculation bug.
Wed, Dec 17, 8:57 PM
tuexen added inline comments to D54269: netinet: fix checksum calculation bug.
Wed, Dec 17, 4:17 PM

Thu, Dec 11

tuexen added a comment to D53832: TCP Stacks, Improve rack to better handle reordering.

How does this algorithm relate to the reordering tolerance of RACK defined by step 4 of RFC 8985?

Thu, Dec 11, 10:09 PM

Thu, Dec 4

tuexen accepted D54072: tcp: retire do_newsack - always adhere to RFC6675.
Thu, Dec 4, 7:19 PM

Thu, Nov 27

tuexen accepted D53941: bnxt: set hardware checksum only if required.
Thu, Nov 27, 2:32 PM · network

Nov 24 2025

tuexen added inline comments to D51792: tcp: store flowid info in syncache.
Nov 24 2025, 9:52 PM

Nov 23 2025

tuexen accepted D53886: tcp: don't set flowid in tcp_input().

Would it make sense to replace the code with a KASSERT, that ensures that the inp_flowtype is not M_HASHTYPE_NONE on non-listening socket.

Nov 23 2025, 9:00 AM
tuexen accepted D51792: tcp: store flowid info in syncache.
Nov 23 2025, 8:51 AM

Nov 21 2025

tuexen added a comment to D53516: Update ip_ecn to RFC 6040.

Please rebase to main.

Nov 21 2025, 8:04 AM
tuexen committed rGf2582653a429: ip: use standard C types for ECN helper functions (authored by p.mousavizadeh_protonmail.com).
ip: use standard C types for ECN helper functions
Nov 21 2025, 8:03 AM
tuexen closed D53739: Update ip_ecn to use C standard types.
Nov 21 2025, 8:02 AM
tuexen accepted D53739: Update ip_ecn to use C standard types.
Nov 21 2025, 7:54 AM

Nov 17 2025

tuexen added a comment to D53739: Update ip_ecn to use C standard types.

Thank you @rscheff and @zlei
I'm not a committer. Could you please commit this or you want to wait for D53516?

Nov 17 2025, 8:15 PM
tuexen accepted D53739: Update ip_ecn to use C standard types.
Nov 17 2025, 8:05 PM

Nov 12 2025

tuexen committed rG0fb0ba51d8bc: vtnet: fix enabling/disabling tso (authored by tuexen).
vtnet: fix enabling/disabling tso
Nov 12 2025, 8:41 AM
tuexen committed rG0ef06b5bccf4: vtnet: don't provide VIRTIO_NET_HDR_F_DATA_VALID (authored by tuexen).
vtnet: don't provide VIRTIO_NET_HDR_F_DATA_VALID
Nov 12 2025, 8:41 AM
tuexen committed rG52df18d91b83: vtnet: fix enabling/disabling tso (authored by tuexen).
vtnet: fix enabling/disabling tso
Nov 12 2025, 8:40 AM
tuexen committed rGca38822e05d7: vtnet: don't provide VIRTIO_NET_HDR_F_DATA_VALID (authored by tuexen).
vtnet: don't provide VIRTIO_NET_HDR_F_DATA_VALID
Nov 12 2025, 8:39 AM

Nov 10 2025

tuexen committed rGff9dbbc2c6f4: tcp: improve comments in the syncache code (authored by tuexen).
tcp: improve comments in the syncache code
Nov 10 2025, 7:58 PM
tuexen committed rG7cd81bf4e74f: tcp: improve comments in the syncache code (authored by tuexen).
tcp: improve comments in the syncache code
Nov 10 2025, 7:57 PM
tuexen committed rGb5a4cc3f4331: ddb: provide inp_flags2 when printing inpcbs (authored by tuexen).
ddb: provide inp_flags2 when printing inpcbs
Nov 10 2025, 7:56 PM
tuexen committed rGe082156ae14b: tcp: drop SYN ACK segment for listening sockets (authored by tuexen).
tcp: drop SYN ACK segment for listening sockets
Nov 10 2025, 7:56 PM
tuexen committed rG21780b009b39: ddb: provide inp_flags2 when printing inpcbs (authored by tuexen).
ddb: provide inp_flags2 when printing inpcbs
Nov 10 2025, 7:56 PM
tuexen committed rGb1ed408e0346: tcp: drop SYN ACK segment for listening sockets (authored by tuexen).
tcp: drop SYN ACK segment for listening sockets
Nov 10 2025, 7:56 PM
tuexen committed rG44305e736871: ddb: use %b when showing flags for an inp (authored by tuexen).
ddb: use %b when showing flags for an inp
Nov 10 2025, 7:52 PM
tuexen committed rG1ccc6de2d215: ddb: use %b when showing flags for an inp (authored by tuexen).
ddb: use %b when showing flags for an inp
Nov 10 2025, 7:52 PM
tuexen committed rG1d767ecd4a9a: ddb: use %b when showing flags for a tcpcb (authored by tuexen).
ddb: use %b when showing flags for a tcpcb
Nov 10 2025, 7:43 PM
tuexen committed rG3f75cdcd3979: ddb: use %b when showing flags for a tcpcb (authored by tuexen).
ddb: use %b when showing flags for a tcpcb
Nov 10 2025, 7:43 PM
tuexen committed rGca35cee7c388: ddb: improve printing of inp_flags (authored by tuexen).
ddb: improve printing of inp_flags
Nov 10 2025, 7:35 PM
tuexen committed rG8236a5ef8910: ddb: improve printing of inp_flags (authored by tuexen).
ddb: improve printing of inp_flags
Nov 10 2025, 7:35 PM
tuexen committed rG117e70a21f7a: ddb: optionally print inp when printing tcpcb (authored by tuexen).
ddb: optionally print inp when printing tcpcb
Nov 10 2025, 7:34 PM
tuexen committed rGd463a4c4bb1f: ddb: optionally print inp when printing tcpcb (authored by tuexen).
ddb: optionally print inp when printing tcpcb
Nov 10 2025, 7:33 PM
tuexen committed rG6f92ed52e9de: ddb: whitespace change (authored by tuexen).
ddb: whitespace change
Nov 10 2025, 7:31 PM
tuexen committed rGc64b00a1fa8c: ddb: whitespace change (authored by tuexen).
ddb: whitespace change
Nov 10 2025, 7:30 PM
tuexen added inline comments to D53629: vtnet: fix enabling/disabling tso.
Nov 10 2025, 3:43 PM
tuexen closed D53629: vtnet: fix enabling/disabling tso.
Nov 10 2025, 3:41 PM
tuexen committed rG4c50ac68166c: vtnet: fix enabling/disabling tso (authored by tuexen).
vtnet: fix enabling/disabling tso
Nov 10 2025, 3:41 PM
tuexen closed D53650: vtnet: don't provide VIRTIO_NET_HDR_F_DATA_VALID.
Nov 10 2025, 3:30 PM
tuexen committed rG836b3cd9d791: vtnet: don't provide VIRTIO_NET_HDR_F_DATA_VALID (authored by tuexen).
vtnet: don't provide VIRTIO_NET_HDR_F_DATA_VALID
Nov 10 2025, 3:30 PM

Nov 9 2025

tuexen requested review of D53650: vtnet: don't provide VIRTIO_NET_HDR_F_DATA_VALID.
Nov 9 2025, 8:26 PM

Nov 7 2025

tuexen updated the summary of D53629: vtnet: fix enabling/disabling tso.
Nov 7 2025, 3:31 PM
tuexen committed rG17fb082104ee: tcp: improve comments in the syncache code (authored by tuexen).
tcp: improve comments in the syncache code
Nov 7 2025, 3:31 PM
tuexen closed D53564: tcp: minor cleanup of syncache code.
Nov 7 2025, 3:31 PM
tuexen updated the diff for D53629: vtnet: fix enabling/disabling tso.

Use the correct sequence sequence of check and action.

Nov 7 2025, 12:06 PM

Nov 6 2025

tuexen updated the summary of D53629: vtnet: fix enabling/disabling tso.
Nov 6 2025, 11:44 PM
tuexen updated the summary of D53629: vtnet: fix enabling/disabling tso.
Nov 6 2025, 11:43 PM
tuexen updated the diff for D53629: vtnet: fix enabling/disabling tso.
Nov 6 2025, 11:40 PM
tuexen abandoned D53629: vtnet: fix enabling/disabling tso.
Nov 6 2025, 11:37 PM
tuexen requested review of D53629: vtnet: fix enabling/disabling tso.
Nov 6 2025, 11:11 PM
tuexen updated the diff for D53564: tcp: minor cleanup of syncache code.

Only improve comments.

Nov 6 2025, 12:58 AM

Nov 5 2025

tuexen added a comment to D53564: tcp: minor cleanup of syncache code.

Maybe we want separate counters for:

  • syncache_repsonse() failed
  • syncache entries are dropped.

Yes, this is the way to go! Can you please commit this revision as comment change only and create a new one that would make two counters and improve descriptions in netstat?

Nov 5 2025, 6:37 PM

Nov 4 2025

tuexen added a comment to D53564: tcp: minor cleanup of syncache code.

I see your logic, but then we need to reformat netstat, too. And that probably shouldn't get MFC-ed to stable/15.

2 syncache entries added
        0 retransmitted
        0 dupsyn
        0 dropped
        2 completed
        0 bucket overflow
        0 cache overflow
        0 reset
        0 stale
        0 aborted
        0 badack
        0 unreach
        0 zone failures
2 cookies sent
        0 cookies received
        0 spurious cookies rejected
        0 failed cookies rejected

We don't want dropped to grow as challenge ack sending fails.

Nov 4 2025, 7:50 PM
tuexen added a comment to D53564: tcp: minor cleanup of syncache code.

In the third case we also drop. In the first two cases we called syncache_drop() that would unlink and free the entry. In the third case we have already allocated an entry and we were about to link it in, but we resulted in freeing it.

The third case is only a drop, if we have allocated an entry. If we are using syncookies, we also increment the counter if the syncache_response() call failed.

The suggested fourth case is in its nature different to the first three.

This depends on the semantic of the counter:

  • if the semantic is "reply is dropped", it is the same and it should be incremented.
  • if the semantic is "syncache entry is dropped", it is not the same and the third pattern should be changed to increment the counter only if we are actually calling syncache_free().
Nov 4 2025, 7:39 PM
tuexen added a comment to D53564: tcp: minor cleanup of syncache code.

tcp_var.h is not source of truth here! This file and also netstat(1) are. In this file the counter only is updated when we indeed drop. In netstat counter is reported to user as "dropped". This change should be a comment only change.

Nov 4 2025, 6:32 PM

Nov 3 2025

tuexen requested review of D53564: tcp: minor cleanup of syncache code.
Nov 3 2025, 6:38 PM
tuexen committed rG5f43b0cb7c3c: ddb: provide inp_flags2 when printing inpcbs (authored by tuexen).
ddb: provide inp_flags2 when printing inpcbs
Nov 3 2025, 3:20 PM
tuexen closed D53542: ddb: provide inp_flags2 when printing inpcbs.
Nov 3 2025, 3:19 PM
tuexen committed rG239464e99321: tcp: drop SYN ACK segment for listening sockets (authored by tuexen).
tcp: drop SYN ACK segment for listening sockets
Nov 3 2025, 2:54 PM
tuexen closed D53540: tcp: drop SYN ACK segment for listening sockets.
Nov 3 2025, 2:54 PM
tuexen added inline comments to D53542: ddb: provide inp_flags2 when printing inpcbs.
Nov 3 2025, 2:48 PM
tuexen updated the diff for D53542: ddb: provide inp_flags2 when printing inpcbs.

Use the correct variable: inp->inp_flags2.

Nov 3 2025, 2:47 PM

Nov 2 2025

tuexen closed D50858: TCP without LRO doing static pacing does not always pace as expected..

This was committed in f3bba8cd62f2.

Nov 2 2025, 9:58 PM
tuexen requested review of D53542: ddb: provide inp_flags2 when printing inpcbs.
Nov 2 2025, 9:24 PM
tuexen committed rG25aed6401b35: ddb: improve printing of inpcbs (authored by tuexen).
ddb: improve printing of inpcbs
Nov 2 2025, 9:21 PM
tuexen closed D53541: ddb: improve printing of inpcbs.
Nov 2 2025, 9:21 PM
tuexen requested review of D53541: ddb: improve printing of inpcbs.
Nov 2 2025, 8:42 PM
tuexen committed rG8e8956f7f997: ddb: use %b when showing flags for a tcpcb (authored by tuexen).
ddb: use %b when showing flags for a tcpcb
Nov 2 2025, 8:18 PM
tuexen closed D53510: ddb: use %b when showing flags for a tcpcb.
Nov 2 2025, 8:18 PM
tuexen committed rGe8c50058e8d0: ddb: use %b when showing flags for an inp (authored by tuexen).
ddb: use %b when showing flags for an inp
Nov 2 2025, 8:15 PM
tuexen closed D53507: ddb: use %b when showing flags for an inp .
Nov 2 2025, 8:15 PM
tuexen requested review of D53540: tcp: drop SYN ACK segment for listening sockets.
Nov 2 2025, 7:48 PM

Oct 31 2025

tuexen added a comment to D53498: ddb: improve printing of inp_flags.

This code should really use %b, as documented in printf(9).

I agree. But we have this kind of code in more than one place. I can take a look.

Have a look at D53507 and D53510 which does this in the networking related files.

remove one flag (INP_ORIGDSTADDR), which is actually a flag used in inp_flags2 and not in inp_flags.

Don't we want to print inp_flags2 as well? BTW, it seems very easy to use the wrong flag field. It should at least be called INP2_ORIGDSTADDR or something like that.

Yes, we want to print inp_flags2, too. This will be a separate change. And I agree with your proposed name change. There is something like INP_2PCP_SET, but I would prefer something like INP2_PCP_SET or INP_2_PCP_SET. Any preference?

Oct 31 2025, 10:56 PM
tuexen requested review of D53510: ddb: use %b when showing flags for a tcpcb.
Oct 31 2025, 10:53 PM
tuexen updated the diff for D53507: ddb: use %b when showing flags for an inp .

Use tabs consistently.

Oct 31 2025, 8:42 PM