1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-13 23:21:08 +03:00
systemd/src
Susant Sahani fb1021a26d networkd: bond add support for lacp rate
LacpduTransmitRate
option specifies the rate in which link partner to transmit
LACPDU packets in 802.3ad mode.  Possible values
slow : Request partner to transmit LACPDUs every 30 seconds
fast : Request partner to transmit LACPDUs every 1 second
The default is slow.

chages:
1. Added enum bond_lacp_rate_table
2. gperf LacpduTransmitRate

Test:
conf file:
[NetDev]
Name=bond1
Kind=bond

[Bond]
Mode=802.3ad
LacpduTransmitRate=fast

test:
cat /proc/net/bonding/bond1
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2+3 (2)
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable
bond bond1 has no active aggregator

[tomegun: renamed from LacpduTransmitRate to LACPTransmitRate, manpage fixes and
dropped bond_ prefix from variables]
2014-07-21 20:35:21 +02:00
..
ac-power
activate
analyze analyze/run: use bus_open_transport_systemd instead of bus_open_transport 2014-05-26 14:21:53 -04:00
ask-password
backlight backlight: Do not clamp brightness for LEDs 2014-06-10 18:57:48 +02:00
binfmt
boot
bootchart Let config_parse open file where applicable 2014-07-16 18:47:20 -04:00
bus-proxyd test-tables: add new entries 2014-07-16 19:00:03 -04:00
cgls consistently order cleanup attribute before type 2014-06-22 00:45:15 +02:00
cgroups-agent
cgtop
compat-libs
core systemd-verify: a simple tool for offline unit verification 2014-07-20 19:48:16 -04:00
cryptsetup cryptsetup: allow x-systemd.device-timeout 2014-06-30 18:41:17 -04:00
dbus1-generator Let config_parse open file where applicable 2014-07-16 18:47:20 -04:00
debug-generator debug-generator: add new kernel cmdline option systemd.wants= to add units to the initial transaction 2014-06-20 13:36:28 +02:00
delta
detect-virt
efi-boot-generator
escape escape: fix return code 2014-07-19 15:44:50 -04:00
firstboot firstboot: get rid of firstboot generator again, introduce ConditionFirstBoot= instead 2014-07-07 21:05:09 +02:00
fsck fsck: consider a fsck implementation linked to /bin/true non-existant 2014-06-25 10:04:36 +02:00
fstab-generator fstab-generator: fix trivial leak 2014-07-07 18:36:55 -04:00
getty-generator getty-generator: properly escape instance names 2014-06-19 22:04:29 -04:00
gpt-auto-generator stop complaining about unknown kernel cmdline options 2014-06-19 16:55:20 +02:00
gudev gudev: replace regex with sym file 2014-06-21 16:25:15 +02:00
hostname hostnamed: introduce new location machin-info field, too 2014-07-11 15:50:32 +02:00
initctl core: make sure PrivateDevices= makes /dev/log available 2014-06-04 16:59:13 +02:00
journal journalctl,man: allow + only between terms 2014-07-19 21:13:08 -04:00
journal-remote Let config_parse open file where applicable 2014-07-16 18:47:20 -04:00
kernel-install build-sys: add missing Makefile link 2014-06-16 12:33:23 +02:00
libsystemd sd-rtnl: uncomment bond rtnl constants 2014-07-21 20:35:21 +02:00
libsystemd-network change type for address family to "int" 2014-07-18 16:10:51 +02:00
libsystemd-terminal terminal: suppress warning in subterm 2014-07-18 17:46:14 +02:00
libudev libudev: queue - watch entire directory to allow the re-use of the watch descriptor 2014-06-27 19:56:31 +02:00
locale Nuke update-kbd-map 2014-07-18 21:44:59 -04:00
login Small modernizations 2014-07-18 21:45:27 -04:00
machine machinectl: make sure we are not reading an unitialized variable 2014-07-18 21:44:58 -04:00
machine-id-setup
modules-load
network networkd: bond add support for lacp rate 2014-07-21 20:35:21 +02:00
notify sd-daemon: introduce sd_pid_notify() and sd_pid_notifyf() 2014-06-05 17:05:18 +02:00
nspawn barrier: initalize file descriptors with -1 2014-07-18 20:12:44 -04:00
nss-myhostname shared: rename PROTO_ADDRESS_SIZE() to FAMILY_ADDRESS_SIZE() 2014-07-18 12:38:32 +02:00
nss-mymachines change type for address family to "int" 2014-07-18 16:10:51 +02:00
nss-resolve resolved: fix bus signatures to follow family as int change 2014-07-18 21:01:07 +02:00
path path: add new "systemd-path" utility for querying paths described in file-hierarchy(7) 2014-07-02 12:23:36 +02:00
python-systemd
quotacheck stop complaining about unknown kernel cmdline options 2014-06-19 16:55:20 +02:00
random-seed
rc-local-generator
readahead readahead: avoid gcc warning about format 2014-06-22 15:30:19 -04:00
remount-fs
reply-password
resolve resolved: do not use unitialized variable 2014-07-18 21:44:34 -04:00
rfkill
run analyze/run: use bus_open_transport_systemd instead of bus_open_transport 2014-05-26 14:21:53 -04:00
shared systemd-verify: check man pages 2014-07-20 19:48:16 -04:00
shutdownd
sleep firstboot: get rid of firstboot generator again, introduce ConditionFirstBoot= instead 2014-07-07 21:05:09 +02:00
socket-proxy fix warnings 2014-06-06 23:31:25 +02:00
sysctl
system-update-generator system-update-generator: modernizations 2014-06-13 13:26:32 +02:00
systemctl systemd-verify: check man pages 2014-07-20 19:48:16 -04:00
systemd sd-network: drop get_ifindices 2014-07-21 13:32:27 +02:00
sysusers Add function to open temp files in selinux mode 2014-07-13 21:11:07 -04:00
sysv-generator sysv-generator: fix incorect ordering of Wants 2014-06-26 00:37:26 +02:00
test test-cgroup-mask: fix masks in test and enable by default 2014-07-20 19:48:16 -04:00
timedate timedated: manage systemd-timesyncd directly instead of lists of alternatives 2014-07-09 17:04:11 +02:00
timesync sd-network: fix parameter order for sd_network_monitor_new() 2014-07-17 01:41:52 +02:00
tmpfiles tmpfiles: copy/link /usr/share/factory/ files when the source argument is omitted 2014-06-20 15:57:43 +02:00
tty-ask-password-agent tty-ask-password-agent: modernization 2014-07-16 19:00:03 -04:00
udev Be more careful when checking for empty files 2014-07-16 19:00:03 -04:00
update-done update-done: add minimal tool to manage system updates for /etc and /var, if /usr has changed 2014-06-13 13:26:32 +02:00
update-utmp
vconsole vconsole-setup: fix inverted error messages 2014-07-07 08:55:58 -04:00
verify man: add systemd-verify(1) 2014-07-20 19:48:16 -04:00
.gitignore
Makefile