1. 19 Jun, 2021 24 commits
  2. 17 Jun, 2021 11 commits
  3. 16 Jun, 2021 5 commits
    • David S. Miller's avatar
      Merge tag 'wireless-drivers-next-2021-06-16' of... · 0c337952
      David S. Miller authored
      Merge tag 'wireless-drivers-next-2021-06-16' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
      
      Kalle Valo says:
      
      ====================
      wireless-drivers-next patches for v5.14
      
      First set of patches for v5.14. Major new features are here support
      WCN6855 PCI in ath11k and WoWLAN support for wcn36xx. Also smaller
      fixes and cleanups all over.
      
      ath9k
      
      * provide STBC info in the received frames
      
      brcmfmac
      
      * fix setting of station info chains bitmask
      
      * correctly report average RSSI in station info
      
      rsi
      
      * support for changing beacon interval in AP mode
      
      ath11k
      
      * support for WCN6855 PCI hardware
      
      wcn36xx
      
      * WoWLAN support with magic packets and GTK rekeying
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0c337952
    • David S. Miller's avatar
      Merge branch 'marvell-prestera-flower-match-all' · 8ac9900a
      David S. Miller authored
      Vadym Kochan says:
      
      ====================
      Marvell Prestera add flower and match all support
      
      Add ACL infrastructure for Prestera Switch ASICs family devices to
      offload cls_flower rules to be processed in the HW.
      
      ACL implementation is based on tc filter api. The flower classifier
      is supported to configure ACL rules/matches/action.
      
      Supported actions:
      
          - drop
          - trap
          - pass
      
      Supported dissector keys:
      
          - indev
          - src_mac
          - dst_mac
          - src_ip
          - dst_ip
          - ip_proto
          - src_port
          - dst_port
          - vlan_id
          - vlan_ethtype
          - icmp type/code
      
      - Introduce matchall filter support
      - Add SPAN API to configure port mirroring.
      - Add tc mirror action.
      
      At this moment, only mirror (egress) action is supported.
      
      Example:
          tc filter ... action mirred egress mirror dev DEV
      
      v2:
          Fixed "newline at EOF warnings" from "git am" by
              re-applying with --whitespace=fix
      
          patch #1:
              1) Set TC HW Offload always enabled without disable it     [suggested by Vladimir Oltean]
                 by user. It reduced the logic by removing feature
                 handling and acl block disable counting.
      
          patch #2:
              1) Removed extra not needed diff with prestera_port and    [suggested by Vladimir Oltean]
                 prestera_switch  lines exchanging in prestera_acl.h
      
              2) Fix local variables ordering to reverse chrostmas tree  [suggested by Vladimir Oltean]
      
              3) Use tc_cls_can_offload_and_chain0() in                  [suggested by Vladimir Oltean]
                 prestera_span_replace()
      
              4) Removed TODO about prio check                           [suggested by Vladimir Oltean]
      
              5) Rephrase error message if prestera_netdev_check()       [suggested by Vladimir Oltean]
                 fails in prestera_span_replace()
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8ac9900a
    • Serhiy Boiko's avatar
      net: marvell: prestera: Add matchall support · 13defa27
      Serhiy Boiko authored
      - Introduce matchall filter support
      - Add SPAN API to configure port mirroring.
      - Add tc mirror action.
      
      At this moment, only mirror (egress) action is supported.
      
      Example:
          tc filter ... action mirred egress mirror dev DEV
      Co-developed-by: default avatarVolodymyr Mytnyk <vmytnyk@marvell.com>
      Signed-off-by: default avatarVolodymyr Mytnyk <vmytnyk@marvell.com>
      Signed-off-by: default avatarSerhiy Boiko <serhiy.boiko@plvision.eu>
      Signed-off-by: default avatarVadym Kochan <vkochan@marvell.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      13defa27
    • Serhiy Boiko's avatar
      net: marvell: Implement TC flower offload · 8b474a9f
      Serhiy Boiko authored
      Add ACL infrastructure for Prestera Switch ASICs family devices to
      offload cls_flower rules to be processed in the HW.
      
      ACL implementation is based on tc filter api. The flower classifier
      is supported to configure ACL rules/matches/action.
      
      Supported actions:
      
          - drop
          - trap
          - pass
      
      Supported dissector keys:
      
          - indev
          - src_mac
          - dst_mac
          - src_ip
          - dst_ip
          - ip_proto
          - src_port
          - dst_port
          - vlan_id
          - vlan_ethtype
          - icmp type/code
      Co-developed-by: default avatarVolodymyr Mytnyk <vmytnyk@marvell.com>
      Signed-off-by: default avatarVolodymyr Mytnyk <vmytnyk@marvell.com>
      Signed-off-by: default avatarSerhiy Boiko <serhiy.boiko@plvision.eu>
      Signed-off-by: default avatarVadym Kochan <vkochan@marvell.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8b474a9f
    • David S. Miller's avatar
      Merge branch 'net-smc-stats' · 220e898d
      David S. Miller authored
      Karsten Graul says:
      
      ====================
      net/smc: Add SMC statistic support
      
      Please apply the following patch series for smc to netdev's net-next tree.
      
      This v2 is a resend of the code contained in v1 but with an updated
      cover letter to describe why we have chosen to use the generic netlink
      mechanism to access the smc protocol's statistic data.
      
      The patchset adds statistic support to the SMC protocol. Per-cpu
      variables are used to collect the statistic information for better
      performance and for reducing concurrency pitfalls. The code that is
      collecting statistic data is implemented in macros to increase code
      reuse and readability.
      The generic netlink mechanism in SMC is extended to provide the
      collected statistics to userspace.
      Network namespace awareness is also part of the statistics
      implementation.
      
      SMC is a protocol interacting with PCI devices (like RoCE Cards) and
      runs on top of the TCP protocol. As SMC is a network protocol and not
      an ethernet device driver, we decided to use the generic netlink
      interface. This should be comparable to what other protocols in the
      net subsystem like tipc, ncsi, ieee802154 or tcp, et al, do.
      There is already an established internal generic netlink interface
      mechanism in SMC which is used to collect SMC Protocol internal
      information. This patchset extends that existing mechanism.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      220e898d