1. 04 May, 2022 4 commits
    • Kishen Maloor's avatar
      mptcp: handle local addrs announced by userspace PMs · 4638de5a
      Kishen Maloor authored
      This change adds an internal function to store/retrieve local
      addrs announced by userspace PM implementations to/from its kernel
      context. The function addresses the requirements of three scenarios:
      1) ADD_ADDR announcements (which require that a local id be
      provided), 2) retrieving the local id associated with an address,
      and also where one may need to be assigned, and 3) reissuance of
      ADD_ADDRs when there's a successful match of addr/id.
      
      The list of all stored local addr entries is held under the
      MPTCP sock structure. Memory for these entries is allocated from
      the sock option buffer, so the list of addrs is bounded by optmem_max.
      The list if not released via REMOVE_ADDR signals is ultimately
      freed when the sock is destructed.
      Acked-by: default avatarPaolo Abeni <pabeni@redhat.com>
      Signed-off-by: default avatarKishen Maloor <kishen.maloor@intel.com>
      Signed-off-by: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4638de5a
    • Jakub Kicinski's avatar
      Merge tag 'wireless-next-2022-05-03' of... · f43f0cd2
      Jakub Kicinski authored
      Merge tag 'wireless-next-2022-05-03' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next
      
      Kalle Valo says:
      
      ====================
      wireless-next patches for v5.19
      
      First set of patches for v5.19 and this is a big one. We have two new
      drivers, a change in mac80211 STA API affecting most drivers and
      ath11k getting support for WCN6750. And as usual lots of fixes and
      cleanups all over.
      
      Major changes:
      
      new drivers
       - wfx: silicon labs devices
       - plfxlc: pureLiFi X, XL, XC devices
      
      mac80211
       - host based BSS color collision detection
       - prepare sta handling for IEEE 802.11be Multi-Link Operation (MLO) support
      
      rtw88
       - support TP-Link T2E devices
      
      rtw89
       - support firmware crash simulation
       - preparation for 8852ce hardware support
      
      ath11k
       - Wake-on-WLAN support for QCA6390 and WCN6855
       - device recovery (firmware restart) support for QCA6390 and WCN6855
       - support setting Specific Absorption Rate (SAR) for WCN6855
       - read country code from SMBIOS for WCN6855/QCA6390
       - support for WCN6750
      
      wcn36xx
       - support for transmit rate reporting to user space
      
      * tag 'wireless-next-2022-05-03' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next: (228 commits)
        rtw89: 8852c: rfk: add DPK
        rtw89: 8852c: rfk: add IQK
        rtw89: 8852c: rfk: add RX DCK
        rtw89: 8852c: rfk: add RCK
        rtw89: 8852c: rfk: add TSSI
        rtw89: 8852c: rfk: add LCK
        rtw89: 8852c: rfk: add DACK
        rtw89: 8852c: rfk: add RFK tables
        plfxlc: fix le16_to_cpu warning for beacon_interval
        rtw88: remove a copy of the NAPI_POLL_WEIGHT define
        carl9170: tx: fix an incorrect use of list iterator
        wil6210: use NAPI_POLL_WEIGHT for napi budget
        ath10k: remove a copy of the NAPI_POLL_WEIGHT define
        ath11k: Add support for WCN6750 device
        ath11k: Datapath changes to support WCN6750
        ath11k: HAL changes to support WCN6750
        ath11k: Add QMI changes for WCN6750
        ath11k: Fetch device information via QMI for WCN6750
        ath11k: Add register access logic for WCN6750
        ath11k: Add HW params for WCN6750
        ...
      ====================
      
      Link: https://lore.kernel.org/r/20220503153622.C1671C385A4@smtp.kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      f43f0cd2
    • Jakub Kicinski's avatar
      netdev: reshuffle netif_napi_add() APIs to allow dropping weight · 58caed3d
      Jakub Kicinski authored
      Most drivers should not have to worry about selecting the right
      weight for their NAPI instances and pass NAPI_POLL_WEIGHT.
      It'd be best if we didn't require the argument at all and selected
      the default internally.
      
      This change prepares the ground for such reshuffling, allowing
      for a smooth transition. The following API should remain after
      the next release cycle:
        netif_napi_add()
        netif_napi_add_weight()
        netif_napi_add_tx()
        netif_napi_add_tx_weight()
      Where the _weight() variants take an explicit weight argument.
      I opted for a _weight() suffix rather than a __ prefix, because
      we use __ in places to mean that caller needs to also issue a
      synchronize_net() call.
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      Link: https://lore.kernel.org/r/20220502232703.396351-1-kuba@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      58caed3d
    • Vladimir Oltean's avatar
      selftests: forwarding: add basic QoS classification test for Ocelot switches · 7d4e91e0
      Vladimir Oltean authored
      Test basic (port-default, VLAN PCP and IP DSCP) QoS classification for
      Ocelot switches. Advanced QoS classification using tc filters is covered
      by tc_flower_chains.sh in the same directory.
      Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
      Link: https://lore.kernel.org/r/20220502155424.4098917-1-vladimir.oltean@nxp.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      7d4e91e0
  2. 03 May, 2022 36 commits