Thread (34 messages) 34 messages, 4 authors, 2023-11-02

Re: [PATCH net-next 2/5] virtio-net: separate rx/tx coalescing moderation cmds

From: Heng Qi <hidden>
Date: 2023-10-16 07:45:50


在 2023/10/14 上午9:11, Jakub Kicinski 写道:
On Thu, 12 Oct 2023 15:44:06 +0800 Heng Qi wrote:
quoted
+
+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!

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help