Browse Source
Merge pull request #16139 from LGA1150/bond
bonding: allow xmit_hash_policy in 802.3ad mode
lilik-openwrt-22.03
Rosen Penev
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
net/bonding/Makefile
-
net/bonding/files/lib/netifd/proto/bonding.sh
|
|
@ -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) |
|
|
|