1. 16 Nov, 2022 26 commits
  2. 15 Nov, 2022 10 commits
  3. 14 Nov, 2022 4 commits
    • David S. Miller's avatar
      Merge tag 'mlx5-updates-2022-11-12' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux · f12ed9c0
      David S. Miller authored
      Saeed Mahameed says:
      
      ====================
      mlx5-updates-2022-11-12
      
      Misc updates to mlx5 driver
      
      1) Support enhanced CQE compression, on ConnectX6-Dx
         Reduce irq rate, cpu utilization and latency.
      
      2) Connection tracking: Optimize the pre_ct table lookup for rules
         installed on chain 0.
      
      3) implement ethtool get_link_ext_stats for PHY down events
      
      4) Expose device vhca_id to debugfs
      
      5) misc cleanups and trivial changes
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f12ed9c0
    • Shenwei Wang's avatar
      net: fec: add xdp and page pool statistics · 6970ef27
      Shenwei Wang authored
      Added xdp and page pool statistics.
      In order to make the implementation simple and compatible, the patch
      uses the 32bit integer to record the XDP statistics.
      Signed-off-by: default avatarShenwei Wang <shenwei.wang@nxp.com>
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6970ef27
    • David S. Miller's avatar
      Merge branch 'sparx5-sorted-VCAP-rules' · 4d1bbdf5
      David S. Miller authored
      Steen Hegelund says:
      
      ====================
      net: Add support for sorted VCAP rules in Sparx5
      
      This provides support for adding Sparx5 VCAP rules in sorted order, VCAP
      rule counters and TC filter matching on ARP frames.
      
      It builds on top of the initial IS2 VCAP support found in these series:
      
      https://lore.kernel.org/all/20221020130904.1215072-1-steen.hegelund@microchip.com/
      https://lore.kernel.org/all/20221109114116.3612477-1-steen.hegelund@microchip.com/
      
      Functionality
      =============
      
      When a new VCAP rule is added the driver will now ensure that the rule is
      inserted in sorted order, and when a rule is removed, the remaining rules
      will be moved to keep the sorted order and remove any gaps in the VCAP
      address space.
      
      A VCAP rule is ordered using these 3 values:
      
       - Rule size: the count of VCAP addresses used by the rule.  The largest
         rule have highest priority
      
       - Rule User: The rules are ordered by the user enumeration
      
       - Priority: The priority provided in the flower filter.  The lowest value
         has the highest priority.
      
      A VCAP instance may contain the counter as part of the VCAP cache area, and
      this counter may be one or more bits in width.  This type of counter
      automatically increments its value when the rule is hit.
      
      Other VCAP instances have a dedicated counter area outside of the VCAP and
      in this case the rule must contain the counter id to be able to locate the
      counter value and cause the counter to be incremented.  In this case there
      must also be a VCAP rule action that sets the counter id.
      
      The Sparx5 IS2 VCAP uses a dedicated counter area with 32bit counters.
      
      This series adds support for getting VCAP rule counters and provide these
      via the TC statistic interface.
      
      This only support packet counters, not byte counters.
      
      Finally the series adds support for the ARP frame dissector and configures
      the Sparx5 IS2 VCAP to generate the ARP keyset when ARP traffic is
      received.
      
      Delivery:
      =========
      
      This is current plan for delivering the full VCAP feature set of Sparx5:
      
      - DebugFS support for inspecting rules
      - TC protocol all support
      - Sparx5 IS0 VCAP support
      - TC policer and drop action support (depends on the Sparx5 QoS support
        upstreamed separately)
      - Sparx5 ES0 VCAP support
      - TC flower template support
      - TC matchall filter support for mirroring and policing ports
      - TC flower filter mirror action support
      - Sparx5 ES2 VCAP support
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4d1bbdf5
    • Steen Hegelund's avatar
      net: microchip: sparx5: Add KUNIT test of counters and sorted rules · dccc30cc
      Steen Hegelund authored
      This tests the insert, move and deleting of rules and checks that the
      unused VCAP addresses are initialized correctly.
      Signed-off-by: default avatarSteen Hegelund <steen.hegelund@microchip.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      dccc30cc