Skip to content
Permalink
Manish-Mandlik…
Switch branches/tags

Commits on Nov 20, 2021

  1. bluetooth: Add MGMT Adv Monitor Device Found/Lost events

    This patch introduces two new MGMT events for notifying the bluetoothd
    whenever the controller starts/stops monitoring a device.
    
    Test performed:
    - Verified by logs that the MSFT Monitor Device is received from the
      controller and the bluetoothd is notified whenever the controller
      starts/stops monitoring a device.
    
    Signed-off-by: Manish Mandlik <mmandlik@google.com>
    Reviewed-by: Miao-chen Chou <mcchou@google.com>
    liveusr authored and intel-lab-lkp committed Nov 20, 2021
  2. bluetooth: Handle MSFT Monitor Device Event

    Whenever the controller starts/stops monitoring a bt device, it sends
    MSFT Monitor Device event. Add handler to read this vendor event.
    
    Test performed:
    - Verified by logs that the MSFT Monitor Device event is received from
      the controller whenever it starts/stops monitoring a device.
    
    Signed-off-by: Manish Mandlik <mmandlik@google.com>
    Reviewed-by: Miao-chen Chou <mcchou@google.com>
    liveusr authored and intel-lab-lkp committed Nov 20, 2021

Commits on Nov 17, 2021

  1. net: add missing include in include/net/gro.h

    This is needed for some arches, as reported by Geert Uytterhoeven,
    Randy Dunlap and Stephen Rothwell
    
    Fixes: 4721031 ("net: move gro definitions to include/net/gro.h")
    Signed-off-by: Eric Dumazet <edumazet@google.com>
    Cc: Stephen Rothwell <sfr@canb.auug.org.au>
    Cc: Randy Dunlap <rdunlap@infradead.org>
    Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Link: https://lore.kernel.org/r/20211117100130.2368319-1-eric.dumazet@gmail.com
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>
    neebe000 authored and Jakub Kicinski committed Nov 17, 2021
  2. stmmac: fix build due to brainos in trans_start changes

    txq_trans_cond_update() takes netdev_tx_queue *nq,
    not nq->trans_start.
    
    Fixes: 5337824 ("net: annotate accesses to queue->trans_start")
    Signed-off-by: Alexander Lobakin <alexandr.lobakin@intel.com>
    Reviewed-by: Eric Dumazet <edumazet@google.com>
    Link: https://lore.kernel.org/r/20211117152917.3739-1-alexandr.lobakin@intel.com
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>
    alobakin authored and Jakub Kicinski committed Nov 17, 2021
  3. Merge branch 'dev_watchdog-less-intrusive'

    Eric Dumazet says:
    
    ====================
    net: make dev_watchdog() less intrusive
    
    dev_watchdog() is used on many NIC to periodically monitor TX queues
    to detect hangs.
    
    Problem is : It stops all queues, then check them, then 'unfreeze' them.
    
    Not only this stops feeding the NIC, it also migrates all qdiscs
    to be serviced on the cpu calling netif_tx_unlock(), causing
    a potential latency artifact.
    
    With many TX queues, this is becoming more visible.
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 17, 2021
  4. net: no longer stop all TX queues in dev_watchdog()

    There is no reason for stopping all TX queues from dev_watchdog()
    
    Not only this stops feeding the NIC, it also migrates all qdiscs
    to be serviced on the cpu calling netif_tx_unlock(), causing
    a potential latency artifact.
    
    Signed-off-by: Eric Dumazet <edumazet@google.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    neebe000 authored and davem330 committed Nov 17, 2021
  5. net: do not inline netif_tx_lock()/netif_tx_unlock()

    These are not fast path, there is no point in inlining them.
    
    Also provide netif_freeze_queues()/netif_unfreeze_queues()
    so that we can use them from dev_watchdog() in the following patch.
    
    Signed-off-by: Eric Dumazet <edumazet@google.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    neebe000 authored and davem330 committed Nov 17, 2021
  6. net: annotate accesses to queue->trans_start

    In following patches, dev_watchdog() will no longer stop all queues.
    It will read queue->trans_start locklessly.
    
    Signed-off-by: Eric Dumazet <edumazet@google.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    neebe000 authored and davem330 committed Nov 17, 2021
  7. net: use an atomic_long_t for queue->trans_timeout

    tx_timeout_show() assumed dev_watchdog() would stop all
    the queues, to fetch queue->trans_timeout under protection
    of the queue->_xmit_lock.
    
    As we want to no longer disrupt transmits, we use an
    atomic_long_t instead.
    
    Signed-off-by: Eric Dumazet <edumazet@google.com>
    Cc: david decotigny <david.decotigny@google.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    neebe000 authored and davem330 committed Nov 17, 2021
  8. Merge tag 'for-net-next-2021-11-16' of git://git.kernel.org/pub/scm/l…

    …inux/kernel/git/bluetooth/bluetooth-next
    
    Luiz Augusto von Dentz says:
    
    ====================
    bluetooth-next pull request for net-next:
    
     - Add support for AOSP Bluetooth Quality Report
     - Enables AOSP extension for Mediatek Chip (MT7921 & MT7922)
     - Rework of HCI command execution serialization
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 17, 2021
  9. net: ethernet: ti: cpsw: Enable PHY timestamping

    If the used PHYs also support hardware timestamping, all configuration requests
    should be forwared to the PHYs instead of being processed by the MAC driver
    itself.
    
    This enables PHY timestamping in combination with the cpsw driver.
    
    Tested with an am335x based board with two DP83640 PHYs connected to the cpsw
    switch.
    
    Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
    Acked-by: Richard Cochran <richardcochran@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    shifty91 authored and davem330 committed Nov 17, 2021
  10. Documentation: networking: net_failover: Fix documentation

    Update net_failover documentation with missing and incomplete
    details to get a proper working setup.
    
    Signed-off-by: Vasudev Kamath <vasudev@copyninja.info>
    Reviewed-by: Krishna Kumar <krikku@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    copyninja authored and davem330 committed Nov 17, 2021
  11. Merge branch 'ocelot_net-phylink'

    Russell King says:
    
    ====================
    net: ocelot_net: phylink validate implementation updates
    
    This series converts ocelot_net to fill in the supported_interfaces
    member of phylink_config, cleans up the validate() implementation,
    and then converts to phylink_generic_validate().
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 17, 2021
  12. net: ocelot_net: use phylink_generic_validate()

    ocelot_net has no special behaviour in its validation implementation, so
    can be switched to phylink_generic_validate().
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  13. net: ocelot_net: remove interface checks in macb_validate()

    As phylink checks the interface mode against the supported_interfaces
    bitmap, we no longer need to validate the interface mode in the
    validation function. Remove this to simplify it.
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  14. net: ocelot_net: populate supported_interfaces member

    Populate the phy interface mode bitmap for the MSCC Ocelot driver with
    the interface modes supported by the MAC.
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  15. Merge branch 'mtk_eth_soc-phylink'

    Russell King says:
    
    ====================
    net: mtk_eth_soc: phylink validate implementation updates
    
    This series converts mtk_eth_soc to fill in the supported_interfaces
    member of phylink_config, cleans up the validate() implementation, and
    then converts to phylink_generic_validate().
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 17, 2021
  16. net: mtk_eth_soc: use phylink_generic_validate()

    mtk_eth_soc has no special behaviour in its validation implementation,
    so can be switched to phylink_generic_validate().
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  17. net: mtk_eth_soc: drop use of phylink_helper_basex_speed()

    Now that we have a better method to select SFP interface modes, we
    no longer need to use phylink_helper_basex_speed() in a driver's
    validation function, and we can also get rid of our hack to indicate
    both 1000base-X and 2500base-X if the comphy is present to make that
    work. Remove this hack and use of phylink_helper_basex_speed().
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  18. net: mtk_eth_soc: remove interface checks in mtk_validate()

    As phylink checks the interface mode against the supported_interfaces
    bitmap, we no longer need to validate the interface mode, nor handle
    PHY_INTERFACE_MODE_NA in the validation function. Remove these to
    simplify the implementation.
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  19. net: mtk_eth_soc: populate supported_interfaces member

    Populate the phy interface mode bitmap for the Mediatek driver with
    interfaces modes supported by the MAC.
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  20. Merge branch 'sparx5-phylink'

    Russell King says:
    
    ====================
    net: sparx5: phylink validate implementation updates
    
    This series converts sparx5 to fill in the supported_interfaces member
    of phylink_config, cleans up the validate() implementation, and then
    converts to phylink_generic_validate().
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 17, 2021
  21. net: sparx5: use phylink_generic_validate()

    Sparx5 has no special behaviour in its validation implementation, so can
    be switched to phylink_generic_validate().
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  22. net: sparx5: clean up sparx5_phylink_validate()

    sparx5_phylink_validate() no longer needs to check for
    PHY_INTERFACE_MODE_NA as phylink will walk the supported interface
    types to discover the link mode capabilities. Neither is it necessary
    to check the device capabilities as we will not be called for
    unsupported interface modes. Remove these checks.
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  23. net: sparx5: populate supported_interfaces member

    Populate the phy_interface_t bitmap for the Microchip Sparx5 driver
    with interfaces modes supported by the MAC.
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  24. Merge branch 'enetc-phylink'

    Russell King says:
    
    ====================
    net: enetc: phylink validate implementation updates
    
    This series converts enetc to fill in the supported_interfaces member
    of phylink_config, cleans up the validate() implementation, and then
    converts to phylink_generic_validate().
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 17, 2021
  25. net: enetc: use phylink_generic_validate()

    enetc has no special behaviour in its validation implementation, so can
    be switched to phylink_generic_validate().
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  26. net: enetc: remove interface checks in enetc_pl_mac_validate()

    As phylink checks the interface mode against the supported_interfaces
    bitmap, we no longer need to validate the interface mode in the
    validation function. Remove this to simplify it.
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  27. net: enetc: populate supported_interfaces member

    Populate the phy_interface_t bitmap for the Freescale enetc driver with
    interfaces modes supported by the MAC.
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  28. Merge branch 'xilinx-phylink'

    Russell King says:
    
    ====================
    net: xilinx: phylink validate implementation updates
    
    This series converts axienet to fill in the supported_interfaces member
    of phylink_config, cleans up the validate() implementation, and then
    converts to phylink_generic_validate().
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 17, 2021
  29. net: axienet: use phylink_generic_validate()

    axienet has no special behaviour in its validation implementation, so
    can be switched to phylink_generic_validate().
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  30. net: axienet: remove interface checks in axienet_validate()

    As phylink checks the interface mode against the supported_interfaces
    bitmap, we no longer need to validate the interface mode in the
    validation function. Remove this to simplify it.
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  31. net: axienet: populate supported_interfaces member

    Populate the phy_interface_t bitmap for the Xilinx axienet driver with
    interfaces modes supported by the MAC.
    
    Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Russell King (Oracle) authored and davem330 committed Nov 17, 2021
  32. Merge tag 'mlx5-updates-2021-11-16' of git://git.kernel.org/pub/scm/l…

    …inux/kernel/git/saeed/linux
    
    Saeed Mahameed says:
    
    ====================
    mlx5-updates-2021-11-16
    
    Updates for mlx5 driver:
    
    1) Support ethtool cq mode
    2) Static allocation of mod header object for the common case
    3) TC support for when local and remote VTEPs are in the same
    4) Create E-Switch QoS objects on demand to save on resources
    5) Minor code improvements
    ====================
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 committed Nov 17, 2021
  33. net/mlx5: E-switch, Create QoS on demand

    Don't create eswitch QoS (root TSAR) on switch mode change. Create it on
    first child TSAR object creation - vport or rate group. Keep track
    root TSAR references and release root TSAR with last object deletion.
    No need to check for QoS is enabled when installing tc matchall filter.
    Remove related helper function due to no users of it.
    
    Signed-off-by: Dmytro Linkin <dlinkin@nvidia.com>
    Reviewed-by: Parav Pandit <parav@nvidia.com>
    Reviewed-by: Mark Bloch <mbloch@nvidia.com>
    Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
    DmytroLinkin authored and Saeed Mahameed committed Nov 17, 2021
Older