mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
bonding: add missing policies
Signed-off-by: Helge Mader <ma@dev.tdt.de>
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=proto-bonding
|
PKG_NAME:=proto-bonding
|
||||||
PKG_VERSION:=2018-06-11
|
PKG_VERSION:=2020-03-03
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-2.0
|
PKG_LICENSE:=GPL-2.0
|
||||||
|
|||||||
@@ -107,6 +107,15 @@ proto_bonding_setup() {
|
|||||||
set_driver_values primary primary_reselect lp_interval tlb_dynamic_lb resend_igmp xmit_hash_policy
|
set_driver_values primary primary_reselect lp_interval tlb_dynamic_lb resend_igmp xmit_hash_policy
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
balance-xor)
|
||||||
|
echo "$bonding_policy" > /sys/class/net/"$link"/bonding/mode
|
||||||
|
set_driver_values xmit_hash_policy
|
||||||
|
;;
|
||||||
|
|
||||||
|
broadcast)
|
||||||
|
echo "$bonding_policy" > /sys/class/net/"$link"/bonding/mode
|
||||||
|
;;
|
||||||
|
|
||||||
active-backup)
|
active-backup)
|
||||||
echo "$bonding_policy" > /sys/class/net/"$link"/bonding/mode
|
echo "$bonding_policy" > /sys/class/net/"$link"/bonding/mode
|
||||||
set_driver_values primary primary_reselect fail_over_mac num_grat_arp__num_unsol_na xmit_hash_policy
|
set_driver_values primary primary_reselect fail_over_mac num_grat_arp__num_unsol_na xmit_hash_policy
|
||||||
|
|||||||
Reference in New Issue
Block a user