1. 30 5月, 2011 3 次提交
  2. 08 5月, 2011 5 次提交
  3. 02 5月, 2011 1 次提交
  4. 30 4月, 2011 1 次提交
    • D
      ethtool: cosmetic: Use ethtool ethtool_cmd_speed API · 70739497
      David Decotigny 提交于
      This updates the network drivers so that they don't access the
      ethtool_cmd::speed field directly, but use ethtool_cmd_speed()
      instead.
      
      For most of the drivers, these changes are purely cosmetic and don't
      fix any problem, such as for those 1GbE/10GbE drivers that indirectly
      call their own ethtool get_settings()/mii_ethtool_gset(). The changes
      are meant to enforce code consistency and provide robustness with
      future larger throughputs, at the expense of a few CPU cycles for each
      ethtool operation.
      
      All drivers compiled with make allyesconfig ion x86_64 have been
      updated.
      
      Tested: make allyesconfig on x86_64 + e1000e/bnx2x work
      Signed-off-by: NDavid Decotigny <decot@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      70739497
  5. 20 4月, 2011 1 次提交
  6. 18 4月, 2011 2 次提交
  7. 31 3月, 2011 1 次提交
  8. 05 3月, 2011 6 次提交
  9. 15 2月, 2011 1 次提交
  10. 12 2月, 2011 1 次提交
  11. 31 1月, 2011 1 次提交
  12. 17 12月, 2010 1 次提交
  13. 30 11月, 2010 9 次提交
  14. 11 11月, 2010 1 次提交
  15. 10 11月, 2010 1 次提交
  16. 15 9月, 2010 1 次提交
  17. 05 9月, 2010 4 次提交
    • M
      Staging: batman-adv: multiple mesh clouds · 8c70f138
      Marek Lindner 提交于
      This patch removes all remaining global variables and includes the
      necessary bits into the bat_priv structure. It is the last
      remaining piece to allow multiple concurrent mesh clouds on the
      same device.
      A few global variables have been rendered obsolete during the process
      and have been removed entirely.
      Signed-off-by: NMarek Lindner <lindner_marek@yahoo.de>
      [sven.eckelmann@gmx.de: Rework on top of current version]
      Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      8c70f138
    • M
      Staging: batman-adv: attach each hard-interface to a soft-interface · 6a0e9fa8
      Marek Lindner 提交于
      This patch replaces the static bat0 interface with a dynamic/abstracted
      approach. It is now possible to create multiple batX interfaces by
      assigning hard interfaces to them. Each batX interface acts as an
      independent mesh network. A soft interface is removed once no hard
      interface references it any longer.
      Signed-off-by: NMarek Lindner <lindner_marek@yahoo.de>
      [sven.eckelmann@gmx.de: Rework on top of current version]
      Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      6a0e9fa8
    • S
      Staging: batman-adv: Keep header writable and unshared · 99eed284
      Sven Eckelmann 提交于
      my_skb_push provided an easy way to allocate enough headroom in
      situation were we don't have enough space left and move the data pointer
      to the new position, but we didn't checked wether we are allowed to
      write to the new pushed header. This is for example a problem when the
      skb was cloned and thus doesn't have a private data part.
      
      my_skb_head_push now replaces my_skb_push by using skb_cow_head to
      provide only a large enough, writable header without testing for the
      rest of the (maybe shared) data. It will also move the data pointer
      using skb_push when skb_cow_head doesn't fail.
      
      This should give us enough flexibility in situation were skbs will be
      queued by underlying layers and still doesn't unnecessarily copy the
      data in situations when the skb was consumed right away during
      dev_queue_xmit.
      Reported-by: NMarek Lindner <lindner_marek@yahoo.de>
      Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      99eed284
    • A
      Staging: batman-adv: layer2 unicast packet fragmentation · e63760e5
      Andreas Langer 提交于
      This patch implements a simple layer2 fragmentation to allow traffic
      exchange over network interfaces with a MTU smaller than 1500 bytes. The
      fragmentation splits the big packets into two parts and marks the frames
      accordingly. The receiving end buffers the packets to reassemble the
      orignal packet before passing it to the higher layers. This feature
      makes it necessary to modify the batman-adv encapsulation for unicast
      packets by adding a sequence number, flags and the originator address.
      This modifcation is part of a seperate packet type for fragemented
      packets to keep the original overhead as low as possible. This patch
      enables the feature by default to ensure the data traffic can travel
      through the network. But it also prints a warning to notify the user
      about the performance implications.
      
      Note: Fragmentation should be avoided at all costs since it has a
      dramatic impact on the performance, especially when it comes wifi
      networks. Instead of a single packet, 2 packets have to be sent! Not
      only valuable airtime is wasted but also packetloss decreases the
      throughput. A link with 50% packetloss and fragmentation enabled is
      pretty much unusable.
      Signed-off-by: NAndreas Langer <an.langer@gmx.de>
      [sven.eckelmann@gmx.de: Rework on top of current version]
      Signed-off-by: NSven Eckelmann <sven.eckelmann@gmx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e63760e5