1. 20 5月, 2016 1 次提交
  2. 05 5月, 2016 1 次提交
  3. 27 4月, 2016 1 次提交
  4. 04 3月, 2016 1 次提交
    • J
      net: relax setup_tc ndo op handle restriction · 5eb4dce3
      John Fastabend 提交于
      I added this check in setup_tc to multiple drivers,
      
       if (handle != TC_H_ROOT || tc->type != TC_SETUP_MQPRIO)
      
      Unfortunately restricting to TC_H_ROOT like this breaks the old
      instantiation of mqprio to setup a hardware qdisc. This patch
      relaxes the test to only check the type to make it equivalent
      to the check before I broke it. With this the old instantiation
      continues to work.
      
      A good smoke test is to setup mqprio with,
      
      # tc qdisc add dev eth4 root mqprio num_tc 8 \
        map 0 1 2 3 4 5 6 7 \
        queues 0@0 1@1 2@2 3@3 4@4 5@5 6@6 7@7
      
      Fixes: e4c6734e ("net: rework ndo tc op to consume additional qdisc handle paramete")
      Reported-by: NSingh Krishneil <krishneil.k.singh@intel.com>
      Reported-by: NJake Keller <jacob.e.keller@intel.com>
      CC: Murali Karicheri <m-karicheri2@ti.com>
      CC: Shradha Shah <sshah@solarflare.com>
      CC: Or Gerlitz <ogerlitz@mellanox.com>
      CC: Ariel Elior <ariel.elior@qlogic.com>
      CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      CC: Bruce Allan <bruce.w.allan@intel.com>
      CC: Jesse Brandeburg <jesse.brandeburg@intel.com>
      CC: Don Skidmore <donald.c.skidmore@intel.com>
      Signed-off-by: NJohn Fastabend <john.r.fastabend@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5eb4dce3
  5. 19 2月, 2016 1 次提交
  6. 18 2月, 2016 9 次提交
  7. 17 2月, 2016 3 次提交
  8. 11 1月, 2016 1 次提交
  9. 08 1月, 2016 4 次提交
  10. 16 12月, 2015 1 次提交
  11. 21 11月, 2015 1 次提交
  12. 19 11月, 2015 1 次提交
  13. 11 11月, 2015 1 次提交
    • C
      pcnet32: use pci_set_dma_mask insted of pci_dma_supported · 46a7fd8a
      Christoph Hellwig 提交于
      All drivers should be using dma_set_mask / pci_set_dma_mask to try to
      set the dma mask instead of just querying it.  Without that some iommu
      implementations may not work.
      
      pci_dma_supported is removed entirely, but dma_supported stays for
      dma_ops implementations for now.
      
      This patch (of 15):
      
      This ensures the dma mask that is supported by the driver is recorded
      in the device structure.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Acked-by: NDon Fry <pcnet32@frontier.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Alexandre Courbot <acourbot@nvidia.com>
      Cc: Alexey Khoroshilov <khoroshilov@ispras.ru>
      Cc: Ben Skeggs <bskeggs@redhat.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Dave Airlie <airlied@redhat.com>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Hans Verkuil <hverkuil@xs4all.nl>
      Cc: Helge Deller <deller@gmx.de>
      Cc: Jiri Slaby <jslaby@suse.com>
      Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
      Cc: Pawel Osciak <pawel@osciak.com>
      Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
      Cc: Sergey Kozlov <serjk@netup.ru>
      Cc: Shradha Shah <sshah@solarflare.com>
      Cc: Solarflare linux maintainers <linux-net-drivers@solarflare.com>
      Cc: Steven Toth <stoth@kernellabs.com>
      Cc: Thierry Reding <treding@nvidia.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      46a7fd8a
  14. 07 11月, 2015 1 次提交
  15. 28 10月, 2015 1 次提交
  16. 23 10月, 2015 1 次提交
    • L
      amd-xgbe: Use wmb before updating current descriptor count · 20a41fba
      Lendacky, Thomas 提交于
      The code currently uses the lightweight dma_wmb barrier before updating
      the current descriptor count. Under heavy load, the Tx cleanup routine
      was seeing the updated current descriptor count before the updated
      descriptor information. As a result, the Tx descriptor was being cleaned
      up before it was used because it was not "owned" by the hardware yet,
      resulting in a Tx queue hang.
      
      Using the wmb barrier insures that the descriptor is updated before the
      descriptor counter preventing the Tx queue hang. For extra insurance,
      the Tx cleanup routine is changed to grab the current decriptor count on
      entry and uses that initial value in the processing loop rather than
      trying to chase the current value.
      Signed-off-by: NTom Lendacky <thomas.lendacky@amd.com>
      Tested-by: NChristoffer Dall <christoffer.dall@linaro.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      20a41fba
  17. 16 10月, 2015 1 次提交
  18. 15 10月, 2015 1 次提交
  19. 06 10月, 2015 1 次提交
  20. 05 10月, 2015 8 次提交