05 Aug, 2010

1 commit

  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (48 commits)
    Documentation: update broken web addresses.
    fix comment typo "choosed" -> "chosen"
    hostap:hostap_hw.c Fix typo in comment
    Fix spelling contorller -> controller in comments
    Kconfig.debug: FAIL_IO_TIMEOUT: typo Faul -> Fault
    fs/Kconfig: Fix typo Userpace -> Userspace
    Removing dead MACH_U300_BS26
    drivers/infiniband: Remove unnecessary casts of private_data
    fs/ocfs2: Remove unnecessary casts of private_data
    libfc: use ARRAY_SIZE
    scsi: bfa: use ARRAY_SIZE
    drm: i915: use ARRAY_SIZE
    drm: drm_edid: use ARRAY_SIZE
    synclink: use ARRAY_SIZE
    block: cciss: use ARRAY_SIZE
    comment typo fixes: charater => character
    fix comment typos concerning "challenge"
    arm: plat-spear: fix typo in kerneldoc
    reiserfs: typo comment fix
    update email address
    ...

    Linus Torvalds
     

04 Aug, 2010

1 commit

  • Below you will find an updated version from the original series bunching all patches into one big patch
    updating broken web addresses that are located in Documentation/*
    Some of the addresses date as far far back as 1995 etc... so searching became a bit difficult,
    the best way to deal with these is to use web.archive.org to locate these addresses that are outdated.
    Now there are also some addresses pointing to .spec files some are located, but some(after searching
    on the companies site)where still no where to be found. In this case I just changed the address
    to the company site this way the users can contact the company and they can locate them for the users.

    Signed-off-by: Justin P. Mattock
    Signed-off-by: Thomas Weber
    Signed-off-by: Mike Frysinger
    Cc: Paulo Marques
    Cc: Randy Dunlap
    Cc: Michael Neuling
    Signed-off-by: Jiri Kosina

    Justin P. Mattock
     

05 Jun, 2010

1 commit

  • v2: changed bonding module version, modified to apply on top of changes
    from previous patch in series, and updated documentation to elaborate on
    multiqueue awareness that now exists in bonding driver.

    This patch give the user the ability to control the output slave for
    round-robin and active-backup bonding. Similar functionality was
    discussed in the past, but Jay Vosburgh indicated he would rather see a
    feature like this added to existing modes rather than creating a
    completely new mode. Jay's thoughts as well as Neil's input surrounding
    some of the issues with the first implementation pushed us toward a
    design that relied on the queue_mapping rather than skb marks.
    Round-robin and active-backup modes were chosen as the first users of
    this slave selection as they seemed like the most logical choices when
    considering a multi-switch environment.

    Round-robin mode works without any modification, but active-backup does
    require inclusion of the first patch in this series and setting
    the 'all_slaves_active' flag. This will allow reception of unicast traffic on
    any of the backup interfaces.

    This was tested with IPv4-based filters as well as VLAN-based filters
    with good results.

    More information as well as a configuration example is available in the
    patch to Documentation/networking/bonding.txt.

    Signed-off-by: Andy Gospodarek
    Signed-off-by: Neil Horman
    Signed-off-by: David S. Miller

    Andy Gospodarek
     

07 Oct, 2009

1 commit

  • In some cases there is not desirable to switch back to primary interface when
    it's link recovers and rather stay with currently active one. We need to avoid
    packetloss as much as we can in some cases. This is solved by introducing
    primary_reselect option. Note that enslaved primary slave is set as current
    active no matter what.

    Patch modified by Jay Vosburgh as follows: fixed bug in action
    after change of option setting via sysfs, revised the documentation
    update, and bumped the bonding version number.

    Signed-off-by: Jiri Pirko
    Signed-off-by: Jay Vosburgh
    Signed-off-by: David S. Miller

    Jiri Pirko
     

13 Jun, 2009

1 commit


13 Apr, 2009

1 commit

  • Fix a zero address hole bug in the bonding arp_ip_target list
    that was causing the bond to ignore ARP replies (bugz 13006).
    Instead of just setting the array entry to zero, we now
    copy any additional entries down one slot, putting the
    zero entry at the end. With this change we can now have
    all the loops that walk the array stop when they hit a zero
    since there will be no addresses after it.

    Changes are based in part on code fragment provided in kernel:
    bugzilla 13006:

    http://bugzilla.kernel.org/show_bug.cgi?id=13006

    by Steve Howard

    Signed-off-by: Brian Haley
    Signed-off-by: Jay Vosburgh
    Signed-off-by: David S. Miller

    Brian Haley
     

06 Nov, 2008

2 commits

  • This patch implements alternative aggregator selection policies
    for 802.3ad. The existing policy, now termed "stable," selects the active
    aggregator by greatest bandwidth, and only reselects a new aggregator
    if the active aggregator is entirely disabled (no more ports or all ports
    down).

    This patch adds two new policies: bandwidth and count, selecting
    the active aggregator by total bandwidth (like the stable policy) or by
    the number of ports in the aggregator, respectively. These two policies
    also differ from the stable policy in that they will reselect the active
    aggregator when availability-related changes occur in the bond (e.g.,
    link state change).

    This permits "gang failover" within 802.3ad, allowing redundant
    aggregators along parallel paths to always maintain the "best" aggregator
    as the active aggregator (rather than having to wait for the active to
    entirely fail).

    This patch also updates the driver version to 3.5.0.

    Signed-off-by: Jay Vosburgh
    Signed-off-by: Jeff Garzik

    Jay Vosburgh
     
  • This patch adds better IPv6 failover support for bonding devices,
    especially when in active-backup mode and there are only IPv6 addresses
    configured, as reported by Alex Sidorenko.

    - Creates a new file, net/drivers/bonding/bond_ipv6.c, for the
    IPv6-specific routines. Both regular bonds and VLANs over bonds
    are supported.

    - Adds a new tunable, num_unsol_na, to limit the number of unsolicited
    IPv6 Neighbor Advertisements that are sent on a failover event.
    Default is 1.

    - Creates two new IPv6 neighbor discovery functions:

    ndisc_build_skb()
    ndisc_send_skb()

    These were required to support VLANs since we have to be able to
    add the VLAN id to the skb since ndisc_send_na() and friends
    shouldn't be asked to do this. These two routines are basically
    __ndisc_send() split into two pieces, in a slightly different order.

    - Updates Documentation/networking/bonding.txt and bumps the rev of bond
    support to 3.4.0.

    On failover, this new code will generate one packet:

    - An unsolicited IPv6 Neighbor Advertisement, which helps the switch
    learn that the address has moved to the new slave.

    Testing has shown that sending just the NA results in pretty good
    behavior when in active-back mode, I saw no lost ping packets for example.

    Signed-off-by: Brian Haley
    Signed-off-by: Jay Vosburgh
    Signed-off-by: Jeff Garzik

    Brian Haley
     

02 Nov, 2008

1 commit


27 Jul, 2008

1 commit


18 Jun, 2008

2 commits

  • Permit bonding to function rationally if max_bonds is set to
    zero. This will load the module, but create no master devices (which can
    be created via sysfs).

    Requires some change to bond_create_sysfs; currently, the
    netdev sysfs directory is determined from the first bonding device created,
    but this is no longer possible. Instead, an interface from net/core is
    created to create and destroy files in net_class.

    Based on a patch submitted by Phil Oester .
    Modified by Jay Vosburgh to fix the sysfs issue mentioned above and to
    update the documentation.

    Signed-off-by: Phil Oester
    Signed-off-by: Jay Vosburgh
    Signed-off-by: Jeff Garzik

    Jay Vosburgh
     
  • Support for sending multiple gratuitous ARPs during failovers
    was added by commit:

    commit 7893b2491a2d5f716540ac5643d78d37a7f6628b
    Author: Moni Shoua
    Date: Sat May 17 21:10:12 2008 -0700

    bonding: Send more than one gratuitous ARP when slave takes over

    This change modifies that support to remove duplicated code,
    add support for ARP monitor (the original only supported miimon), clear
    the grat ARP counter in bond_close (lest a later "ifconfig up" immediately
    start spewing ARPs), and add documentation for the module parameter.

    Also updated driver version to 3.3.0.

    Signed-off-by: Jay Vosburgh
    Signed-off-by: Jeff Garzik

    Jay Vosburgh
     

22 May, 2008

1 commit

  • Add a "follow" selection for fail_over_mac. This option
    causes the MAC address to move from slave to slave as the active
    slave changes. This is in addition to the existing fail_over_mac option
    that causes the bond's MAC address to change during failover.

    This new option is useful for devices that cannot tolerate
    multiple ports using the same MAC address simultaneously, either
    because it confuses them or incurs a performance penalty (as is the
    case with some LPAR-aware multiport devices). Because the MAC of the
    bond itself does not change, the "follow" option is slightly more
    reliable during failover and doesn't change the MAC of the bond during
    operation.

    This patch requires a previous ARP monitor change to properly
    handle RTNL during failovers.

    Signed-off-by: Jay Vosburgh
    Signed-off-by: Jeff Garzik

    Jay Vosburgh
     

29 Jan, 2008

1 commit

  • Update the bonding documentation: more discussion on
    initialization and configuration, changes to discussion of packet
    reordering in balance-rr, update some out of date information.

    Based in part on input from Rick Jones
    and Andy Gospodarek .

    Signed-off-by: Jay Vosburgh
    Acked-by: Andy Gospodarek
    Signed-off-by: David S. Miller

    Jay Vosburgh
     

08 Dec, 2007

1 commit

  • Add new hash for balance-xor and 802.3ad modes. Originally
    submitted by "Glenn Griffin" ; modified by
    Jay Vosburgh to move setting of hash policy out of line, tweak the
    documentation update and add version update to 3.2.2.

    Glenn's original comment follows:

    Included is a patch for a new xmit_hash_policy for the bonding driver
    that selects slaves based on MAC and IP information. This is a middle
    ground between what currently exists in the layer2 only policy and the
    layer3+4 policy. This policy strives to be fully 802.3ad compliant by
    transmitting every packet of any particular flow over the same link.
    As documented the layer3+4 policy is not fully compliant for extreme
    cases such as ip fragmentation, so this policy is a nice compromise
    for environments that require full compliance but desire more than the
    layer2 only policy.

    Signed-off-by: "Glenn Griffin"
    Signed-off-by: Jay Vosburgh
    Signed-off-by: Jeff Garzik

    Jay Vosburgh
     

16 Oct, 2007

1 commit

  • Update the "don't change MAC of slaves" functionality added in
    previous changes to be a generic option, rather than something tied to
    IB devices, as it's occasionally useful for regular ethernet devices as
    well.

    Adds "fail_over_mac" option (which is automatically enabled for IB
    slaves), applicable only to active-backup mode.

    Includes documentation update.

    Updates bonding driver version to 3.2.0.

    Signed-off-by: Jay Vosburgh
    Signed-off-by: Jeff Garzik

    Jay Vosburgh
     

26 Apr, 2007

1 commit


04 Oct, 2006

1 commit


26 Sep, 2006

1 commit

  • Add logic to check ARP request / reply packets used for ARP
    monitor link integrity checking.

    The current method simply examines the slave device to see if it
    has sent and received traffic; this can be fooled by extraneous traffic.
    For example, if multiple hosts running bonding are behind a common
    switch, the probe traffic from the multiple instances of bonding will
    update the tx/rx times on each other's slave devices.

    Signed-off-by: Jay Vosburgh
    Signed-off-by: Jeff Garzik

    Jay Vosburgh
     

09 Jun, 2006

1 commit


09 Jan, 2006

1 commit

  • ifenslave, as of abi version 2, does not set the ip address on the slave
    interfaces. The documentation example however still shows that the
    ensalved interfaces should have the same IP as the master. The patch
    simply removes the lines from the example which should no longer appear.

    Signed-off-by: Eric Paris

    bonding.txt | 2 --
    1 files changed, 2 deletions(-)
    Signed-off-by: Jeff Garzik

    Eric Paris
     

19 Oct, 2005

1 commit


11 Sep, 2005

1 commit

  • The attached patch fixes the following spelling errors in Documentation/
    - double "the"
    - Several misspellings of function/functionality
    - infomation
    - memeory
    - Recieved
    - wether
    and possibly others which I forgot ;-)
    Trailing whitespaces on the same line as the typo are also deleted.

    Signed-off-by: Tobias Klauser
    Signed-off-by: Domen Puncer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tobias Klauser
     

31 Jul, 2005

1 commit

  • Contains general updates (additional configuration info, hopefully
    better examples, updated some out of date info, and a bonus pass
    through ispell to banish the "paramters.") and info specific to
    gratuitous ARP and xmit policy functionality already in 2.6.13-rc2.

    Signed-off-by: Jay Vosburgh
    Signed-off-by: Jeff Garzik

    Jay Vosburgh
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds