1. 16 4月, 2021 4 次提交
    • G
      net: hns3: VF not request link status when PF support push link status feature · 01305e16
      Guangbin Huang 提交于
      To reduce the processing of unnecessary mailbox command when PF supports
      actively push its link status to VFs, VFs stop sending request link
      status command in periodic service task in this case.
      Signed-off-by: NGuangbin Huang <huangguangbin2@huawei.com>
      Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      01305e16
    • G
      net: hns3: PF add support for pushing link status to VFs · 18b6e31f
      Guangbin Huang 提交于
      Previously, VF updates its link status every second by send query command
      to PF in periodic service task. If link stats of PF is changed, VF may
      need at most one second to update its link status.
      
      To reduce delay of link status between PF and VFs, PF actively push its
      link status to VFs when its link status is updated. And to let VF know
      PF supports this new feature, the link status changed mailbox command
      adds one bit to indicate it.
      Signed-off-by: NGuangbin Huang <huangguangbin2@huawei.com>
      Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      18b6e31f
    • D
      net: phy: at803x: select correct page on config init · c329e5af
      David Bauer 提交于
      The Atheros AR8031 and AR8033 expose different registers for SGMII/Fiber
      as well as the copper side of the PHY depending on the BT_BX_REG_SEL bit
      in the chip configure register.
      
      The driver assumes the copper side is selected on probe, but this might
      not be the case depending which page was last selected by the
      bootloader. Notably, Ubiquiti UniFi bootloaders show this behavior.
      
      Select the copper page when probing to circumvent this.
      Signed-off-by: NDavid Bauer <mail@david-bauer.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c329e5af
    • D
      Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue · bd363f54
      David S. Miller 提交于
      Tony Nguyen says:
      
      ====================
      100GbE Intel Wired LAN Driver Updates 2021-04-14
      
      This series contains updates to ice driver only.
      
      Bruce changes and removes open coded values to instead use existing
      kernel defines and suppresses false cppcheck issues.
      
      Ani adds new VSI states to track netdev allocation and registration. He
      also removes leading underscores in the ice_pf_state enum.
      
      Jesse refactors ITR by introducing helpers to reduce duplicated code and
      structures to simplify checking of ITR mode. He also triggers a software
      interrupt when exiting napi poll or busy-poll to ensure all work is
      processed. Modifies /proc/iomem to display driver name instead of PCI
      address. He also changes the checks of vsi->type to use a local variable
      in ice_vsi_rebuild() and removes an unneeded struct member.
      
      Jake replaces the driver's adaptive interrupt moderation algorithm to
      use the kernel's DIM library implementation.
      
      Scott reworks module reads to reduce the number of reads needed and
      remove excessive increment of QSFP page.
      
      Brett sets the vsi->vf_id to invalid for non-VF VSIs.
      
      Paul removes the return value from ice_vsi_manage_rss_lut() as it's not
      communicating anything critical. He also reduces the scope of a
      variable.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bd363f54
  2. 15 4月, 2021 36 次提交