From e52f635c3627c61312fd2188d1c884aff0f8c71b Mon Sep 17 00:00:00 2001 From: DENG Qingfang Date: Fri, 16 Jul 2021 16:28:51 +0800 Subject: [PATCH] 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 --- net/bonding/Makefile | 2 +- net/bonding/files/lib/netifd/proto/bonding.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2