Branch: refs/heads/master Home: https://github.com/jpirko/libteam Commit: c18a6349a7bd0a2d41d0193128b95a520479591f https://github.com/jpirko/libteam/commit/c18a6349a7bd0a2d41d0193128b95a52047... Author: Eric Kinzie ehkinzie@gmail.com Date: 2016-04-15 (Fri, 15 Apr 2016)
Changed paths: M teamd/teamd.h M teamd/teamd_common.c M teamd/teamd_runner_lacp.c
Log Message: ----------- teamd: lacp: use original hwaddr as source address in lacpdus
The team lacp runner sets the mac addresses of all member interfaces to be the same value. However, LACPDUs should carry an interface's original (individual) MAC address.
The Addressing section (5.2.10 in 802.1ax) explains this: Protocol entities sourcing frames from within the Link Aggregation sublayer (e.g., LACP and the Marker protocol) use the MAC address of the MAC within an underlying port as the source address in frames transmitted through that port. The MAC Client sees only the Aggregator and not the underlying MACs, and therefore uses the Aggregator's MAC address as the source address in transmitted frames.
Signed-off-by: Eric Kinzie ehkinzie@gmail.com Signed-off-by: Jiri Pirko jiri@mellanox.com
libteam@lists.fedorahosted.org