[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210526123918.0aef851d@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Wed, 26 May 2021 12:39:18 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: linux-kernel@...r.kernel.org, Wei Wang <weiwan@...gle.com>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
Willem de Bruijn <willemb@...gle.com>,
virtualization@...ts.linux-foundation.org,
Jason Wang <jasowang@...hat.com>
Subject: Re: [PATCH v3 4/4] virtio_net: disable cb aggressively
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.
Powered by blists - more mailing lists