Skip to content
Snippets Groups Projects
Select Git revision
  • 7ae8a511267e7f280862fcd57f8ae394b947b799
  • v2018.2.x default
  • experimental
  • master
  • v2021.1.2-ffs
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • v2020.2.2-ffs
  • v2020.2.1-ffs
  • v2020.2-ffs
  • v2020.2.x
  • v2020.1.3-ffs
  • v2020.1.1-ffs
  • v2020.1-ffs
  • v2019.1.2-ffs
  • v2019.1.1-ffs
  • nrb/test-radv-filter
  • v2019.1-ffs
  • nrbffs/netgear-ex6120
  • v2021.1.2-ffs0.2
  • v2021.1.2-ffs0.1
  • v2021.1.1-ffs0.4
  • v2021.1.1-ffs0.3
  • v2021.1.1-ffs0.2
  • v2021.1.1-ffs0.1
  • v2021.1-ffs0.1
  • v2020.2.3-ffs0.3
  • v2020.2.3-ffs0.2
  • v2020.2.3-ffs0.1
  • v2020.2.2-ffs0.1
  • v2020.2.1-ffs0.1
  • v2020.2-ffs0.1
  • v2020.2
  • v2020.2.x-ffs0.1
  • v2020.1.3-ffs0.1
  • v2020.1.1-ffs0.1
  • v2020.1-ffs0.1
  • v2019.1.2-ffs0.1
  • v2019.1.1-ffs0.1
42 results

0063-vxlan-add-options-to-enable-and-disable-UDP-checksums.patch

Blame
  • Forked from firmware / FFS Gluon
    3076 commits behind the upstream repository.
    user avatar
    Matthias Schiffer authored
    Also disabling TX checksums and not only allowing incoming packets without
    checksum will provide another small speedup. As doing so would break wired
    meshing with VXLAN-enabled nodes that require non-zero checksums, we will
    wait a few days before this step.
    7ae8a511
    History
    0063-vxlan-add-options-to-enable-and-disable-UDP-checksums.patch 1.57 KiB
    From: Matthias Schiffer <mschiffer@universe-factory.net>
    Date: Wed, 24 Jan 2018 13:51:45 +0100
    Subject: vxlan: add options to enable and disable UDP checksums
    
    Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
    
    diff --git a/package/network/config/vxlan/Makefile b/package/network/config/vxlan/Makefile
    index a471d4e90cbe30c1d1dd01dbf7553995d8c0485e..aeceb9cd884e517b2f274925637b62a538bfa70e 100644
    --- a/package/network/config/vxlan/Makefile
    +++ b/package/network/config/vxlan/Makefile
    @@ -1,7 +1,7 @@
     include $(TOPDIR)/rules.mk
     
     PKG_NAME:=vxlan
    -PKG_VERSION:=1
    +PKG_VERSION:=2
     PKG_LICENSE:=GPL-2.0
     
     include $(INCLUDE_DIR)/package.mk
    diff --git a/package/network/config/vxlan/files/vxlan.sh b/package/network/config/vxlan/files/vxlan.sh
    index 27ccd8f12759f69c7c226cac0c923335b8ccc6a8..d055d41edc59f50c0c132849bbcd0235edeef5b9 100755
    --- a/package/network/config/vxlan/files/vxlan.sh
    +++ b/package/network/config/vxlan/files/vxlan.sh
    @@ -15,8 +15,8 @@ vxlan_generic_setup() {
     
     	local link="$cfg"
     
    -	local port vid ttl tos mtu macaddr zone
    -	json_get_vars port vid ttl tos mtu macaddr zone
    +	local port vid ttl tos mtu macaddr zone rxcsum txcsum
    +	json_get_vars port vid ttl tos mtu macaddr zone rxcsum txcsum
     
     
     	proto_init_update "$link" 1
    @@ -36,6 +36,8 @@ vxlan_generic_setup() {
     	[ -n "$port" ] && json_add_int port "$port"
     	[ -n "$vid" ] && json_add_int id "$vid"
     	[ -n "$macaddr" ] && json_add_string macaddr "$macaddr"
    +	[ -n "$rxcsum" ] && json_add_boolean rxcsum "$rxcsum"
    +	[ -n "$txcsum" ] && json_add_boolean txcsum "$txcsum"
     	json_close_object
     
     	proto_close_tunnel