bonding: allow xmit_hash_policy in 802.3ad mode 16139/head
authorDENG Qingfang <dqfext@gmail.com>
Fri, 16 Jul 2021 08:28:51 +0000 (16:28 +0800)
committerLGA1150 <dqfext@gmail.com>
Fri, 16 Jul 2021 08:28:51 +0000 (16:28 +0800)
Allow the transmit hash policy to be changed in 802.3ad mode.

Signed-off-by: DENG Qingfang <dqfext@gmail.com>
net/bonding/Makefile
net/bonding/files/lib/netifd/proto/bonding.sh

index d3c1855f0245a239bdfc3bcb5508e635ec59a996..d9bafe21c8e8bcfa7064f6a5a3dd315181d47313 100644 (file)
@@ -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:=
index ac65516371670f55fdc88c8ad90b4b3a2f7e5144..04cec109ce9534115f502c6e4aa77ceb95a02d9f 100755 (executable)
@@ -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)