1. 06 Feb, 2020 1 commit
  2. 05 Jul, 2019 2 commits
  3. 02 Apr, 2019 1 commit
  4. 06 Aug, 2018 1 commit
  5. 16 Jul, 2018 4 commits
  6. 25 May, 2018 1 commit
    • Eran Ben Elisha's avatar
      net/mlx5e: Avoid reset netdev stats on configuration changes · 05909bab
      Eran Ben Elisha authored
      Move all RQ, SQ and channel counters from the channel objects into the
      priv structure.  With this change, counters will not be reset upon
      channel configuration changes.
      Channel's statistics for SQs which are associated with TCs higher than
      zero will be presented in ethtool -S, only for SQs which were opened at
      least once since the module was loaded (regardless of their open/close
      current status).  This is done in order to decrease the total amount of
      statistics presented and calculated for the common out of box use (no
      mlx5e_channel_stats is a compound of CH,RQ,SQs stats in order to
      create locality for the NAPI when handling TX and RX of the same
      Align the new statistics struct per ring to avoid several channels
      update to the same cache line at the same time.
      Packet rate was tested, no degradation sensed.
      Signed-off-by: default avatarEran Ben Elisha <eranbe@mellanox.com>
      CC: Qing Huang <qing.huang@oracle.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
  7. 01 May, 2018 2 commits