1. 05 6月, 2010 3 次提交
    • A
      bonding: allow user-controlled output slave selection · bb1d9123
      Andy Gospodarek 提交于
      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: NAndy Gospodarek <andy@greyhouse.net>
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bb1d9123
    • A
      bonding: add all_slaves_active parameter · ebd8e497
      Andy Gospodarek 提交于
      v2: changed parameter name from 'keep_all' to 'all_slaves_active' and
      skipped setting slaves to inactive rather than creating a new flag at
      Jay's suggestion.
      
      In an effort to suppress duplicate frames on certain bonding modes
      (specifically the modes that do not require additional configuration on
      the switch or switches connected to the host), code was added in the
      generic receive patch in 2.6.16.  The current behavior works quite well
      for most users, but there are some times it would be nice to restore old
      functionality and allow all frames to make their way up the stack.
      
      This patch adds support for a new module option and sysfs file called
      'all_slaves_active' that will restore pre-2.6.16 functionality if the
      user desires.  The default value is '0' and retains existing behavior,
      but the user can set it to '1' and allow all frames up if desired.
      Signed-off-by: NAndy Gospodarek <andy@greyhouse.net>
      Signed-off-by: NJay Vosburgh <fubar@us.ibm.com>
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ebd8e497
    • R
      fix return value of __pppoe_xmit() method. · 55c95e73
      Rami Rosen 提交于
      Hi,
       __pppoe_xmit() in drivers/net/pppoe always returns 1.
      When the methods fails (via goto abort), it should return 0 and not 1.
      
      Regards,
      Rami Rosen
      Signed-off-by: NRami Rosen <ramirose@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      55c95e73
  2. 04 6月, 2010 2 次提交
  3. 03 6月, 2010 5 次提交
  4. 02 6月, 2010 29 次提交
  5. 01 6月, 2010 1 次提交
    • J
      atl1c: Add AR8151 v2 support and change L0s/L1 routine · 8f574b35
      Jie Yang 提交于
      Add AR8151 v2.0 Gigabit 1000 support
      Change jumbo frame size to 6K
      Update L0s/L1 rountine
              when link speed is 100M or 1G, set L1 link timer to 4 for l1d_2 and l2c_b2
              set L1 link timer to 7 for l2c_b, set L1 link timer to 0xF for others.
      Update atl1c_suspend routine
      	just refactory the function, add atl1c_phy_power_saving routine,
      	when Wake On Lan enable, this func will be called to save power,
      	it will reautoneg PHY to 10/100M speed depend on the link
      	partners link capability.
      Update atl1c_configure_des_ring
              do not use l2c_b default SRAM configuration.
      Signed-off-by: NJie Yang <Jie.Yang@atheros.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8f574b35