1. 21 Apr, 2023 2 commits
    • Yevgeny Kliteynik's avatar
      net/mlx5: DR, Calculate sync threshold of each pool according to its type · 72b2cff6
      Yevgeny Kliteynik authored
      When certain ICM chunk is no longer needed, it needs to be freed.
      Fully freeing ICM memory involves issuing FW SYNC_STEERING command.
      This is very time consuming, and it is impractical to do it for every
      freed chunk.
      Instead, we manage these 'freed' chunks in hot list (list of chunks
      that are not required by SW any more, but HW might still access them).
      When size of the hot list reaches certain threshold, we purge it and
      issue SYNC_STEERING FW command.
      There is one threshold for all the different ICM types, which is not
      optimal, as different ICM types require different approach: STEs pool
      is very large, and it is very 'dynamic' in its nature, so letting hot
      list to become too large will result in a significant perf hiccup when
      purging the hot list. Modify action is much smaller and less dynamic,
      so we can let the hot list to grow to almost the size of the whole pool.
      
      This patch fixes this problem: instead of having same hot memory
      threshold for all the pools, sync operation will be triggered in
      accordance with the ICM type.
      Signed-off-by: default avatarYevgeny Kliteynik <kliteyn@nvidia.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
      72b2cff6
    • Yevgeny Kliteynik's avatar
      net/mlx5: DR, Fix dumping of legacy modify_hdr in debug dump · 07505600
      Yevgeny Kliteynik authored
      The steering dump parser expects to see 0 as rewrite num of actions
      in case pattern/args aren't supported - parsing of legacy modify header
      is based on this assumption.
      Fix this to align to parser's expectation.
      Signed-off-by: default avatarYevgeny Kliteynik <kliteyn@nvidia.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
      07505600
  2. 20 Apr, 2023 11 commits
  3. 19 Apr, 2023 27 commits