1. 04 3月, 2015 1 次提交
  2. 02 3月, 2015 1 次提交
  3. 25 2月, 2015 4 次提交
  4. 21 2月, 2015 3 次提交
  5. 12 2月, 2015 4 次提交
  6. 06 2月, 2015 1 次提交
  7. 27 1月, 2015 1 次提交
  8. 20 1月, 2015 2 次提交
  9. 15 1月, 2015 3 次提交
  10. 14 1月, 2015 1 次提交
  11. 13 1月, 2015 2 次提交
  12. 03 1月, 2015 1 次提交
  13. 31 12月, 2014 2 次提交
  14. 27 12月, 2014 1 次提交
    • J
      net: Generalize ndo_gso_check to ndo_features_check · 5f35227e
      Jesse Gross 提交于
      GSO isn't the only offload feature with restrictions that
      potentially can't be expressed with the current features mechanism.
      Checksum is another although it's a general issue that could in
      theory apply to anything. Even if it may be possible to
      implement these restrictions in other ways, it can result in
      duplicate code or inefficient per-packet behavior.
      
      This generalizes ndo_gso_check so that drivers can remove any
      features that don't make sense for a given packet, similar to
      netif_skb_features(). It also converts existing driver
      restrictions to the new format, completing the work that was
      done to support tunnel protocols since the issues apply to
      checksums as well.
      
      By actually removing features from the set that are used to do
      offloading, it solves another problem with the existing
      interface. In these cases, GSO would run with the original set
      of features and not do anything because it appears that
      segmentation is not required.
      
      CC: Tom Herbert <therbert@google.com>
      CC: Joe Stringer <joestringer@nicira.com>
      CC: Eric Dumazet <edumazet@google.com>
      CC: Hayes Wang <hayeswang@realtek.com>
      Signed-off-by: NJesse Gross <jesse@nicira.com>
      Acked-by: NTom Herbert <therbert@google.com>
      Fixes: 04ffcb25 ("net: Add ndo_gso_check")
      Tested-by: NHayes Wang <hayeswang@realtek.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5f35227e
  15. 23 12月, 2014 1 次提交
    • P
      tg3: tg3_disable_ints using uninitialized mailbox value to disable interrupts · 05b0aa57
      Prashant Sreedharan 提交于
      During driver load in tg3_init_one, if the driver detects DMA activity before
      intializing the chip tg3_halt is called. As part of tg3_halt interrupts are
      disabled using routine tg3_disable_ints. This routine was using mailbox value
      which was not initialized (default value is 0). As a result driver was writing
      0x00000001 to pci config space register 0, which is the vendor id / device id.
      
      This driver bug was exposed because of the commit a7877b17a667 (PCI: Check only
      the Vendor ID to identify Configuration Request Retry). Also this issue is only
      seen in older generation chipsets like 5722 because config space write to offset
      0 from driver is possible. The newer generation chips ignore writes to offset 0.
      Also without commit a7877b17a667, for these older chips when a GRC reset is
      issued the Bootcode would reprogram the vendor id/device id, which is the reason
      this bug was masked earlier.
      
      Fixed by initializing the interrupt mailbox registers before calling tg3_halt.
      
      Please queue for -stable.
      Reported-by: NNils Holland <nholland@tisys.org>
      Reported-by: NMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
      Signed-off-by: NPrashant Sreedharan <prashant@broadcom.com>
      Signed-off-by: NMichael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      05b0aa57
  16. 19 12月, 2014 1 次提交
  17. 16 12月, 2014 2 次提交
  18. 11 12月, 2014 1 次提交
  19. 10 12月, 2014 4 次提交
  20. 09 12月, 2014 3 次提交
    • F
      net: bcmgenet: add support for new GENET PHY revision scheme · b04a2f5b
      Florian Fainelli 提交于
      Starting with GPHY revision G0, the GENET register layout has changed to
      use the same numbering scheme as the Starfighter 2 switch. This means
      that GPHY major revision is in bits 15:12, minor in bits 11:8 and patch
      level is in bits 7:4.
      
      Introduce a small heuristic which checks for the old scheme first, tests
      for the new scheme and finally attempts to catch reserved values and
      aborts.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b04a2f5b
    • E
      ethtool: Support for configurable RSS hash function · 892311f6
      Eyal Perry 提交于
      This patch extends the set/get_rxfh ethtool-options for getting or
      setting the RSS hash function.
      
      It modifies drivers implementation of set/get_rxfh accordingly.
      
      This change also delegates the responsibility of checking whether a
      modification to a certain RX flow hash parameter is supported to the
      driver implementation of set_rxfh.
      
      User-kernel API is done through the new hfunc bitmask field in the
      ethtool_rxfh struct. A bit set in the hfunc field is corresponding to an
      index in the new string-set ETH_SS_RSS_HASH_FUNCS.
      
      Got approval from most of the relevant driver maintainers that their
      driver is using Toeplitz, and for the few that didn't answered, also
      assumed it is Toeplitz.
      
      Cc: Tom Lendacky <thomas.lendacky@amd.com>
      Cc: Ariel Elior <ariel.elior@qlogic.com>
      Cc: Prashant Sreedharan <prashant@broadcom.com>
      Cc: Michael Chan <mchan@broadcom.com>
      Cc: Hariprasad S <hariprasad@chelsio.com>
      Cc: Sathya Perla <sathya.perla@emulex.com>
      Cc: Subbu Seetharaman <subbu.seetharaman@emulex.com>
      Cc: Ajit Khaparde <ajit.khaparde@emulex.com>
      Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
      Cc: Bruce Allan <bruce.w.allan@intel.com>
      Cc: Carolyn Wyborny <carolyn.wyborny@intel.com>
      Cc: Don Skidmore <donald.c.skidmore@intel.com>
      Cc: Greg Rose <gregory.v.rose@intel.com>
      Cc: Matthew Vick <matthew.vick@intel.com>
      Cc: John Ronciak <john.ronciak@intel.com>
      Cc: Mitch Williams <mitch.a.williams@intel.com>
      Cc: Amir Vadai <amirv@mellanox.com>
      Cc: Solarflare linux maintainers <linux-net-drivers@solarflare.com>
      Cc: Shradha Shah <sshah@solarflare.com>
      Cc: Shreyas Bhatewara <sbhatewara@vmware.com>
      Cc: "VMware, Inc." <pv-drivers@vmware.com>
      Cc: Ben Hutchings <ben@decadent.org.uk>
      Signed-off-by: NEyal Perry <eyalpe@mellanox.com>
      Signed-off-by: NAmir Vadai <amirv@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      892311f6
    • P
      net: bcmgenet: enable driver to work without a device tree · b0ba512e
      Petri Gynther 提交于
      Modify bcmgenet driver so that it can be used on Broadcom 7xxx
      MIPS-based STB platforms without a device tree.
      Signed-off-by: NPetri Gynther <pgynther@google.com>
      Acked-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b0ba512e
  21. 05 12月, 2014 1 次提交
    • A
      SSB / B44: fix WOL for BCM4401 · 5580373f
      Andrey Skvortsov 提交于
      Wake On Lan was not working on laptop DELL Vostro 1500.
      If WOL was turned on, BCM4401 was powered up in suspend mode. LEDs blinked.
      But the laptop could not be woken up with the Magic Packet. The reason for
      that was that PCIE was not enabled as a system wakeup source and
      therefore the host PCI bridge was not powered up in suspend mode.
      PCIE was not enabled in suspend by PM because no child devices were
      registered as wakeup source during suspend process.
      On laptop BCM4401 is connected through the SSB bus, that is connected to the
      PCI-Express bus. SSB and B44 did not use standard PM wakeup functions
      and did not forward wakeup settings to their parents.
      To fix that B44 driver enables PM wakeup and registers new wakeup source
      using device_set_wakeup_enable(). Wakeup is automatically reported to the parent SSB
      bus via power.wakeup_path. SSB bus enables wakeup for the parent PCI bridge, if there is any
      child devices with enabled wakeup functionality. All other steps are
      done by PM core code.
      Signed-off-by: NAndrey Skvortsov <Andrej.Skvortzov@gmail.com>
      Signed-off-by: NMichael Buesch <m@bues.ch>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      5580373f