Re: [PATCH net-next 2/2] netdevsim: collect statistics at RX side

From: Jakub Kicinski
Date: Thu Jun 12 2025 - 10:45:51 EST


On Thu, 12 Jun 2025 17:25:52 +0300 Joe Damato wrote:
> It "feels" like other drivers would be bumping RX stats in their NAPI poll
> function (which is nsim_poll, the naming of the functions is a bit confusing
> here), so it seems like netdevsim maybe should too?

Good point, and then we should probably add the queue length to
rx_dropped in nsim_queue_free() before we call purge?
--
pw-bot: cr