]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/iplink_bond_slave.c
iproute2: allow to change slave options via type_slave
authorNikolay Aleksandrov <nikolay@redhat.com>
Wed, 3 Sep 2014 15:57:30 +0000 (17:57 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 28 Sep 2014 23:05:24 +0000 (16:05 -0700)
commit620ddedada7fddd0d1d04a3da0145535423bc237
tree8f1a4a1b3e3698938a6cc6deaf8e93347f38c6f1
parent3c682146aeff157ec354016befc3d8e21c982e9e
iproute2: allow to change slave options via type_slave

This patch adds the necessary changes to allow altering a slave device's
options via ip link set <device> type <master type>_slave specific-option.
It also adds support to set the bonding slaves' queue_id.

Example:
 ip link set eth0 type bond_slave queue_id 10

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
ip/iplink.c
ip/iplink_bond_slave.c