From: DENG Qingfang Date: Fri, 16 Jul 2021 08:28:51 +0000 (+0800) Subject: bonding: allow xmit_hash_policy in 802.3ad mode X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e52f635c3627c61312fd2188d1c884aff0f8c71b;p=feed%2Fpackages.git bonding: allow xmit_hash_policy in 802.3ad mode Allow the transmit hash policy to be changed in 802.3ad mode. Signed-off-by: DENG Qingfang --- diff --git a/net/bonding/Makefile b/net/bonding/Makefile index d3c1855f02..d9bafe21c8 100644 --- a/net/bonding/Makefile +++ b/net/bonding/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=proto-bonding PKG_VERSION:=2021-04-09 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:= diff --git a/net/bonding/files/lib/netifd/proto/bonding.sh b/net/bonding/files/lib/netifd/proto/bonding.sh index ac65516371..04cec109ce 100755 --- a/net/bonding/files/lib/netifd/proto/bonding.sh +++ b/net/bonding/files/lib/netifd/proto/bonding.sh @@ -111,7 +111,7 @@ proto_bonding_setup() { 802.3ad) echo "$bonding_policy" > /sys/class/net/"$link"/bonding/mode - set_driver_values min_links ad_actor_sys_prio ad_actor_system ad_select lacp_rate + set_driver_values min_links ad_actor_sys_prio ad_actor_system ad_select lacp_rate xmit_hash_policy ;; balance-rr)