Page MenuHomeFreeBSD

tuexen (Michael Tuexen)
User

Projects

User Details

User Since
Feb 4 2016, 4:45 PM (509 w, 6 d)

Recent Activity

Yesterday

tuexen committed rG0fb0ba51d8bc: vtnet: fix enabling/disabling tso (authored by tuexen).
vtnet: fix enabling/disabling tso
Wed, Nov 12, 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
Wed, Nov 12, 8:41 AM
tuexen committed rG52df18d91b83: vtnet: fix enabling/disabling tso (authored by tuexen).
vtnet: fix enabling/disabling tso
Wed, Nov 12, 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
Wed, Nov 12, 8:39 AM

Mon, Nov 10

tuexen committed rGff9dbbc2c6f4: tcp: improve comments in the syncache code (authored by tuexen).
tcp: improve comments in the syncache code
Mon, Nov 10, 7:58 PM
tuexen committed rG7cd81bf4e74f: tcp: improve comments in the syncache code (authored by tuexen).
tcp: improve comments in the syncache code
Mon, Nov 10, 7:57 PM
tuexen committed rGb5a4cc3f4331: ddb: provide inp_flags2 when printing inpcbs (authored by tuexen).
ddb: provide inp_flags2 when printing inpcbs
Mon, Nov 10, 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
Mon, Nov 10, 7:56 PM
tuexen committed rG21780b009b39: ddb: provide inp_flags2 when printing inpcbs (authored by tuexen).
ddb: provide inp_flags2 when printing inpcbs
Mon, Nov 10, 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
Mon, Nov 10, 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
Mon, Nov 10, 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
Mon, Nov 10, 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
Mon, Nov 10, 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
Mon, Nov 10, 7:43 PM
tuexen committed rGca35cee7c388: ddb: improve printing of inp_flags (authored by tuexen).
ddb: improve printing of inp_flags
Mon, Nov 10, 7:35 PM
tuexen committed rG8236a5ef8910: ddb: improve printing of inp_flags (authored by tuexen).
ddb: improve printing of inp_flags
Mon, Nov 10, 7:35 PM
tuexen committed rG117e70a21f7a: ddb: optionally print inp when printing tcpcb (authored by tuexen).
ddb: optionally print inp when printing tcpcb
Mon, Nov 10, 7:34 PM
tuexen committed rGd463a4c4bb1f: ddb: optionally print inp when printing tcpcb (authored by tuexen).
ddb: optionally print inp when printing tcpcb
Mon, Nov 10, 7:33 PM
tuexen committed rG6f92ed52e9de: ddb: whitespace change (authored by tuexen).
ddb: whitespace change
Mon, Nov 10, 7:31 PM
tuexen committed rGc64b00a1fa8c: ddb: whitespace change (authored by tuexen).
ddb: whitespace change
Mon, Nov 10, 7:30 PM
tuexen added inline comments to D53629: vtnet: fix enabling/disabling tso.
Mon, Nov 10, 3:43 PM
tuexen closed D53629: vtnet: fix enabling/disabling tso.
Mon, Nov 10, 3:41 PM
tuexen committed rG4c50ac68166c: vtnet: fix enabling/disabling tso (authored by tuexen).
vtnet: fix enabling/disabling tso
Mon, Nov 10, 3:41 PM
tuexen closed D53650: vtnet: don't provide VIRTIO_NET_HDR_F_DATA_VALID.
Mon, Nov 10, 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
Mon, Nov 10, 3:30 PM

Sun, Nov 9

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

Fri, Nov 7

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

Use the correct sequence sequence of check and action.

Fri, Nov 7, 12:06 PM

Thu, Nov 6

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

Only improve comments.

Thu, Nov 6, 12:58 AM

Wed, Nov 5

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?

Wed, Nov 5, 6:37 PM

Tue, Nov 4

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.

Tue, Nov 4, 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().
Tue, Nov 4, 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.

Tue, Nov 4, 6:32 PM

Mon, Nov 3

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

Use the correct variable: inp->inp_flags2.

Mon, Nov 3, 2:47 PM

Sun, Nov 2

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

This was committed in f3bba8cd62f2.

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

Fri, Oct 31

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?

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

Use tabs consistently.

Fri, Oct 31, 8:42 PM
tuexen updated the diff for D53507: ddb: use %b when showing flags for an inp .

Whitespace change.

Fri, Oct 31, 8:41 PM
tuexen requested review of D53507: ddb: use %b when showing flags for an inp .
Fri, Oct 31, 8:38 PM
tuexen committed rG259b69ad3dd6: ddb: fix compilation (authored by tuexen).
ddb: fix compilation
Fri, Oct 31, 7:22 PM
tuexen committed rG4b555b56edfd: tcp: improve credential handling in syncache (authored by tuexen).
tcp: improve credential handling in syncache
Fri, Oct 31, 7:16 PM
tuexen committed rG984a58c13166: udp: honor IPV6_TCLASS cmsg for UDP/IPv4 packets (authored by tuexen).
udp: honor IPV6_TCLASS cmsg for UDP/IPv4 packets
Fri, Oct 31, 7:13 PM
tuexen committed rG3aa6981e658b: udp: honor IPV6_TCLASS socket option for UDP/IPv4 packets (authored by tuexen).
udp: honor IPV6_TCLASS socket option for UDP/IPv4 packets
Fri, Oct 31, 7:12 PM
tuexen committed rG6c31df0a2faa: tcp: save progress timeout cause in connection end status (authored by peter.lei_ieee.org).
tcp: save progress timeout cause in connection end status
Fri, Oct 31, 7:11 PM
tuexen committed rGc63d587365eb: tcp over udp: don't copy more bytes than avaiable (authored by tuexen).
tcp over udp: don't copy more bytes than avaiable
Fri, Oct 31, 7:10 PM
tuexen committed rGa0b91ae49c19: netstat: add support for UDP-Lite endpoints (authored by tuexen).
netstat: add support for UDP-Lite endpoints
Fri, Oct 31, 7:09 PM
tuexen committed rG23cda744e4da: sockstat: add support for UDP-Lite endpoints (authored by tuexen).
sockstat: add support for UDP-Lite endpoints
Fri, Oct 31, 7:04 PM
tuexen committed rG63d9216a6968: UDP-Lite: export pcblist via sysctl interface (authored by tuexen).
UDP-Lite: export pcblist via sysctl interface
Fri, Oct 31, 6:42 PM
tuexen committed rG9f4289611fa2: tcp: fix typo in comment (authored by peter.lei_ieee.org).
tcp: fix typo in comment
Fri, Oct 31, 6:41 PM
tuexen committed rGf7a7c2026ccb: sockstat: show path state column only when useful (authored by tuexen).
sockstat: show path state column only when useful
Fri, Oct 31, 6:36 PM
tuexen committed rG9aa5a79e2af9: ddb: optionally print inp when printing tcpcb (authored by tuexen).
ddb: optionally print inp when printing tcpcb
Fri, Oct 31, 6:08 PM
tuexen closed D53497: ddb: optionally print inp when printing tcpcb.
Fri, Oct 31, 6:08 PM
tuexen committed rG3adaacad117b: ddb: whitespace change (authored by tuexen).
ddb: whitespace change
Fri, Oct 31, 6:04 PM
tuexen accepted D53497: ddb: optionally print inp when printing tcpcb.
Fri, Oct 31, 6:04 PM
tuexen committed rGfee2e6b9fae2: ddb: improve printing of inp_flags (authored by tuexen).
ddb: improve printing of inp_flags
Fri, Oct 31, 6:01 PM
tuexen closed D53498: ddb: improve printing of inp_flags.
Fri, Oct 31, 6:01 PM
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.

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?

Fri, Oct 31, 5:57 PM
tuexen requested review of D53498: ddb: improve printing of inp_flags.
Fri, Oct 31, 3:06 PM
tuexen added inline comments to D53497: ddb: optionally print inp when printing tcpcb.
Fri, Oct 31, 2:57 PM
tuexen updated the diff for D53497: ddb: optionally print inp when printing tcpcb.

Address Mark's comment.

Fri, Oct 31, 2:56 PM
tuexen requested review of D53497: ddb: optionally print inp when printing tcpcb.
Fri, Oct 31, 2:38 PM
tuexen committed rG44ad7d4844b7: tcp: remove unused define (authored by peter.lei_ieee.org).
tcp: remove unused define
Fri, Oct 31, 1:34 PM

Wed, Oct 29

tuexen committed rG9611bf2fed71: tcp: improve credential handling in syncache (authored by tuexen).
tcp: improve credential handling in syncache
Wed, Oct 29, 9:14 AM
tuexen committed rGe31ff080e5d5: udp: honor IPV6_TCLASS cmsg for UDP/IPv4 packets (authored by tuexen).
udp: honor IPV6_TCLASS cmsg for UDP/IPv4 packets
Wed, Oct 29, 9:13 AM
tuexen committed rG8f5162f6fc1c: udp: honor IPV6_TCLASS socket option for UDP/IPv4 packets (authored by tuexen).
udp: honor IPV6_TCLASS socket option for UDP/IPv4 packets
Wed, Oct 29, 9:12 AM

Mon, Oct 27

tuexen committed rG6b81787240d8: tcp: save progress timeout cause in connection end status (authored by peter.lei_ieee.org).
tcp: save progress timeout cause in connection end status
Mon, Oct 27, 10:50 PM
tuexen committed rG8856e55b4746: tcp rack: cleanup (authored by peter.lei_ieee.org).
tcp rack: cleanup
Mon, Oct 27, 10:49 PM
tuexen committed rG44cb1e857f04: tcp: improve credential handling in syncache (authored by tuexen).
tcp: improve credential handling in syncache
Mon, Oct 27, 10:37 PM
tuexen closed D53380: tcp: improve credential handling in syncache.
Mon, Oct 27, 10:37 PM
tuexen accepted D53380: tcp: improve credential handling in syncache.
Mon, Oct 27, 10:31 PM
tuexen requested review of D53380: tcp: improve credential handling in syncache.
Mon, Oct 27, 6:01 PM

Sun, Oct 26

tuexen closed D53347: udp: honor IPV6_TCLASS cmsg for UDP/IPv4 packets.
Sun, Oct 26, 6:01 PM
tuexen committed rGd3a3854fdc6e: udp: honor IPV6_TCLASS cmsg for UDP/IPv4 packets (authored by tuexen).
udp: honor IPV6_TCLASS cmsg for UDP/IPv4 packets
Sun, Oct 26, 6:01 PM
tuexen committed rG3535546a8684: udp: honor IPV6_TCLASS socket option for UDP/IPv4 packets (authored by tuexen).
udp: honor IPV6_TCLASS socket option for UDP/IPv4 packets
Sun, Oct 26, 5:56 PM
tuexen closed D53346: udp: honor IPV6_TCLASS socket option for UDP/IPv4 packets.
Sun, Oct 26, 5:56 PM
tuexen accepted D53347: udp: honor IPV6_TCLASS cmsg for UDP/IPv4 packets.
Sun, Oct 26, 5:55 PM
tuexen accepted D53346: udp: honor IPV6_TCLASS socket option for UDP/IPv4 packets.
Sun, Oct 26, 5:49 PM