Bladeren bron

Add GitHub action to configure bbrv1 in kernel

This action enables the addition of bbrv1 configurations to the kernel's defconfig.
jimsterino98 4 maanden geleden
bovenliggende
commit
9956d037d5
1 gewijzigde bestanden met toevoegingen van 20 en 0 verwijderingen
  1. 20 0
      .github/actions/bbr/action.yml

+ 20 - 0
.github/actions/bbr/action.yml

@@ -0,0 +1,20 @@
+name: add bbrv1
+description: enable configs to add bbrv1 to kernel
+
+runs:
+ using: composite
+ steps:
+  - name: add bbr configs to defconfig
+    shell: bash
+    run: |
+     cat >> "$GKI_DEFCONFIG" << 'EOF'
+     # Add bbrv1
+     CONFIG_NET_SCH_FQ=y
+     CONFIG_TCP_CONG_ADVANCED=y
+     CONFIG_TCP_CONG_BBR=y
+     CONFIG_TCP_CONG_CUBIC=y
+     CONFIG_DEFAULT_CUBIC=y
+     # CONFIG_TCP_CONG_BIC is not set
+     # CONFIG_TCP_CONG_WESTWOOD is not set
+     # CONFIG_TCP_CONG_HTCP is not set
+     EOF