1. 15 Mar, 2014 13 commits
  2. 14 Mar, 2014 14 commits
  3. 13 Mar, 2014 13 commits
    • Florian Westphal's avatar
      6lowpan: reassembly: un-export local functions · 17794326
      Florian Westphal authored
      most of these are only used locally, make them static.
      fold lowpan_expire_frag_queue into its caller, its small enough.
      
      Cc: Alexander Aring <alex.aring@gmail.com>
      Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      17794326
    • Ben Dooks's avatar
      sh_eth: update OF PHY registeration · 702eca02
      Ben Dooks authored
      If the sh_eth device is registered using OF, then the driver
      should call of_mdiobus_register() to register the PHYs described
      in the devicetree and then use of_phy_connect() to connect the
      PHYs to the device.
      
      This ensures that any PHYs registered in the device tree are
      appropriately connected to the parent devices nodes so that
      the PHY drivers can access their OF properties.
      Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      702eca02
    • Yang Yingliang's avatar
      net_sched: return nla_nest_end() instead of skb->len · d59b7d80
      Yang Yingliang authored
      nla_nest_end() already has return skb->len, so replace
      return skb->len with return nla_nest_end instead().
      Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d59b7d80
    • Eric W. Biederman's avatar
      bcm63xx_enet: Stop pretending to support netpoll · 31c14a97
      Eric W. Biederman authored
      bcm_enet_netpoll does not exist, and causing
      bcm63xx_net to fail to build when NET_POLL_CONTROLLER
      is defined.
      
      Remove the bogus .ndo_poll_controller = bcm_enet_netpoll
      Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      31c14a97
    • David S. Miller's avatar
      Merge branch 'napi_budget_zero' · cbd84a44
      David S. Miller authored
      Eric W. Biederman says:
      
      ====================
      Don't receive packets when the napi budget == 0
      
      To the best of understanding processing any received packets when the
      napi budget == 0 is broken driver behavior.  At the same time I don't
      think we have ever cared before so there are a handful of drivers that
      need fixes.
      
      I care now as I will shortly be using htis in netpoll to get the
      tx queue processing without the rx queue processing.
      
      Drivers that need fixes are few and far between, and so far I have only
      found two of them.  More similar patches later if I find more drivers
      that need fixes.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      cbd84a44
    • Eric W. Biederman's avatar
      8139cp: Don't receive packets when the napi budget == 0 · 50ff44be
      Eric W. Biederman authored
      Processing any incoming packets with a with a napi budget of 0
      is incorrect driver behavior.
      
      This matters as netpoll will shortly call drivers with a budget of 0
      to avoid receive packet processing happening in hard irq context.
      
      Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com
      Acked-by: default avatarEric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      50ff44be
    • Eric W. Biederman's avatar
      bnx2: Don't receive packets when the napi budget == 0 · 310c4d4e
      Eric W. Biederman authored
      Processing any incoming packets with a with a napi budget of 0
      is incorrect driver behavior.
      
      This matters as netpoll will shortly call drivers with a budget of 0
      to avoid receive packet processing happening in hard irq context.
      Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
      Acked-by: default avatarEric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      310c4d4e
    • Jan Beulich's avatar
      consolidate duplicate code is skb_checksum_setup() helpers · f9708b43
      Jan Beulich authored
      consolidate duplicate code is skb_checksum_setup() helpers
      
      Realizing that the skb_maybe_pull_tail() calls in the IP-protocol
      specific portions of both helpers are terminal ones (i.e. no further
      pulls are expected), their maximum size to be pulled can be made match
      their minimal size needed, thus making the code identical and hence
      possible to be moved into another helper.
      Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
      Cc: Paul Durrant <paul.durrant@citrix.com>
      Cc: David Miller <davem@davemloft.net>
      Cc: Eric Dumazet <edumazet@google.com>
      Reviewed-by: default avatarPaul Durrant <paul.durrant@citrix.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f9708b43
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · 50240dc3
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates
      
      This series contains updates to igb, e1000e, ixgbe and ixgbevf.
      
      Tom Herbert provides changes to e1000e, igb and ixgbe to call skb_set_hash()
      to set the hash and its type in an skbuff.
      
      Carolyn provides a fix for igb where using ethtool for EEE settings, which
      was not working correctly.
      
      Jacob provides some trivial cleanups and fixes for ixgbe which mainly
      dealt with the file headers.
      
      Julia Lawall provides a one fix for ixgbevf where the driver did not need
      to adjust the power state on suspend, so the call to pci_set_power_state()
      in the resume function was a no-op.
      
      v2:
      - dropped patches 4-6 from original series which implemented debugfs for
        igb from Carolyn based on feed back from David Miller and Or Gerlitz
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      50240dc3
    • David S. Miller's avatar
      Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next · ca30be80
      David S. Miller authored
      John W. Linville says:
      
      ====================
      For the mac80211 bits, Johannes says:
      
      "This time, I have a number of small fixes and improvements, and those
      are fairly straight-forward. More interesting changes come from Luca
      with some preparations for the CSA work, mostly around interface/channel
      combinations checking. One other possibly interesting change is a small
      one by myself to add NAPI support back to mac80211, which can help
      improve TCP behaviour through GRO."
      
      For the Bluetooth bits, Gustavo says:
      
      "This is our first pull request for 3.15, the main feature here is the addition of
      the privacy feature for low energy devices. Other than that we have a bunch of small
      improvements, fixes, and clean ups all over the tree."
      
      And...
      
      "Another pull request to 3.15. Here we have the second part of the LE private
      feature, the LE auto-connect feature and improvements to the power off
      procedures. The rest are small improvements, clean up, and fixes."
      
      For the iwlwifi bits, Emmanuel says:
      
      "I have here a whole bunch of various things. Trivial cleanups,
      debugfs handlers and new stuff for the new generation of devices
      along with new capabilities for monitor mode. We also have support
      for power save for dual interface mode, but that is not supported by
      the firmware currently available."
      
      And for the Atheros bits, Kalle says:
      
      "For ath10k Alexander did some cleanup to PCI error cases and switched
      ath10k to use pci_enable_msi_range(). Michal implemented AP CSA support
      and sta_rc_update() operation. I enabled firmware "STA quick kickout"
      functionality for faster detection of disappeared clients.
      
      Also there are lots of small fixes to everywhere from various people."
      
      I pulled the wireless tree to avoid some merge conflicts, and I
      reverted the staging patch that I had mistakenly merged previously.
      Along with that, mwifiex, brcmfmac, wil6210, ath9k, and a few other
      drivers get their usual round of updates.  Also notable is the addition
      of yet another driver in the rtlwifi family.
      
       ...
      
      I have amended this commit request to correct the build problems in
      staging, including a warning added to one of the staging drivers by
      the wireless-next tree.  I also included a fix from Larry Finger to
      address an issue found in rtl8723be by Dan Carpenter and smatch.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ca30be80
    • David S. Miller's avatar
      Merge branch 'cxgb4-next' · bc0a9a4b
      David S. Miller authored
      Hariprasad Shenai says:
      
      ====================
      Misc. fixes for cxgb4
      
      This patch series provides miscelleneous fixes for Chelsio T4/T5 adapters
      cxgb4 driver related to SGE and MTU.
      
      Also fixes regression in LSO calcuation path.
      ("cxgb4: Calculate len properly for LSO path")
      
      The patches series is created against David Miller's 'net-next' tree.
      And includes patches on cxgb4 driver.
      
      We would like to request this patch series to get merged via David Miller's
      'net-next' tree.
      
      We have included all the maintainers of respective drivers. Kindly review the
      change and let us know in case of any review comments.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      bc0a9a4b
    • Kumar Sanghvi's avatar
      cxgb4: Calculate len properly for LSO path · ca71de6b
      Kumar Sanghvi authored
      Commit 0034b298 ("cxgb4: Don't assume LSO only uses SGL path in t4_eth_xmit()")
      introduced a regression where-in length was calculated wrongly for LSO path,
      causing chip hangs.
      So, correct the calculation of len.
      
      Fixes: 0034b298 ("cxgb4: Don't assume LSO only uses SGL path in t4_eth_xmit()")
      Signed-off-by: default avatarKumar Sanghvi <kumaras@chelsio.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ca71de6b
    • Kumar Sanghvi's avatar
      cxgb4: Updates for T5 SGE's Egress Congestion Threshold · c2b955e0
      Kumar Sanghvi authored
      Based on original work by Casey Leedom <leedom@chelsio.com>
      Signed-off-by: default avatarKumar Sanghvi <kumaras@chelsio.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c2b955e0