Re: [PATCH v3 4/4] virtio_net: disable cb aggressively
From: Jakub Kicinski
Date: Wed May 26 2021 - 15:39:29 EST
On Wed, 26 May 2021 04:24:43 -0400 Michael S. Tsirkin wrote:
> @@ -1605,12 +1608,17 @@ static netdev_tx_t start_xmit(struct sk_buff *skb, struct net_device *dev)
> struct netdev_queue *txq = netdev_get_tx_queue(dev, qnum);
> bool kick = !netdev_xmit_more();
> bool use_napi = sq->napi.weight;
> + unsigned int bytes = skb->len;
FWIW GCC says bytes is unused.