1. 28 Aug, 2021 1 commit
    • Jakub Kicinski's avatar
      bnxt: count packets discarded because of netpoll · 40bedf7c
      Jakub Kicinski authored
      bnxt may discard packets if Rx completions are consumed
      in an attempt to let netpoll make progress. It should be
      extremely rare in practice but nonetheless such events
      should be counted.
      
      Since completion ring memory is allocated dynamically use
      a similar scheme to what is done for HW stats to save them.
      
      Report the stats in rx_dropped and per-netdev ethtool
      counter. Chances that users care which ring dropped are
      very low.
      
      v3: only save the stat to rx_dropped on reset,
      rx_total_netpoll_discards will now only show drops since
      last reset, similar to other "total_discard" counters.
      Reviewed-by: default avatarMichael Chan <michael.chan@broadcom.com>
      Reviewed-by: default avatarEdwin Peer <edwin.peer@broadcom.com>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      40bedf7c
  2. 27 Aug, 2021 24 commits
  3. 26 Aug, 2021 15 commits