Thread (2 messages) 2 messages, 2 authors, 2012-03-26

Re: [RFC V2 PATCH] virtio-spec: ack the announce notification through ctrl_vq

From: Rusty Russell <hidden>
Date: 2012-03-26 04:25:26
Also in: lkml

On Fri, 23 Mar 2012 11:05:01 +0800, Jason Wang [off-list ref] wrote:
During link announcement, driver needs a method to notify device that it has
received the notification and let it clear the VIRITO_NET_S_ANNOUNCE bit in the
status field. Doing this through a dedicated command looks suitable for all
platforms (especially for the ones who don't trap the status read or write) with
a ctrl vq and can solve the race between host and guest.

So this patch makes VIRTIO_NET_F_ANNOUNCE depends on VIRTIO_NET_F_CTRL_VQ and
introduces a dedicated command VIRTIO_NET_CTRL_ANNOUNCE_ACK to let device clear
the VIRTIO_NET_S_ANNOUNCE bit in the status field.
Applied, thanks!

Cheers,
Rusty.
-- 
  How could I marry someone with more hair than me?  http://baldalex.org
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help