Skip to content
team netdevice library
C Shell Python Other
Latest commit 1468495 Jun 18, 2016 @superjamie superjamie committed with Jiri Pirko teamd: LACP runner does not set Agg bit on first slave
teamd's LACP runner does not set the INFO_STATE_AGGREGATION bit when
there is only one slave in a team. This results in LACPDUs not being
sent with this flag set, and the team never negotiates. A Cisco Nexus
5500 switch will report the switchport in "(s)uspended" state.

This can be reproduced on some systems by booting with a LACP team with
more than one port, or by slowly adding ports to a new team on the
commandline.

Change the check from "more than 1 port" to "more than zero ports" so
that all LACP runner slaves have this bit set.

Resolves #15

Tested-by: Customer
Signed-off-by: Jamie Bainbridge <jamie.bainbridge@gmail.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>

README

# libteam - Library for controlling team network device #

The purpose of the Team driver is to provide a mechanism to team multiple NICs (ports) into one logical one (teamdev) at L2 layer. The process is called "channel bonding", "Ethernet bonding", "channel teaming", "link aggregation", etc. This is already implemented in the Linux kernel by the bonding driver.

One thing to note is that Team driver project does try to provide the similar functionality as the bonding driver, however architecturally it is quite different from bonding driver. Team driver is modular, userspace driven, very lean and efficient, and it does have some distinct advantages over bonding. The way Team is configured differs dramatically from the way bonding is.

## Install

    $ ./autogen.sh
    $ ./configure
    $ make
    $ sudo make install

## Authors

* Jiri Pirko <jiri@resnulli.us>

## Internet Resources

* Project Home:     http://www.libteam.org/
* Git Source Tree:  https://github.com/jpirko/libteam/
* Wiki:             https://github.com/jpirko/libteam/wiki
* Tutorial:         https://github.com/jpirko/libteam/wiki/Tutorial
* Documentation:    https://github.com/jpirko/libteam/wiki/Infrastructure-Specification

## License

Copyright (C) 2011-2015 Jiri Pirko <jiri@resnulli.us>

libteam is distributed under GNU Lesser General Public License version 2.1.
See the file "COPYING" in the source distribution for information on terms & conditions for accessing and otherwise using libteam.
Something went wrong with that request. Please try again.