1. Aug 22, 2023
    • Adham Faris's avatar
      net/mlx5e: aRFS, Prevent repeated kernel rule migrations requests · 7a73cf0b
      Adham Faris authored
      
      
      aRFS rule movement requests from one Rx ring to other Rx ring arrive
      from the kernel to ensure that packets are steered to the right Rx ring.
      In the time interval until satisfying such a request, several more
      requests might follow, for the same flow.
      
      This patch detects and prevents repeated aRFS rules movement requests.
      
      In mlx5e_rx_flow_steer() ndo, after finding the aRFS rule that have been
      requested to move by the kernel, check if it's already requested to move
      by calling work_busy(&arfs_rule->arfs_work) handler. IOW, if this
      request is pending to be executed (in the work queue) or it's executing
      now but hasn't finished yet, return current filter ID and don't issue a
      new transition work.
      
      Signed-off-by: default avatarAdham Faris <afaris@nvidia.com>
      Reviewed-by: default avatarTariq Toukan <tariqt@nvidia.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
      7a73cf0b
  2. Aug 21, 2023
  3. Aug 20, 2023
  4. Aug 19, 2023