virtio-net: consistently save parameters for per-queue
authorHeng Qi <hengqi@linux.alibaba.com>
Sun, 8 Oct 2023 06:27:41 +0000 (14:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Oct 2023 06:13:50 +0000 (07:13 +0100)
commite9420838ab4ffb82850095549e94dcee3f7fe0cb
tree23312f13f0521d1bb6dd29ee4883f21b01a6433d
parent134674c1877be5e35e35802517c67a9ecce21153
virtio-net: consistently save parameters for per-queue

When using .set_coalesce interface to set all queue coalescing
parameters, we need to update both per-queue and global save values.

Fixes: 394bd87764b6 ("virtio_net: support per queue interrupt coalesce command")
Cc: Gavin Li <gavinl@nvidia.com>
Signed-off-by: Heng Qi <hengqi@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c