1. 14 Feb, 2017 6 commits
    • Christophe Jaillet's avatar
      net: fs_enet: Simplify code · e9ea828f
      Christophe Jaillet authored
      There is no need to use an intermediate variable to handle an error code
      in this case.
      Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e9ea828f
    • Christophe Jaillet's avatar
      net: fs_enet: Fix an error handling path · 1f8f1e89
      Christophe Jaillet authored
      'of_node_put(fpi->phy_node)' should also be called if we branch to
      'out_deregister_fixed_link' error handling path.
      Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1f8f1e89
    • David S. Miller's avatar
      Merge tag 'rxrpc-rewrite-20170210' of... · c3d8103b
      David S. Miller authored
      Merge tag 'rxrpc-rewrite-20170210' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
      
      David Howells says:
      
      ====================
      afs: Use system UUID generation
      
      There is now a general function for generating a UUID and AFS should make
      use of it.  It's also been recommended to me that I switch to using random
      rather than time plus MAC address-based UUIDs which this function does.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c3d8103b
    • Tobias Klauser's avatar
      net: make net_device members garp_port and mrp_port conditional · fb585b44
      Tobias Klauser authored
      garp_port is only used in net/802/garp.c which is only compiled with
      CONFIG_GARP enabled. Same goes for mrp_port which is only used in
      net/802/mrp.c with CONFIG_MRP enabled.
      
      Only include the two members in struct net_device if their respective
      CONFIG_* is enabled. This saves a few bytes in struct net_device in case
      CONFIG_GARP or CONFIG_MRP are not enabled.
      Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fb585b44
    • Eric Dumazet's avatar
      net: busy-poll: remove LL_FLUSH_FAILED and LL_FLUSH_BUSY · 37fabbf4
      Eric Dumazet authored
      Commit 79e7fff4 ("net: remove support for per driver
      ndo_busy_poll()") made them obsolete.
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      37fabbf4
    • David S. Miller's avatar
      Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 417d18d3
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      40GbE Intel Wired LAN Driver Updates 2017-02-11
      
      This series contains updates to i40e and i40evf only.
      
      Jake makes a minor change to prevent a minor bit of work, if it is not
      necessary.  In the case where we do not have a client, there is no need
      to check the client params, so move the check till after we have ensured
      we have a client.  Correct a code comment which incorrectly implied
      that raw_packet buffers were freed in i40e_clean_tx_ring(), so fixed
      the code comment to better explain where memory is freed.  Reduce the
      severity and frequency of the message notifying we cleared the receive
      timestamp register, since the logic has a much better detection scheme
      that could detect a stalled receive timestamp register.  The improved
      logic was actually causing the notification message to occur more
      frequently and was giving the user a false perception that a timestamp
      event was missed for a valid packet, so reduce the severity from
      dev_warn to dev_dbg and only fire off the message when 3 or 4 of the
      RXTIME registers are stalled and get cleared within the same
      watchdog event.  Fixed a bug, where we were modifying the mac_filter
      outside a lock when handling the addition of broadcast filters.  Fix
      this by updating i40e_update_filter_state logic so that it knows to
      avoid broadcast filters, which ensures that we do not have to remove
      the filter separately and can put it back using the normal flow.
      Refactored how we add new filters to firmware to avoid a race condition
      that can occur due to removing filters from the hash temporarily.
      
      Mitch adds a sleep (without timeout) so that we wait for a reply from
      the PF before we continue, since the iWarp client cannot continue until
      the operation is completed.  Fixed up a function which could never
      return an error, to be void and cleaned up the checking of the now
      null and void return value.
      
      Scott limits the DMA sync to CPU to the actual length of the incoming
      packet, versus the syncing of the entire buffer.  Also reduces the
      receive buffer struct (by a single pointer) and align the driver to be
      more consistent with other Intel drivers with respect to packets that
      span buffers.
      
      Sudheer adds a field to track the bus number info and modified log
      statements to print bus, device and function information.
      
      Henry adds the ability to store the FEC status bits from the link up
      event.  Also adds the ethtool support for FEC capabilities and 25G
      link types.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      417d18d3
  2. 13 Feb, 2017 27 commits
  3. 12 Feb, 2017 7 commits