Page MenuHomeFreeBSD
Feed Advanced Search

Sep 17 2024

cc updated the diff for D46546: cc_cubic: use newreno to emulate AIMD in TCP-friendly region.

re-base after commit b6c137de0af1

Sep 17 2024, 2:04 PM
cc committed rGb6c137de0af1: tcp cc: re-organize newreno functions into parts that can be re-used (authored by cc).
tcp cc: re-organize newreno functions into parts that can be re-used
Sep 17 2024, 1:59 PM
cc closed D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Sep 17 2024, 1:58 PM
cc updated the diff for D46046: tcp cc: re-organize newreno functions into parts that can be re-used.

update function names based on Michael's suggestion

Sep 17 2024, 1:46 PM

Sep 5 2024

cc retitled D46046: tcp cc: re-organize newreno functions into parts that can be re-used from cc_cubic: use newreno to emulate AIMD in TCP-friendly region to tcp cc: re-organize newreno functions into parts that can be re-used.
Sep 5 2024, 7:10 PM
cc updated the diff for D46046: tcp cc: re-organize newreno functions into parts that can be re-used.

split this patch into two parts: this patch and D46546

Sep 5 2024, 7:06 PM
cc updated the summary of D46546: cc_cubic: use newreno to emulate AIMD in TCP-friendly region.
Sep 5 2024, 6:58 PM
cc requested review of D46546: cc_cubic: use newreno to emulate AIMD in TCP-friendly region.
Sep 5 2024, 6:56 PM
cc updated the diff for D46046: tcp cc: re-organize newreno functions into parts that can be re-used.

re-base

Sep 5 2024, 6:34 PM
cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Sep 5 2024, 6:26 PM

Sep 4 2024

cc accepted D46428: tcp: improve consistency of syncache_respond() failure handling.
Sep 4 2024, 11:47 PM
cc accepted D46428: tcp: improve consistency of syncache_respond() failure handling.

Besides, I am wondering if TCPSTAT_INC(tcps_sndacks) and TCPSTAT_INC(tcps_sndtotal) consistency can also be improved after successful syncache_respond().

Sep 4 2024, 7:20 PM

Sep 3 2024

cc added a comment to D43355: tcp: fix erroneous transmission selection after RTO w/ SACK incoming.

Your summary section claims "In addition, cwnd used to be 1 MSS right after RTO, increasing to 2 MSS more recently." But I could not find the code change where cwnd is changed to 2MSS after RTO. Please elaborate if the summary needs to be revised or I am missing the point.

Sep 3 2024, 6:32 PM

Aug 26 2024

cc accepted D46437: tcpsso: remove support for some IPPROTO_TCP-level socket option names.
Aug 26 2024, 7:40 PM
cc added a comment to D46437: tcpsso: remove support for some IPPROTO_TCP-level socket option names.

Are you planning to remove the corresponding code in kernel space in a separate patch?

Aug 26 2024, 1:49 PM
cc accepted D46427: tcp rack, bbr: improve handling of soft errors.
Aug 26 2024, 12:46 PM

Aug 22 2024

cc accepted D46408: tcp: fix format of sysctl-variable.

reference in SYSCTL(9)

Aug 22 2024, 12:42 PM

Aug 15 2024

cc committed rG8cc528c682d7: tcp cc: clean up some un-used cc_var flags (authored by cc).
tcp cc: clean up some un-used cc_var flags
Aug 15 2024, 1:35 PM
cc closed D46299: tcp cc: clean up some un-used cc_var flags.
Aug 15 2024, 1:35 PM

Aug 14 2024

cc requested review of D46299: tcp cc: clean up some un-used cc_var flags.
Aug 14 2024, 7:32 PM

Aug 11 2024

cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Aug 11 2024, 8:06 PM

Aug 10 2024

cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Aug 10 2024, 2:20 PM
cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Aug 10 2024, 2:20 PM
cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Aug 10 2024, 2:14 PM
cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Aug 10 2024, 1:56 PM
cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Aug 10 2024, 1:55 PM

Aug 8 2024

cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Aug 8 2024, 6:49 PM
cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Aug 8 2024, 5:45 PM
cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Aug 8 2024, 2:37 PM
cc updated the test plan for D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Aug 8 2024, 2:35 PM
cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Aug 8 2024, 2:34 PM
cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Aug 8 2024, 2:34 PM

Aug 7 2024

cc accepted D46240: tcp: minor cleanup.
Aug 7 2024, 3:51 PM
cc accepted D46068: rack, bbr: cleanup ack throttling.
Aug 7 2024, 3:42 PM

Aug 6 2024

cc accepted D46222: ddb: update printing of t_flags and tflags2.
Aug 6 2024, 4:52 PM

Jul 29 2024

cc accepted D46143: tcp: inherit CC algorithm from listener.

Thought for a while if these new lines can be wrapped into a new function like try_cc_attach_from_listener(), but it looks to be unnecessary.

Jul 29 2024, 2:51 PM
cc accepted D46141: tcp: retire sysctl variable functions_inherit_listen_socket_stack.

LGTM.
I think for those who want newly accepted connections to use a "new" default stack, there is a mechanism using tcpsso that could be used to (attempt to) change the listening socket's stack so that new connections use that stack. This would need to be run for all desired listening sockets though.

Jul 29 2024, 2:12 PM

Jul 26 2024

cc added a comment to D46141: tcp: retire sysctl variable functions_inherit_listen_socket_stack.

This change seems to revert the commit 6134aabe38c8. Is there any behavior change on V_functions_inherit_listen_socket_stack == 0 after this change? Is the TCP function block from the listener changed dynamically once the default stack is changed?

Jul 26 2024, 4:19 PM
cc accepted D46140: tcp: make sysctl variables ack_war_timewindow and ack_war_cnt vnet specific.

ship after update

Jul 26 2024, 3:29 PM
cc accepted D46142: cc: remove non-working sctp support.

Looks good to me, after the comment update for struct cc_var.

Jul 26 2024, 2:31 PM

Jul 25 2024

cc committed rG9565854ab408: cc_cubic: remove the redundant variable num_cong_events from struct cubic. (authored by cc).
cc_cubic: remove the redundant variable num_cong_events from struct cubic.
Jul 25 2024, 5:14 PM
cc closed D46042: cc_cubic: remove the redundant variable num_cong_events from struct cubic..
Jul 25 2024, 5:14 PM
cc added a comment to D46066: tcp: implement throttling of challenge ACKs.
In D46066#1050919, @cc wrote:

Just saw https://reviews.freebsd.org/D46068. If this patch has not been committed, we can still further revise it, so that D46068 can be cleaner on function re-use.

I think the logic here can be split into two functions, such that the refined logic 1 on checking if we should send ACK can be re-used across multiple places.

logic 1:

bool
is_ack_unlimited(struct tcpcb *tp)
{
    /* focus on checking the epoch and
     * if should send ACK, return true; else return false
     */ 
}

logic 2:

void
tcp_send_challenge_ack(struct tcpcb *tp, struct tcphdr *th, struct mbuf *m)
{
    if (is_ack_unlimited(tp)) {.
       tcp_respond();
    ....
    }
}

I don't get the point. Eventually, all places should use tcp_send_challenge_ack(), I think. But that is multiple commits away.

Jul 25 2024, 2:03 PM

Jul 24 2024

cc requested changes to D46068: rack, bbr: cleanup ack throttling.
Jul 24 2024, 6:44 PM
cc added a comment to D46066: tcp: implement throttling of challenge ACKs.

Just saw https://reviews.freebsd.org/D46068. If this patch has not been committed, we can still further revise it, so that D46068 can be cleaner on function re-use.

Jul 24 2024, 6:43 PM
cc added a reviewer for D46046: tcp cc: re-organize newreno functions into parts that can be re-used: transport.
Jul 24 2024, 4:23 PM
cc updated the test plan for D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Jul 24 2024, 4:23 PM
cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Jul 24 2024, 2:07 PM
cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Jul 24 2024, 2:04 PM
cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Jul 24 2024, 2:03 PM
cc added inline comments to D46066: tcp: implement throttling of challenge ACKs.
Jul 24 2024, 1:53 PM
cc accepted D46066: tcp: implement throttling of challenge ACKs.
Jul 24 2024, 1:24 PM

Jul 23 2024

cc added inline comments to D46066: tcp: implement throttling of challenge ACKs.
Jul 23 2024, 7:58 PM
cc requested changes to D46066: tcp: implement throttling of challenge ACKs.
Jul 23 2024, 6:18 PM
cc updated the diff for D46046: tcp cc: re-organize newreno functions into parts that can be re-used.

code clean up

Jul 23 2024, 3:37 PM

Jul 22 2024

cc added a comment to D45894: tcp: improve SEG.ACK validation.

Thanks for the update. Looks better and just a small concern about TCP_MAXWIN for 65535.

Jul 22 2024, 3:51 PM

Jul 19 2024

cc updated the summary of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Jul 19 2024, 8:12 PM
cc requested review of D46046: tcp cc: re-organize newreno functions into parts that can be re-used.
Jul 19 2024, 8:09 PM
cc requested review of D46042: cc_cubic: remove the redundant variable num_cong_events from struct cubic..
Jul 19 2024, 4:24 PM

Jul 16 2024

cc added a comment to D45894: tcp: improve SEG.ACK validation.

After reading the paper and IETF slides, it looks good to me on top of the general view. Just some small concerns below.

Jul 16 2024, 4:38 PM

Jul 12 2024

cc accepted D45947: tcp: refactor register_tcp_functions_as_names().

Thanks for the update! Looks good to me.

Jul 12 2024, 3:04 PM
cc added a comment to D45947: tcp: refactor register_tcp_functions_as_names().

Over all looks good to me. Thanks for the update.

Jul 12 2024, 2:29 PM

Jul 11 2024

cc requested changes to D45947: tcp: refactor register_tcp_functions_as_names().
Jul 11 2024, 2:22 PM

Jun 18 2024

cc added a comment to D41715: tcp: Align cubic cc with rfc9438.

I started to draft the results into wiki pages from testing this patch. Please let me know any metrics you would like to see.

Jun 18 2024, 5:01 PM

Jun 7 2024

cc accepted D44936: wlan: update drivers to use ieee80211_set_hardware_ciphers().

Other than the comment wording like "rtwn supports the default set of net80211 supported ciphers (IEEE80211_CRYPTO_[WEP, TKIP, AES_CCM])", looks good to me.

Jun 7 2024, 12:12 PM · wireless

Jun 5 2024

cc added inline comments to D44936: wlan: update drivers to use ieee80211_set_hardware_ciphers().
Jun 5 2024, 3:55 PM · wireless

Jun 4 2024

cc accepted D43967: LinuxKPI: 802.11: close race lkpi_sta_scan_to_auth()/(*iv_update_bss)().

Looks good to me. :)

Jun 4 2024, 2:21 PM

May 17 2024

cc requested changes to D41715: tcp: Align cubic cc with rfc9438.
May 17 2024, 8:23 PM

May 15 2024

cc added a comment to D41715: tcp: Align cubic cc with rfc9438.

Start to pick up slowly about where I left, and touch the water. :)

May 15 2024, 1:35 PM

May 13 2024

cc added inline comments to D45178: linuxkpi: sk_buff: Resize the control buffer in struct sk_buff..
May 13 2024, 4:34 PM
cc requested review of D45178: linuxkpi: sk_buff: Resize the control buffer in struct sk_buff..
May 13 2024, 4:32 PM
cc requested changes to D44936: wlan: update drivers to use ieee80211_set_hardware_ciphers().

I see you made comments of "ieee80211_set_software_ciphers() is not needed" in if_rtwn.c. Do you mind to add it in the rest of the drivers files? Or is there any better/central place to put such comment or document it?

May 13 2024, 2:37 PM · wireless

May 7 2024

cc updated the diff for D44463: LinuxKPI: LKPI_80211_HW_CRYPTO: add basic multi-keys support.

update based on bz@ comments

May 7 2024, 3:05 PM

May 6 2024

cc updated the diff for D44463: LinuxKPI: LKPI_80211_HW_CRYPTO: add basic multi-keys support.

rebase before scrutiny check

May 6 2024, 7:17 PM

May 2 2024

cc accepted D44864: net80211: add new ciphers and RSN flags.

Individual accept.

May 2 2024, 5:54 PM · wireless

May 1 2024

cc accepted D44899: net80211: add the 802.11-2016 cipher list to the crypto array set..
May 1 2024, 8:55 PM · wireless
cc added inline comments to D44899: net80211: add the 802.11-2016 cipher list to the crypto array set..
May 1 2024, 7:28 PM · wireless
cc added inline comments to D44899: net80211: add the 802.11-2016 cipher list to the crypto array set..
May 1 2024, 7:25 PM · wireless

Apr 30 2024

cc requested changes to D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.

Just some minor issues.

Apr 30 2024, 7:41 PM · wireless

Apr 29 2024

cc requested changes to D44921: net80211: add 256 bit CCMP support.
Apr 29 2024, 9:00 PM · wireless
cc added inline comments to D44901: net80211: allow a single wlan crypto module to register for >1 cipher.
Apr 29 2024, 5:01 PM · wireless
cc accepted D44901: net80211: allow a single wlan crypto module to register for >1 cipher.

If you have a plan to figure out TEXT_SET(crypto##_set, name##_modevent) and TEXT_SET(ratectl##_set, alg##_modevent), I have no problem with this patch.

Apr 29 2024, 3:53 PM · wireless
cc accepted D44820: net80211: add a new field specifically for announcing specific ciphers.

Cautious individual accept.

Apr 29 2024, 3:13 PM · wireless
cc requested changes to D44864: net80211: add new ciphers and RSN flags.
Apr 29 2024, 2:57 PM · wireless

Apr 26 2024

cc added a comment to D44901: net80211: allow a single wlan crypto module to register for >1 cipher.

I don't get it why this change made a difference in your test. Is it because of the bug I pointed in TEXT_SET ?

Apr 26 2024, 6:16 PM · wireless
cc accepted D44900: net80211: add placeholder module names for the new ciphers.

LGTM

Apr 26 2024, 4:19 PM · wireless
cc added inline comments to D44899: net80211: add the 802.11-2016 cipher list to the crypto array set..
Apr 26 2024, 3:42 PM · wireless
cc requested changes to D44820: net80211: add a new field specifically for announcing specific ciphers.

The rest looks good to me.

Apr 26 2024, 2:18 PM · wireless

Apr 24 2024

cc requested changes to D44864: net80211: add new ciphers and RSN flags.
Apr 24 2024, 8:11 PM · wireless
cc added a comment to D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.
In D44827#1023209, @bz wrote:

eg ath(4) would do something like:

How do you want to implement ath_settkipmic() "nicely" without exposing the field?

oops my bad. it'll be a flag for hardware encryption support! I fixed the code snippet.

Apr 24 2024, 3:17 PM · wireless
cc added a comment to D44820: net80211: add a new field specifically for announcing specific ciphers.

Also do you have any plan to update the man page regarding the new field ic_sw_cryptocaps besides ic_cryptocaps ?

Apr 24 2024, 2:54 PM · wireless
cc added a comment to D44820: net80211: add a new field specifically for announcing specific ciphers.

Also please update the Summary section in this review, i.e. the mentioned new field ic_wpa_cryptocaps is actually the ic_sw_cryptocaps in the code change.

Apr 24 2024, 2:28 PM · wireless
cc accepted D44821: wpa: Remove the now not-needed local logic to hard-code cipher support.

LGTM

Apr 24 2024, 2:23 PM · wireless
cc requested changes to D44820: net80211: add a new field specifically for announcing specific ciphers.

I am intending to give approval, but I am afraid of missing the new response to my review comment for the code comment update. So let's be patient. :)

Apr 24 2024, 2:20 PM · wireless

Apr 23 2024

cc requested changes to D43967: LinuxKPI: 802.11: close race lkpi_sta_scan_to_auth()/(*iv_update_bss)().
Apr 23 2024, 7:17 PM
cc accepted D43966: LinuxKPI: 802.11: lock MO tx/wake_tx_queue() downcalls.
In D43966#1023788, @bz wrote:

@cc Adding LOCK asserts is a very good idea; not all the functions need them if I remember correctly. Should I really add it to this "fix" or should I do a separate full pass on the linux_80211_macops.c file?

Apr 23 2024, 2:09 PM

Apr 17 2024

cc added inline comments to D44820: net80211: add a new field specifically for announcing specific ciphers.
Apr 17 2024, 2:35 PM · wireless

Mar 22 2024

cc added a comment to D44463: LinuxKPI: LKPI_80211_HW_CRYPTO: add basic multi-keys support.

you negotiate it as an extension, and then it's used to switch STA keys without dropping frames.

During association with the AP, sw/hw keys (indexes) are set. And before tx, the hw key is selected by sw key's index returned from ieee80211_crypto_get_txkey(), same way as without LKPI_80211_HW_CRYPTO.

Mar 22 2024, 1:30 PM

Mar 21 2024

cc updated the test plan for D44463: LinuxKPI: LKPI_80211_HW_CRYPTO: add basic multi-keys support.
Mar 21 2024, 10:14 PM
cc updated the summary of D44463: LinuxKPI: LKPI_80211_HW_CRYPTO: add basic multi-keys support.
Mar 21 2024, 10:12 PM