Hi,

I am trying to force the set of BBR congestion control as default.
My old linux-config uses CUBIC as default.
I want both BBR and CUBIC to be built but BBR shall be my default.

I tried the below snippet.

I refresh my new linux-config like this...

$ MAKE="make V=1" ; COMPILER="mycompiler" ; MAKE_OPTS="CC=$COMPILER
HOSTCC=$COMPILER" ; yes "" | $MAKE $MAKE_OPTS oldconfig && $MAKE
$MAKE_OPTS silentoldconfig < /dev/null

What am I doing wrong?

Thanks in advance.

Regards,
- Sedat -

P.S.: Patch snippet

--- a/net/ipv4/Kconfig
+++ b/net/ipv4/Kconfig
@@ -642,7 +642,7 @@ config TCP_CONG_CDG

 config TCP_CONG_BBR
        tristate "BBR TCP"
-       default n
+       default y
        ---help---

        BBR (Bottleneck Bandwidth and RTT) TCP congestion control aims to
@@ -657,7 +657,7 @@ config TCP_CONG_BBR

 choice
        prompt "Default TCP congestion control"
-       default DEFAULT_CUBIC
+       default DEFAULT_BBR
        help
          Select the TCP congestion control that will be used by default
          for all connections.
@@ -716,7 +716,7 @@ config DEFAULT_TCP_CONG
        default "dctcp" if DEFAULT_DCTCP
        default "cdg" if DEFAULT_CDG
        default "bbr" if DEFAULT_BBR
-       default "cubic"
+       default "bbr"

 config TCP_MD5SIG
        bool "TCP: MD5 Signature Option support (RFC2385)"

- EOT -

Reply via email to