1. 02 9月, 2009 1 次提交
  2. 01 9月, 2009 3 次提交
  3. 27 8月, 2009 2 次提交
  4. 15 8月, 2009 1 次提交
  5. 14 8月, 2009 1 次提交
  6. 10 8月, 2009 2 次提交
  7. 06 8月, 2009 1 次提交
    • L
      ixgbe: allow vlan egress priority mapping in DCB mode · 36e89d73
      Lucy Liu 提交于
      The skb priority to vlan-qos egress mapping that can be configured using
      set_egress_map with vconfig is overriden by the DCB code in the driver.
      
      This patch allows this existing mechanism to work and will increase the
      configuration flexibility of DCB mode on Linux.
      
      A hierarchy of configuration is:
      
      1. Modifies the ixgbe_select_queue() routine for DCB mode to return the
      priority value from the VLAN tag. It will normally be zero, unless the egress
      priority map has modified it. This will get packets into the correct queue and
      result in the queue_mapping field being set correctly.
      
      2. Any tc filter which modifies queue_mapping will be honored, as the filters
      are handled after the vlan egress map is handled.
      Signed-off-by: NLucy Liu <lucy.liu@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      36e89d73
  8. 31 7月, 2009 2 次提交
  9. 27 7月, 2009 1 次提交
  10. 24 7月, 2009 3 次提交
  11. 18 7月, 2009 3 次提交
  12. 10 7月, 2009 1 次提交
    • Y
      ixgbe: Fix coexistence of FCoE and Flow Director in 82599 · 8faa2a78
      Yi Zou 提交于
      Fix coexistence of Fiber Channel over Ethernet (FCoE) and Flow Director (FDIR)
      in 82599 and remove the disabling of FDIR when FCoE is enabled.
      
      Currently, FDIR is turned off when FCoE is enabled under the assumption that
      FCoE is always enabled with DCB being turned on. However, FDIR does not have
      to be turned off all the time when FCoE is enabled since FCoE can be enabled
      without DCB being turned on, e.g., use link pause only. This patch makes sure
      that when DCB is turned on or off, FDIR is turned on or off correspondingly;
      and when FCoE is enabled, it does not disable FDIR, rather, it will have FDIR
      set up properly so FCoE and FDIR can coexist regardless of DCB being on or off.
      Signed-off-by: NYi Zou <yi.zou@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8faa2a78
  13. 04 7月, 2009 3 次提交
  14. 01 7月, 2009 3 次提交
  15. 18 6月, 2009 1 次提交
    • J
      net: group address list and its count · 31278e71
      Jiri Pirko 提交于
      This patch is inspired by patch recently posted by Johannes Berg. Basically what
      my patch does is to group list and a count of addresses into newly introduced
      structure netdev_hw_addr_list. This brings us two benefits:
      1) struct net_device becames a bit nicer.
      2) in the future there will be a possibility to operate with lists independently
         on netdevices (with exporting right functions).
      I wanted to introduce this patch before I'll post a multicast lists conversion.
      Signed-off-by: NJiri Pirko <jpirko@redhat.com>
      
       drivers/net/bnx2.c              |    4 +-
       drivers/net/e1000/e1000_main.c  |    4 +-
       drivers/net/ixgbe/ixgbe_main.c  |    6 +-
       drivers/net/mv643xx_eth.c       |    2 +-
       drivers/net/niu.c               |    4 +-
       drivers/net/virtio_net.c        |   10 ++--
       drivers/s390/net/qeth_l2_main.c |    2 +-
       include/linux/netdevice.h       |   17 +++--
       net/core/dev.c                  |  130 ++++++++++++++++++--------------------
       9 files changed, 89 insertions(+), 90 deletions(-)
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      31278e71
  16. 09 6月, 2009 1 次提交
  17. 08 6月, 2009 1 次提交
    • E
      net: skb_shared_info optimization · 042a53a9
      Eric Dumazet 提交于
      skb_dma_unmap() is quite expensive for small packets,
      because we use two different cache lines from skb_shared_info.
      
      One to access nr_frags, one to access dma_maps[0]
      
      Instead of dma_maps being an array of MAX_SKB_FRAGS + 1 elements,
      let dma_head alone in a new dma_head field, close to nr_frags,
      to reduce cache lines misses.
      
      Tested on my dev machine (bnx2 & tg3 adapters), nice speedup !
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      042a53a9
  18. 07 6月, 2009 10 次提交