History log of /external/iproute2/ip/iplink_bond.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a197883432896d52c8f3b0ef34c2c4887a61473e 11-Sep-2015 Arthur Gautier <baloo@gandi.net> ip link: missing options in bond usage

Signed-off-by: Arthur Gautier <baloo@gandi.net>
/external/iproute2/ip/iplink_bond.c
9a6422c2438d60d9ecedac27d813f4c3fb44a7da 14-Aug-2015 Stephen Hemminger <shemming@brocade.com> Merge branch 'master' into net-next
e0f229fb7534991f7f1b4ca16a4fcc091a8d50af 13-Aug-2015 Stephen Hemminger <shemming@brocade.com> bond: fix return after invarg
/external/iproute2/ip/iplink_bond.c
d02e46627f29b6bc761e6b6afd9198da001b13f1 03-Aug-2015 Nikolay Aleksandrov <nikolay@cumulusnetworks.com> iplink: bonding: add support for IFLA_BOND_TLB_DYNAMIC_LB

Add support to be able to set and show the value of tlb_dynamic_lb
(IFLA_BOND_TLB_DYNAMIC_LB).
Example:
$ ip -d link show dev bond0 type bond
7: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN
mode DEFAULT group default
link/ether ce:2f:e1:6e:d7:e0 brd ff:ff:ff:ff:ff:ff promiscuity 0
bond mode balance-tlb miimon 100 updelay 0 downdelay 0 use_carrier 1
arp_interval 0 arp_validate none arp_all_targets any primary_reselect
always fail_over_mac none xmit_hash_policy layer2 resend_igmp 1
num_grat_arp 1 all_slaves_active 0 min_links 0 lp_interval 1
packets_per_slave 1 lacp_rate slow ad_select stable tlb_dynamic_lb 1
addrgenmode eui64

$ ip -d l set dev bond0 type bond tlb_dynamic_lb 0
$ ip -d link show dev bond0 type bond
7: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN
mode DEFAULT group default
link/ether ce:2f:e1:6e:d7:e0 brd ff:ff:ff:ff:ff:ff promiscuity 0
bond mode balance-tlb miimon 100 updelay 0 downdelay 0 use_carrier 1
arp_interval 0 arp_validate none arp_all_targets any primary_reselect
always fail_over_mac none xmit_hash_policy layer2 resend_igmp 1
num_grat_arp 1 all_slaves_active 0 min_links 0 lp_interval 1
packets_per_slave 1 lacp_rate slow ad_select stable tlb_dynamic_lb 0
addrgenmode eui64

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
/external/iproute2/ip/iplink_bond.c
6fc1f8add30b3c4387e675d0b7c1787b737f8777 09-May-2015 Jonathan Toppins <jtoppins@cumulusnetworks.com> iplink_bond: add support for ad_actor and port_key options

This adds support for setting and displaying the following bonding
options:
* ad_user_port_key
* ad_actor_sys_prio
* ad_actor_system

Signed-off-by: Jonathan Toppins <jtoppins@cumulusnetworks.com>
/external/iproute2/ip/iplink_bond.c
26dcdf3a91123c6bf748e06d1205d110d95f34db 15-Mar-2015 Eric W. Biederman <ebiederm@xmission.com> add a source addres length parameter to rt_addr_n2a

For some address families (like AF_PACKET) it is helpful to have the
length when prenting the address.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
/external/iproute2/ip/iplink_bond.c
561e650eff679296d3f4c12657721ae769cbc187 30-Sep-2014 vadimk <vadim4j@gmail.com> ip link: Shortify printing the usage of link type

Allow to print particular link type usage by:

ip link help [TYPE]

Currently to print usage for some link type it is needed
to use the following way:

ip link { add | del | set } type TYPE help

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
/external/iproute2/ip/iplink_bond.c
7feb76ce98edfeeffc51e3ec4deab0910df1edf4 05-Sep-2014 Jiri Pirko <jiri@resnulli.us> add help command to bonding master

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
/external/iproute2/ip/iplink_bond.c
656111b2f9c5932350e697a1aaa70ba2d9b40bc7 04-Aug-2014 Stephen Hemminger <stephen@networkplumber.org> cleanup warnings

ll_index can return -1 but was declared unsigned.
rt_addr_n2a had unused length parameter
/external/iproute2/ip/iplink_bond.c
f7a45e09555145378bdcdb5d074472ae716803ca 13-Feb-2014 Michal Kubeček <mkubecek@suse.cz> iplink_bond: fix parameter value matching

Lookup function get_index() compares argument with table entries
only up to the length of the table entry so that if an entry
with lower index is a substring of a later one, earlier entry is
used even if the argument is equal to the other. For example,

ip link set bond0 type bond xmit_hash_policy layer2+3

sets xmit_hash_policy to 0 (layer2) as this is found before
"layer2+3" can be checked.

Use strcmp() to compare whole strings instead.

v2: look for an exact match only

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
/external/iproute2/ip/iplink_bond.c
32ad31fba1a88df278b6f268e1849782a90bd702 06-Feb-2014 Michal Kubeček <mkubecek@suse.cz> iplink_bond: fix arp_all_targets parameter name in output

Name of arp_all_targets parameter in output of "ip -d link show"
is missing trailing "s".

Fixes: 63d127b0 ("iproute2: finish support for bonding attributes")
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
/external/iproute2/ip/iplink_bond.c
63d127b05dff4d21e8748b2ba9e0e6372897c383 04-Jan-2014 sfeldma@cumulusnetworks.com <sfeldma@cumulusnetworks.com> iproute2: finish support for bonding attributes

Add support for bonding attributes just added to net-next.
On set, allow string or number value for enumerated attributes.
On show, use always use string value for attribute.

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
/external/iproute2/ip/iplink_bond.c
cc26a8909ff31388ca0b3703b08605e116e490bb 18-Oct-2013 Jiri Pirko <jiri@resnulli.us> iplink: add support for bonding netlink

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
/external/iproute2/ip/iplink_bond.c