mirror of
https://github.com/outbackdingo/openwrt-builder.git
synced 2026-01-27 10:19:59 +00:00
Change overhead value for SQM; improve GH actions
This commit is contained in:
5
.github/workflows/ax3000t.yaml
vendored
5
.github/workflows/ax3000t.yaml
vendored
@@ -67,7 +67,7 @@ jobs:
|
||||
run: |
|
||||
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/mediatek/mt7981b/ax3000t > .config
|
||||
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/${{ env.ROLE_CONFIG }} >> .config
|
||||
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/snapshot-short >> .config
|
||||
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/snapshot >> .config
|
||||
|
||||
- name: Enable openssl
|
||||
run: |
|
||||
@@ -116,7 +116,8 @@ jobs:
|
||||
with:
|
||||
files: bin/targets/mediatek/filogic/*
|
||||
tag_name: ${{ env.RELEASE_PREFIX }}-${{ env.REMOTE_BRANCH }}-${{ env.RELEASE_DATE }}
|
||||
name: OpenWRT AX3000T ${{ inputs.DEVICE_CONFIG == 'stock' && 'stock layout' || 'u-boot layout' }} - ${{ env.RELEASE_DATE }}
|
||||
name: |
|
||||
OpenWRT AX3000T ${{ inputs.DEVICE_CONFIG == 'stock' && 'stock layout' || 'u-boot layout' }} - ${{ env.RELEASE_DATE }}
|
||||
body: |
|
||||
Updated prebuilt images for AX3000T ${{ inputs.DEVICE_CONFIG == 'stock' && 'stock partition layout' || 'u-boot partition layout' }}
|
||||
|
||||
|
||||
6
.github/workflows/bpi-r4-main_router.yaml
vendored
6
.github/workflows/bpi-r4-main_router.yaml
vendored
@@ -66,13 +66,17 @@ jobs:
|
||||
run: |
|
||||
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/mediatek/mt7988a/bpi-r4 > .config
|
||||
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/main-router >> .config
|
||||
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/snapshot-short >> .config
|
||||
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/snapshot >> .config
|
||||
|
||||
- name: Enable openssl
|
||||
run: |
|
||||
sed -i '/CONFIG_PACKAGE_wpad-mbedtls=y/d' .config
|
||||
curl -SL https://raw.githubusercontent.com/danpawlik/openwrt-builder/master/configs/common/openssl >> .config
|
||||
|
||||
- name: Add librespeed-go
|
||||
run: |
|
||||
echo "CONFIG_PACKAGE_librespeed-go=y" >> .config
|
||||
|
||||
- name: Run defconfig
|
||||
run: |
|
||||
make defconfig
|
||||
|
||||
@@ -40,10 +40,6 @@ config interface wan
|
||||
option nat 1
|
||||
option host_isolate 1
|
||||
option autorate_ingress 0
|
||||
### VLAN or PPPoE => overhead is 44
|
||||
### PPPoE (common for DSL or fiber): 40 bytes (18 bytes Ethernet + 8 bytes PPPoE header + 14 bytes other layers)
|
||||
### Without VLAN or PPPoE => overhead is 18
|
||||
### MPU set 84 or 64.
|
||||
option ingress_options "overhead 18 mpu 84"
|
||||
option egress_options "overhead 18 mpu 84"
|
||||
option ingress_options "overhead 44 mpu 84"
|
||||
option egress_options "overhead 44 mpu 84"
|
||||
option options ""
|
||||
|
||||
@@ -9,11 +9,7 @@ config queue 'eth1'
|
||||
option linklayer 'ethernet'
|
||||
option debug_logging '0'
|
||||
option verbosity '5'
|
||||
### VLAN or PPPoE => overhead is 44
|
||||
### PPPoE (common for DSL or fiber): 40 bytes (18 bytes Ethernet + 8 bytes PPPoE header + 14 bytes other layers)
|
||||
### Without VLAN or PPPoE => 18
|
||||
### MPU set 84 or 64.
|
||||
option overhead '18'
|
||||
option overhead '44'
|
||||
option linklayer_advanced '1'
|
||||
option tcMTU '2047'
|
||||
option tcTSIZE '128'
|
||||
|
||||
Reference in New Issue
Block a user