1. 03 3月, 2011 7 次提交
  2. 08 2月, 2011 1 次提交
  3. 25 12月, 2010 1 次提交
  4. 04 12月, 2010 1 次提交
  5. 17 11月, 2010 2 次提交
    • D
      ixgbe: make silicon specific functions generic · a391f1d5
      Don Skidmore 提交于
      The new MAC type X540 shares much of the same functionality of
      some silicon specific functions.  To reduce duplicate code,
      made these functions generic.
      Signed-off-by: NDon Skidmore <donald.c.skidmore@intel.com>
      Tested-by: NStephen Ko <stephen.s.ko@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      a391f1d5
    • J
      ixgbe: DCB set PFC high and low water marks per data sheet specs · 16b61beb
      John Fastabend 提交于
      Currently the high and low water marks for PFC are being set
      conservatively for jumbo frames. This means the RX buffers
      are being underutilized in the default 1500 MTU. This patch
      fixes this so that the water marks are set as described in
      the data sheet considering the MTU size.
      
      The equation used is,
      
      RTT * 1.44 + MTU * 1.44 + MTU
      
      Where RTT is the round trip time and MTU is the max frame size
      in KB. To avoid floating point arithmetic FC_HIGH_WATER is
      defined
      
      ((((RTT + MTU) * 144) + 99) / 100) + MTU
      
      This changes how the hardware field fc.low_water and
      fc.high_water are used. With this change they are no longer
      storing the actual low water and high water markers but are
      storing the required head room in the buffer. This simplifies
      the logic and we do not need to account for the size of the
      buffer when setting the thresholds.
      
      Testing with iperf and 16 threads showed a slight uptick in
      throughput over a single traffic class .1-.2Gbps and a reduction
      in pause frames. Without the patch a 30 second run would show
      ~10-15 pause frames being transmitted with the patch ~2-5 are
      seen. Test were run back to back with 82599.
      
      Note RXPBSIZE is in KB and low and high water marks fields are
      also in KB. However the FCRT* registers are 32B granularity and
      right shifted 5 into the register,
      
      (((rx_pbsize - water_mark) * 1024) / 32) << 5
      
      is the most explicit conversion here we simplify
      
      (rx_pbsize - water_mark) * 32 << 5 = (rx_pbsize - water_mark) << 10
      
      This patch updates the PFC thresholds and legacy FC thresholds.
      Signed-off-by: NJohn Fastabend <john.r.fastabend@intel.com>
      Tested-by: NRoss Brattain <ross.b.brattain@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      16b61beb
  6. 15 10月, 2010 2 次提交
  7. 03 6月, 2010 1 次提交
  8. 14 5月, 2010 2 次提交
  9. 04 4月, 2010 1 次提交
    • J
      net: convert multicast list to list_head · 22bedad3
      Jiri Pirko 提交于
      Converts the list and the core manipulating with it to be the same as uc_list.
      
      +uses two functions for adding/removing mc address (normal and "global"
       variant) instead of a function parameter.
      +removes dev_mcast.c completely.
      +exposes netdev_hw_addr_list_* macros along with __hw_addr_* functions for
       manipulation with lists on a sandbox (used in bonding and 80211 drivers)
      Signed-off-by: NJiri Pirko <jpirko@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      22bedad3
  10. 27 3月, 2010 1 次提交
  11. 26 1月, 2010 1 次提交
  12. 14 1月, 2010 1 次提交
  13. 07 1月, 2010 1 次提交
  14. 29 11月, 2009 3 次提交
  15. 01 10月, 2009 2 次提交
  16. 27 8月, 2009 1 次提交
  17. 07 6月, 2009 3 次提交
  18. 30 5月, 2009 1 次提交
    • J
      net: convert unicast addr list · ccffad25
      Jiri Pirko 提交于
      This patch converts unicast address list to standard list_head using
      previously introduced struct netdev_hw_addr. It also relaxes the
      locking. Original spinlock (still used for multicast addresses) is not
      needed and is no longer used for a protection of this list. All
      reading and writing takes place under rtnl (with no changes).
      
      I also removed a possibility to specify the length of the address
      while adding or deleting unicast address. It's always dev->addr_len.
      
      The convertion touched especially e1000 and ixgbe codes when the
      change is not so trivial.
      Signed-off-by: NJiri Pirko <jpirko@redhat.com>
      
       drivers/net/bnx2.c               |   13 +--
       drivers/net/e1000/e1000_main.c   |   24 +++--
       drivers/net/ixgbe/ixgbe_common.c |   14 ++--
       drivers/net/ixgbe/ixgbe_common.h |    4 +-
       drivers/net/ixgbe/ixgbe_main.c   |    6 +-
       drivers/net/ixgbe/ixgbe_type.h   |    4 +-
       drivers/net/macvlan.c            |   11 +-
       drivers/net/mv643xx_eth.c        |   11 +-
       drivers/net/niu.c                |    7 +-
       drivers/net/virtio_net.c         |    7 +-
       drivers/s390/net/qeth_l2_main.c  |    6 +-
       drivers/scsi/fcoe/fcoe.c         |   16 ++--
       include/linux/netdevice.h        |   18 ++--
       net/8021q/vlan.c                 |    4 +-
       net/8021q/vlan_dev.c             |   10 +-
       net/core/dev.c                   |  195 +++++++++++++++++++++++++++-----------
       net/dsa/slave.c                  |   10 +-
       net/packet/af_packet.c           |    4 +-
       18 files changed, 227 insertions(+), 137 deletions(-)
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ccffad25
  19. 18 5月, 2009 3 次提交
  20. 27 4月, 2009 1 次提交
  21. 11 4月, 2009 3 次提交
  22. 02 4月, 2009 1 次提交