]> git.ipfire.org Git - people/ms/u-boot.git/commit
drivers: net: vsc9953: Add LAG support
authorCodrin Ciubotariu <codrin.ciubotariu@freescale.com>
Tue, 15 Dec 2015 13:21:06 +0000 (15:21 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 28 Jan 2016 18:22:19 +0000 (12:22 -0600)
commitaae0e68909bf2ef1b60d18c54105ab8b9c67c5a2
tree5ee618d3daa2488bf3cd18d0d8caaa03b84e75a3
parentbf9f2ed83b16c6d037609278f66dbf54f40b1903
drivers: net: vsc9953: Add LAG support

You can now configure LAG on VSC9953's ports using the command:
ethsw [port <port_no>] aggr {[help] | show | <lag_group_no>}

A port must belong to a single LAG. By default, a port
belongs to a LAG equal to the port's number.

For each frame, a hash will be calculated based on
Source/Destination MAC addresses, Source/Destination IP(v4/v6)
addresses, Source/Destination ports. This hash will be used to
select a single egress port from LAG. This also assures
that frames from the same flow will always have the
same egress port.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
common/cmd_ethsw.c
doc/README.t1040-l2switch
drivers/net/vsc9953.c
include/ethsw.h
include/vsc9953.h