Michael S. Tsirkin
2023-Oct-16 07:51 UTC
[PATCH net-next 2/5] virtio-net: separate rx/tx coalescing moderation cmds
On Mon, Oct 16, 2023 at 03:45:38PM +0800, Heng Qi wrote:> > > ? 2023/10/14 ??9:11, Jakub Kicinski ??: > > On Thu, 12 Oct 2023 15:44:06 +0800 Heng Qi wrote: > > > + > > > +static int virtnet_send_rx_notf_coal_cmds(struct virtnet_info *vi, > > > + struct ethtool_coalesce *ec) > > > +{ > > > + struct scatterlist sgs_rx; > > > + > > ../drivers/net/virtio_net.c: In function ?virtnet_send_rx_notf_coal_cmds?: > > ../drivers/net/virtio_net.c:3306:14: error: ?i? undeclared (first use in this function); did you mean ?vi?? > > 3306 | for (i = 0; i < vi->max_queue_pairs; i++) { > > | ^ > > | vi > > Will fix in the next version. > > Thanks!OK, however pls do test individual patches as well as the whole patchset. -- MST