On 11/20/25 2:53 AM, [email protected] wrote:
> @@ -3521,6 +3526,9 @@ static void virtnet_tx_pause(struct virtnet_info *vi, 
> struct send_queue *sq)
>  
>       /* Prevent the upper layer from trying to send packets. */
>       netif_stop_subqueue(vi->dev, qindex);
> +     u64_stats_update_begin(&sq->stats.syncp);
> +     u64_stats_inc(&sq->stats.stop);
> +     u64_stats_update_end(&sq->stats.syncp);

Minor non blocking nit: possibly use an helper even for this increment.

@Michael, Jason, Xuan, Eugenio: looks good?

Thanks,

Paolo


Reply via email to