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 <dqfext@gmail.com>
This commit is contained in:
parent
9eb200f0d5
commit
e52f635c36
2 changed files with 2 additions and 2 deletions
|
@ -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:=
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue