From: Luke Gorrie <luke-vEt0keKvJLw@public.gmane.org>
To: "snabb-devel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org"
<snabb-devel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Cc: "dev-VfR2kkLFssw@public.gmane.org"
<dev-VfR2kkLFssw@public.gmane.org>,
VirtualOpenSystems Technical Team
<tech-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J@public.gmane.org>,
virtualization-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: [snabb-devel] Re: memory barriers in virtq.lua?
Date: Wed, 8 Apr 2015 05:40:11 +0200 [thread overview]
Message-ID: <CAA2XHbehi0rFuEGXDA=KTeVr5My1gvUOpOjFP5oSEUiYozrdCA@mail.gmail.com> (raw)
In-Reply-To: <20150407172849-mutt-send-email-mst-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
On 7 April 2015 at 17:30, Michael S. Tsirkin <mst-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> Just guessing from the available info:
>
> I think you refer to this:
> The driver MUST handle spurious interrupts from the device.
>
> The intent is to be able to handle some spurious interrupts once in a
> while. AFAIK linux triggers the message if it gets a huge number of
> spurious interrupts for an extended period of time.
> For example, this will trigger if the device does not clear interrupt
> line after interrupt register read.
>
Thanks for that info.
The only spurious interrupt that I think we need is one when vhost-user
reconnects. That would be to cover the case where the vswitch is restarted
after writing used->idx but before sending the interrupt.
Or perhaps there is a better solution to that case?
Looking forward to getting an upstream vhost-user reconnect. one thing at a
time.. :)
Cheers,
-Luke
next prev parent reply other threads:[~2015-04-08 3:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150127160126.GA10651@redhat.com>
[not found] ` <CADDJ2=M6hwFwooXqUjUc9+JxjW1sVYvKhY9dBavrmMUrej6Ysw@mail.gmail.com>
[not found] ` <CADDJ2=M6hwFwooXqUjUc9+JxjW1sVYvKhY9dBavrmMUrej6Ysw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-07 14:22 ` [snabb-devel] Re: memory barriers in virtq.lua? Luke Gorrie
[not found] ` <CAA2XHbcU0tV0NrBXT6oh6LOz7sKm9P8jqD1=T-ZgTahSVM_qwQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-07 15:30 ` Michael S. Tsirkin
[not found] ` <20150407172849-mutt-send-email-mst-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-04-08 3:40 ` Luke Gorrie [this message]
2015-04-08 15:15 ` [dpdk-dev] " Xie, Huawei
2015-04-09 3:12 ` Luke Gorrie
[not found] ` <CAA2XHbdNAB1ZsBFYHW7W1yhnkzaSixwKk4KvjU8G=7OLECpZhQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-09 15:00 ` [snabb-devel] " Xie, Huawei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA2XHbehi0rFuEGXDA=KTeVr5My1gvUOpOjFP5oSEUiYozrdCA@mail.gmail.com' \
--to=luke-vet0kekvjlw@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
--cc=snabb-devel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
--cc=tech-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J@public.gmane.org \
--cc=virtualization-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).