Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277521
b: refs/heads/master
c: 3d249d4
h: refs/heads/master
i:
  277519: 65a76b0
v: v3
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Nov 13, 2011
1 parent 7e59efc commit b5b21cc
Show file tree
Hide file tree
Showing 13 changed files with 2,134 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5d70b88cd41ef0f2ac0caaab4fd492dd686feee6
refs/heads/master: 3d249d4ca7d0ed6629a135ea1ea21c72286c0d80
2 changes: 2 additions & 0 deletions trunk/Documentation/networking/team.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Team devices are driven from userspace via libteam library which is here:
https://github.com/jpirko/libteam
7 changes: 7 additions & 0 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -6484,6 +6484,13 @@ W: http://tcp-lp-mod.sourceforge.net/
S: Maintained
F: net/ipv4/tcp_lp.c

TEAM DRIVER
M: Jiri Pirko <jpirko@redhat.com>
L: netdev@vger.kernel.org
S: Supported
F: drivers/net/team/
F: include/linux/if_team.h

TEGRA SUPPORT
M: Colin Cross <ccross@android.com>
M: Olof Johansson <olof@lixom.net>
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ config IFB
'ifb1' etc.
Look at the iproute2 documentation directory for usage etc

source "drivers/net/team/Kconfig"

config MACVLAN
tristate "MAC-VLAN support (EXPERIMENTAL)"
depends on EXPERIMENTAL
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ obj-$(CONFIG_NET) += Space.o loopback.o
obj-$(CONFIG_NETCONSOLE) += netconsole.o
obj-$(CONFIG_PHYLIB) += phy/
obj-$(CONFIG_RIONET) += rionet.o
obj-$(CONFIG_NET_TEAM) += team/
obj-$(CONFIG_TUN) += tun.o
obj-$(CONFIG_VETH) += veth.o
obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
Expand Down
43 changes: 43 additions & 0 deletions trunk/drivers/net/team/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
menuconfig NET_TEAM
tristate "Ethernet team driver support (EXPERIMENTAL)"
depends on EXPERIMENTAL
---help---
This allows one to create virtual interfaces that teams together
multiple ethernet devices.

Team devices can be added using the "ip" command from the
iproute2 package:

"ip link add link [ address MAC ] [ NAME ] type team"

To compile this driver as a module, choose M here: the module
will be called team.

if NET_TEAM

config NET_TEAM_MODE_ROUNDROBIN
tristate "Round-robin mode support"
depends on NET_TEAM
---help---
Basic mode where port used for transmitting packets is selected in
round-robin fashion using packet counter.

All added ports are setup to have bond's mac address.

To compile this team mode as a module, choose M here: the module
will be called team_mode_roundrobin.

config NET_TEAM_MODE_ACTIVEBACKUP
tristate "Active-backup mode support"
depends on NET_TEAM
---help---
Only one port is active at a time and the rest of ports are used
for backup.

Mac addresses of ports are not modified. Userspace is responsible
to do so.

To compile this team mode as a module, choose M here: the module
will be called team_mode_activebackup.

endif # NET_TEAM
7 changes: 7 additions & 0 deletions trunk/drivers/net/team/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# Makefile for the network team driver
#

obj-$(CONFIG_NET_TEAM) += team.o
obj-$(CONFIG_NET_TEAM_MODE_ROUNDROBIN) += team_mode_roundrobin.o
obj-$(CONFIG_NET_TEAM_MODE_ACTIVEBACKUP) += team_mode_activebackup.o
Loading

0 comments on commit b5b21cc

Please sign in to comment.