OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [PATCH 05/11] doorbells: Introduce doorbells


On 17/9/20 8:01 Î.Î., Alex BennÃe wrote:

Nikos Dragazis <ndragazis@arrikto.com> writes:

Introduce doorbells as a new virtio device resource.

Signed-off-by: Nikos Dragazis <ndragazis@arrikto.com>
---
  content.tex   |  2 ++
  doorbells.tex | 12 ++++++++++++
  2 files changed, 14 insertions(+)
  create mode 100644 doorbells.tex

diff --git a/content.tex b/content.tex
index 94a3693..38ed709 100644
--- a/content.tex
+++ b/content.tex
@@ -373,6 +373,8 @@ \section{Driver Notifications} \label{sec:Virtqueues / Driver notifications}
\input{shared-mem.tex} +\input{doorbells.tex}
+
  \chapter{General Initialization And Device Operation}\label{sec:General Initialization And Device Operation}
We start with an overview of device initialization, then expand on the
diff --git a/doorbells.tex b/doorbells.tex
new file mode 100644
index 0000000..e917536
--- /dev/null
+++ b/doorbells.tex
@@ -0,0 +1,12 @@
+\section{Doorbells}\label{sec:Basic Facilities of a Virtio device / Doorbells}
+
+A doorbell is a device register that triggers a notification to the
+device when accessed by the driver.
+
+Doorbells are an additional facility available to devices that need to
+support receiving driver notifications for events other than virtqueue
+activity (i.e., notifications that are device-specific).
+
+A device may be exporting multiple doorbells to the driver.
+
+The location of doorbells is found in a transport-specific way.
I just realised we don't specify anything about delivery. Should we say
something about lack of acknowledgement or guarantee that the
notification is delivered here?


I don't know. Should we? Based on the spec, the driver knows that each
access delivers a notification to the device. So, I think it is clear that
notifications cannot be lost. An acknowledgment would make sense if
notifications could be lost.

Regarding the rate at which the device can actually process these
notifications, I think this is a whole different story.

If you have something more specific in mind, please share it.

--Nikos


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]