netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] bonding: L2DA mode
@ 2013-11-21 14:55 Anton Nayshtut
  2013-11-21 14:55 ` [PATCH 1/4] bonding: L2DA mode added Anton Nayshtut
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Anton Nayshtut @ 2013-11-21 14:55 UTC (permalink / raw)
  To: Jay Vosburgh, Veaceslav Falico, Andy Gospodarek, David S. Miller,
	Cong Wang, Nicolas Schichan, Eric Dumazet
  Cc: linux-kernel, netdev, Anton Nayshtut

L2 Destination Address based (L2DA) mode allows bonding to send packets using
different slaves according to packets L2 Destination Address.

In L2DA mode, the bonding maintains a default slave and DA/slave map.

Upon a packet transmission, the bonding examines DA of the packet and tries to
find a corresponding slave within the map. If found, the slave is used for the
packet transmission. Otherwise, the default slave is used. If the default slave
is unable to transmit at this moment, the bonding tries to fall back to an
arbitrary slave that can transmit.

Both the default slave and the map can be controlled via sysfs or by ioctls.

Anton Nayshtut (4):
  bonding: L2DA mode added
  bonding: L2DA mode intergated
  bonding: L2DA command IOCTL
  bonding: L2DA query IOCTL

 drivers/net/bonding/Makefile       |   2 +-
 drivers/net/bonding/bond_l2da.c    | 425 +++++++++++++++++++++++++++++++++++++
 drivers/net/bonding/bond_l2da.h    |  56 +++++
 drivers/net/bonding/bond_main.c    | 172 ++++++++++++++-
 drivers/net/bonding/bond_options.c |  17 +-
 drivers/net/bonding/bond_sysfs.c   | 223 ++++++++++++++++++-
 drivers/net/bonding/bonding.h      |   7 +
 include/uapi/linux/if_bonding.h    |  32 +++
 include/uapi/linux/sockios.h       |   4 +-
 net/core/dev_ioctl.c               |   4 +
 net/socket.c                       |   4 +
 11 files changed, 937 insertions(+), 9 deletions(-)
 create mode 100644 drivers/net/bonding/bond_l2da.c
 create mode 100644 drivers/net/bonding/bond_l2da.h

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-11-25  9:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-21 14:55 [PATCH 0/4] bonding: L2DA mode Anton Nayshtut
2013-11-21 14:55 ` [PATCH 1/4] bonding: L2DA mode added Anton Nayshtut
2013-11-21 15:32   ` Eric Dumazet
2013-11-21 15:37     ` Nikolay Aleksandrov
2013-11-25  9:10       ` Anton Nayshtut
2013-11-21 14:55 ` [PATCH 2/4] bonding: L2DA mode intergated Anton Nayshtut
2013-11-21 14:55 ` [PATCH 3/4] bonding: L2DA command IOCTL Anton Nayshtut
2013-11-21 14:55 ` [PATCH 4/4] bonding: L2DA query IOCTL Anton Nayshtut
2013-11-21 15:09 ` [PATCH 0/4] bonding: L2DA mode Andy Gospodarek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).