From: Rusty Russell <rusty@rustcorp•com.au>
To: "Sjur Brændeland" <sjur@brendeland•net>
Cc: "Michael S. Tsirkin" <mst@redhat•com>,
netdev@vger•kernel.org, Linus Walleij <linus.walleij@linaro•org>,
dmitry.tarnyagin@stericsson•com, linux-kernel@vger•kernel.org,
virtualization@lists•linux-foundation.org, sjur@brendeland•net
Subject: Re: [RFC virtio-next 0/4] Introduce CAIF Virtio and reversed Vrings
Date: Thu, 01 Nov 2012 18:11:35 +1030 [thread overview]
Message-ID: <87wqy54vo0.fsf@rustcorp.com.au> (raw)
In-Reply-To: <1351723614-4145-1-git-send-email-sjur@brendeland.net>
Sjur Brændeland <sjur@brendeland•net> writes:
> Zero-Copy data transport on the modem is primary goal for CAIF Virtio.
> In order to achieve Zero-Copy the direction of the Virtio rings are
> flipped in the RX direction. So we have implemented the Virtio
> access-function similar to what is found in vhost.c.
So, this adds another host-side virtqueue implementation.
Can we combine them together conveniently? You pulled out more stuff
into vring.h which is a start, but it's a bit overloaded.
Perhaps we should separate the common fields into struct vring, and use
it to build:
struct vring_guest {
struct vring vr;
u16 last_used_idx;
};
struct vring_host {
struct vring vr;
u16 last_avail_idx;
};
I haven't looked closely at vhost to see what it wants, but I would
think we could share more code.
Cheers,
Rusty.
_______________________________________________
Virtualization mailing list
Virtualization@lists•linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
next prev parent reply other threads:[~2012-11-01 7:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-31 22:46 [RFC virtio-next 0/4] Introduce CAIF Virtio and reversed Vrings Sjur Brændeland
2012-10-31 22:46 ` [RFC virtio-next 1/4] virtio: Move definitions to header file vring.h Sjur Brændeland
2012-10-31 22:46 ` [RFC virtio-next 2/4] include/vring.h: Add support for reversed vritio rings Sjur Brændeland
2012-10-31 22:46 ` [RFC virtio-next 3/4] virtio_ring: Call callback function even when used ring is empty Sjur Brændeland
2012-10-31 22:46 ` [RFC virtio-next 4/4] caif_virtio: Add CAIF over virtio Sjur Brændeland
2012-11-01 7:41 ` Rusty Russell [this message]
2012-11-05 12:12 ` [RFC virtio-next 0/4] Introduce CAIF Virtio and reversed Vrings Sjur Brændeland
2012-11-06 2:09 ` Rusty Russell
[not found] ` <1354718230-4486-1-git-send-email-sjur@brendeland.net>
[not found] ` <20121206102750.GF10837@redhat.com>
[not found] ` <877goc0wac.fsf@rustcorp.com.au>
[not found] ` <CAJK669bP41oBhJ=MB64NS21Ag7XO5WswuTiVKCFTb96nvmyBiw@mail.gmail.com>
[not found] ` <87pq1f2rj0.fsf@rustcorp.com.au>
[not found] ` <87wqvl1g9s.fsf@rustcorp.com.au>
[not found] ` <20130110111117.GE13451@redhat.com>
2013-01-10 22:48 ` [RFCv2 00/12] Introduce host-side virtio queue and CAIF Virtio Rusty Russell
2013-01-11 7:31 ` Michael S. Tsirkin
2013-01-12 0:20 ` Rusty Russell
2013-01-14 16:54 ` Michael S. Tsirkin
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=87wqy54vo0.fsf@rustcorp.com.au \
--to=rusty@rustcorp$(echo .)com.au \
--cc=dmitry.tarnyagin@stericsson$(echo .)com \
--cc=linus.walleij@linaro$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=mst@redhat$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=sjur@brendeland$(echo .)net \
--cc=virtualization@lists$(echo .)linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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