netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v3 0/2] virtio-net: unbreak vq resizing if vq coalescing is not supported
@ 2024-08-01 12:27 Heng Qi
  2024-08-01 12:27 ` [PATCH net v3 1/2] virtio-net: check feature before configuring the vq coalescing command Heng Qi
  2024-08-01 12:27 ` [PATCH net v3 2/2] virtio-net: unbreak vq resizing when coalescing is not negotiated Heng Qi
  0 siblings, 2 replies; 5+ messages in thread
From: Heng Qi @ 2024-08-01 12:27 UTC (permalink / raw)
  To: netdev, Jason Wang, Michael S. Tsirkin
  Cc: virtualization, Paolo Abeni, Jakub Kicinski, Eric Dumazet,
	David S. Miller, Eugenio Pérez, Xuan Zhuo

Currently, if the driver does not negotiate the vq coalescing feature
but supports vq resize, the vq resize action, which could have been
successfully executed, is interrupted due to the failure in configuring
the vq coalescing parameters. This issue needs to be fixed.

Changelog
=========
v2->v3:
  - Break out the feature check and the fix into separate patches.

v1->v2:
  - Rephrase the subject.
  - Put the feature check inside the virtnet_send_{r,t}x_ctrl_coal_vq_cmd.

Heng Qi (2):
  virtio-net: check feature before configuring the vq coalescing command
  virtio-net: unbreak vq resizing when coalescing is not negotiated

 drivers/net/virtio_net.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

-- 
2.32.0.3.g01195cf9f


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-01 12:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-01 12:27 [PATCH net v3 0/2] virtio-net: unbreak vq resizing if vq coalescing is not supported Heng Qi
2024-08-01 12:27 ` [PATCH net v3 1/2] virtio-net: check feature before configuring the vq coalescing command Heng Qi
2024-08-01 12:27 ` [PATCH net v3 2/2] virtio-net: unbreak vq resizing when coalescing is not negotiated Heng Qi
2024-08-01 12:30   ` Michael S. Tsirkin
2024-08-01 12:37     ` Heng Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).