1. 27 12月, 2009 1 次提交
  2. 14 12月, 2009 1 次提交
  3. 04 12月, 2009 1 次提交
  4. 16 11月, 2009 1 次提交
    • J
      bonding: fix 802.3ad standards compliance error · 2d6682db
      Jay Vosburgh 提交于
      The language of 802.3ad 43.4.9 requires the "recordPDU" function
      to, in part, compare the Partner parameter values in a received LACPDU
      to the stored Actor values.  If those match, then the Partner's
      synchronization state is set to true.
      
      	The current 802.3ad implementation is performing these steps out
      of order; first, the synchronization check is done, then the paramters are
      checked to see if they match (the synch check being done against a match
      check of a prior LACPDU).  This causes delays in establishing aggregators
      in some circumstances.
      
      	This patch modifies the 802.3ad code to call __choose_matched,
      the function that does the "match" comparisions, as the first step of
      __record_pdu, instead of immediately afterwards.  This new behavior is
      in compliance with the language of the standard.
      
      	Some additional commentary relating to code vs. standard is also
      added.
      
      	Reported by Martin Patterson <martin@gear6.com> who also supplied
      the logic of the fix and verified the patch.
      Signed-off-by: NJay Vosburgh <fubar@us.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2d6682db
  5. 31 10月, 2009 1 次提交
  6. 27 10月, 2009 1 次提交
  7. 21 9月, 2009 1 次提交
  8. 14 8月, 2009 1 次提交
  9. 13 7月, 2009 1 次提交
  10. 06 7月, 2009 1 次提交
  11. 18 5月, 2009 2 次提交
  12. 27 12月, 2008 6 次提交
  13. 18 12月, 2008 9 次提交
  14. 10 12月, 2008 1 次提交
  15. 13 11月, 2008 1 次提交
    • W
      netdevice: safe convert to netdev_priv() #part-1 · 454d7c9b
      Wang Chen 提交于
      We have some reasons to kill netdev->priv:
      1. netdev->priv is equal to netdev_priv().
      2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
         netdev_priv() is more flexible than netdev->priv.
      But we cann't kill netdev->priv, because so many drivers reference to it
      directly.
      
      This patch is a safe convert for netdev->priv to netdev_priv(netdev).
      Since all of the netdev->priv is only for read.
      But it is too big to be sent in one mail.
      I split it to 4 parts and make every part smaller than 100,000 bytes,
      which is max size allowed by vger.
      Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      454d7c9b
  16. 06 11月, 2008 1 次提交
    • J
      bonding: alternate agg selection policies for 802.3ad · fd989c83
      Jay Vosburgh 提交于
      	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: NJay Vosburgh <fubar@us.ibm.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      fd989c83
  17. 07 8月, 2008 1 次提交
    • J
      bonding: refactor mii monitor · f0c76d61
      Jay Vosburgh 提交于
      	Refactor mii monitor.  As with the previous ARP monitor refactor,
      the motivation for this is to handle locking rationally (in this case,
      removing conditional locking) and generally clean up the code.
      
      	This patch breaks up the monolithic mii monitor into two phases:
      an inspection phase, followed by an optional commit phase.  The commit phase
      is the only portion that requires RTNL or makes changes to state, and is
      only called when inspection finds something to change.
      Signed-off-by: NJay Vosburgh <fubar@us.ibm.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      f0c76d61
  18. 26 3月, 2008 2 次提交
  19. 24 10月, 2007 1 次提交
  20. 20 10月, 2007 1 次提交
    • M
      Change struct marker users · 1c3f0b8e
      Mathieu Desnoyers 提交于
      Prior to use struct marker in the linux kernel markers, we need to clean
      two drivers which use this structure name.
      
      Change bonding driver types :
      - struct marker to struct bond_marker.
      - marker_t to bond_marker_t.
      - marker_header to bond_marker_header.
      - marker_header_t to bond_marker_header_t.
      
      Change qla4xxx struct marker_entry usage :
      - Change struct marker_entry for struct qla4_marker_entry.
      Signed-off-by: NMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Chad Tindel <ctindel@users.sourceforge.net>
      Cc: Jay Vosburgh <fubar@us.ibm.com>
      Cc: David Somayajulu <david.somayajulu@qlogic.com>
      Cc: James Bottomley <James.Bottomley@SteelEye.com>
      Cc: Ravi Anand <ravi.anand@qlogic.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1c3f0b8e
  21. 11 10月, 2007 2 次提交
  22. 21 6月, 2007 1 次提交
    • J
      bonding: Fix 802.3ad no carrier on "no partner found" instance · 031ae4de
      Jay Vosburgh 提交于
      	Modify carrier state determination for 802.3ad mode to comply
      with section 43.3.9 of IEEE 802.3, which requires that "Links that are
      not successful candidates for aggregation (e.g., links that are attached
      to other devices that cannot perform aggregation or links that have been
      manually configured to be non-aggregatable) are enabled to operate as
      individual IEEE 802.3 links."
      
      	Bug reported by Laurent Chavey <chavey@google.com>.  This patch
      is an updated version of his patch that changes the wording of
      commentary and adds an update to the driver version.
      Signed-off-by: NJay Vosburgh <fubar@us.ibm.com>
      Signed-off-by: NLaurent Chavey <chavey@google.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      031ae4de
  23. 26 4月, 2007 2 次提交