1. 26 Mar, 2019 5 commits
    • Heiner Kallweit's avatar
      net: phy: aquantia: report PHY details like firmware version · 43429a03
      Heiner Kallweit authored
      Add reporting firmware details. These details are available only once
      the firmware has finished initializing the chip. This can take some
      time and we need to poll for init completion.
      
      v2:
      - Propagate timeout in aqr107_wait_reset_complete(). Don't bail out
        completely on timeout because chip may be functional even w/o
        firmware image.
      Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      43429a03
    • Heiner Kallweit's avatar
      net: phy: aquantia: print remote capabilities if link partner is Aquantia PHY · 9d685c11
      Heiner Kallweit authored
      If both link partners are Aquantia PHY's then additional information is
      exchanged as part of the auto-negotiation. Report remote capabilities
      if link partner is Aquantia PHY.
      Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9d685c11
    • Vladimir Oltean's avatar
      net: dsa: Avoid null pointer when failing to connect to PHY · 6146dd45
      Vladimir Oltean authored
      When phylink_of_phy_connect fails, dsa_slave_phy_setup tries to save the
      day by connecting to an alternative PHY, none other than a PHY on the
      switch's internal MDIO bus, at an address equal to the port's index.
      
      However this does not take into consideration the scenario when the
      switch that failed to probe an external PHY does not have an internal
      MDIO bus at all.
      
      Fixes: aab9c406 ("net: dsa: Plug in PHYLINK support")
      Signed-off-by: default avatarVladimir Oltean <olteanv@gmail.com>
      Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6146dd45
    • Heiner Kallweit's avatar
      net: phy: aquantia: simplify aqr_config_aneg · 9675db39
      Heiner Kallweit authored
      Simplify aqr_config_aneg().
      Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9675db39
    • David S. Miller's avatar
      Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · be67101f
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      100GbE Intel Wired LAN Driver Updates 2019-03-25
      
      This series contains updates to the ice driver only.
      
      Victor updates the ice driver to be able to update the VSI queue
      configuration dynamically, by providing the ability to increase or
      decrease the VSI's number of queues.
      
      Michal fixes an issue when the VM starts or the VF driver is reloaded,
      the VLAN switch rule was lost (i.e. not added), so ensure it gets added
      in these cases.
      
      Brett updates the driver to support link events over the admin receive
      queue, instead of polling link events.
      
      Maciej refactors the code a bit to introduce a new function to fetch the
      receiver buffer and do the DMA synchronization to reduce the code
      duplication.  Also added ice_can_reuse_rx_page() to verify whether the
      page can be reused so that in the future, we can use this check
      elsewhere in the driver.  Additional driver optimizations so that we can
      drop the ice_pull_tail() altogether.  Added support for bulk updates of
      refcount instead of doing it one by one.  Refactored the page counting
      and buffer recycling so that we can use this code to clean up receive
      buffers when there is no skb allocated, like XDP.  Added
      DMA_ATTR_WEAK_ORDERING and DMA_ATTR_SKIP_CPU_SYNC attributes to the DMA
      API during the mapping operations on the receive side, so that nonx86
      platforms will be able to sync with what is being used (2k buffers)
      instead of the entire page.
      
      Dave fixes the driver to perform the most intrusive of the resets
      requested and clear the other request bits so that we do not end up with
      repeated reset, after reset.
      
      Bruce adds a iterator macro to clean up several for() loops.
      
      Chinh modifies the packet flags to be more generic so that they can be
      used for both receive and transmit.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      be67101f
  2. 25 Mar, 2019 15 commits
  3. 24 Mar, 2019 20 commits