All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel@citrix.com>
To: Paul Durrant <paul.durrant@citrix.com>, xen-devel@lists.xenproject.org
Cc: Ian Jackson <ian.jackson@eu.citrix.com>, Tim Deegan <tim@xen.org>,
	Keir Fraser <keir@xen.org>,
	Ian Campbell <ian.campbell@citrix.com>,
	Jan Beulich <jbeulich@suse.com>
Subject: Re: [PATCH 2/3] public/io/netif.h: document control ring and toeplitz hashing
Date: Wed, 23 Dec 2015 13:27:36 +0000	[thread overview]
Message-ID: <567AA148.4070207@citrix.com> (raw)
In-Reply-To: <1450865195-12883-3-git-send-email-paul.durrant@citrix.com>

On 23/12/15 10:06, Paul Durrant wrote:
> This patch documents a new shared (variable message length) ring between
> frontend and backend that can be used to pass bulk out-of-band data, such
> as that required to implement toeplitz hashing in the backend that is
> configurable by the frontend.
> 
> The patch then goes on to document the messages passed over the control
[...]
> ring that can be used to configure toeplitz hashing.
> --- a/xen/include/public/io/netif.h
> +++ b/xen/include/public/io/netif.h
> @@ -151,6 +151,326 @@
>   */
>  
>  /*
> + * Control ring:
[...]
> + *
> + * The layout of the shared page is as follows:
> + *
> + *    0     1     2     3     4     5     6     7  octet
> + * +-----+-----+-----+-----+-----+-----+-----+-----+
> + * |        req_cons       |        req_prod       |
> + * +-----+-----+-----+-----+-----+-----+-----+-----+
> + * |        rsp_cons       |        rsp_prod       |
> + * +-----+-----+-----+-----+-----+-----+-----+-----+
> + * |                                               |
> + * +                                               +
> + * |                      req[1024]                |
> + *                         .
> + *                         .
> + * |                                               |
> + * +-----+-----+-----+-----+-----+-----+-----+-----+
> + * |                                               |
> + * +                                               +
> + * |                      rsp[1024]                |
> + *                         .
> + *                         .
> + * |                                               |
> + * +-----+-----+-----+-----+-----+-----+-----+-----+

You should use the standard ring format and infrastructure.

David

  parent reply	other threads:[~2015-12-23 13:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-23 10:06 [PATCH 0/3] public/io/netif.h: support for toeplitz hashing Paul Durrant
2015-12-23 10:06 ` [PATCH 1/3] public/io/netif.h: document transmit and receive wire formats separately Paul Durrant
2015-12-23 10:06 ` [PATCH 2/3] public/io/netif.h: document control ring and toeplitz hashing Paul Durrant
2015-12-23 11:45   ` Andrew Cooper
2015-12-23 11:56     ` Paul Durrant
2015-12-23 13:27   ` David Vrabel [this message]
2016-01-04  9:37     ` Paul Durrant
2016-01-04 10:55       ` David Vrabel
2016-01-04 11:14         ` Paul Durrant
2016-01-04 11:18           ` David Vrabel
2016-01-04 11:21             ` Paul Durrant
2016-01-04 11:28               ` David Vrabel
2016-01-04 11:34                 ` Paul Durrant
2016-01-04 20:19                   ` Konrad Rzeszutek Wilk
2016-01-05  9:40                     ` Paul Durrant
2015-12-23 10:06 ` [PATCH 3/3] public/io/netif.h: document new extra info for passing hash values Paul Durrant

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=567AA148.4070207@citrix.com \
    --to=david.vrabel@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=paul.durrant@citrix.com \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.