From: Paul Durrant <Paul.Durrant@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Ian Jackson <Ian.Jackson@citrix.com>,
"Tim (Xen.org)" <tim@xen.org>, "Keir (Xen.org)" <keir@xen.org>,
Ian Campbell <Ian.Campbell@citrix.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v2] public/io/netif.h: make control ring hash protocol more general
Date: Tue, 16 Feb 2016 11:14:09 +0000 [thread overview]
Message-ID: <e3d420a262ba4d06a187e67c7c613516@AMSPEX02CL03.citrite.net> (raw)
In-Reply-To: <56C311B902000078000D2938@prv-mh.provo.novell.com>
> -----Original Message-----
> From: Jan Beulich [mailto:JBeulich@suse.com]
> Sent: 16 February 2016 11:11
> To: Paul Durrant
> Cc: Ian Campbell; Ian Jackson; xen-devel@lists.xenproject.org; Keir
> (Xen.org); Tim (Xen.org)
> Subject: RE: [PATCH v2] public/io/netif.h: make control ring hash protocol
> more general
>
> >>> On 16.02.16 at 12:02, <Paul.Durrant@citrix.com> wrote:
> >> From: Ian Campbell [mailto:ian.campbell@citrix.com]
> >> Sent: 16 February 2016 10:23
> >> On Mon, 2016-02-15 at 11:14 +0000, Paul Durrant wrote:
> >> > + */
> >> > +#ifdef NETIF_DEFINE_TOEPLITZ
> >>
> >> If we go with this then this should have an addtional XEN_ on the
> >> front.
> >
> > The header is inconsistent at the moment. Some things are prefixed with
> XEN_
> > some are not so if you want this prefixed then I think it's best I add
> > another patch before this to change all unqualified netif/NETIF occurrences
> > to xen_netif/XEN_NETIF... it will also mean less post-processing when I
> > re-import the header into Linux.
>
> You'd need to be rather careful here: Any such identifiers which
> were there already in 4.6 (or any other release) would have to
> remain unchanged.
Is that true? The Linux header is quite different (in that everything is already prefixed) and I was assuming any user of the header file would have to have an explicit 'import into frontend/backend repo' step where compatibility could be fixed up.
Paul
> For any new ones adding prefixes would
> indeed seem very desirable.
>
> Jan
next prev parent reply other threads:[~2016-02-16 11:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-15 11:14 [PATCH v2] public/io/netif.h: make control ring hash protocol more general Paul Durrant
2016-02-16 10:22 ` Ian Campbell
2016-02-16 11:02 ` Paul Durrant
2016-02-16 11:10 ` Jan Beulich
2016-02-16 11:14 ` Paul Durrant [this message]
2016-02-16 11:18 ` Jan Beulich
2016-02-16 11:20 ` Paul Durrant
2016-02-16 13:51 ` Ian Campbell
2016-02-16 14:02 ` Paul Durrant
2016-02-16 14:12 ` Ian Campbell
2016-02-16 14:17 ` Paul Durrant
2016-02-16 14:25 ` Ian Campbell
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=e3d420a262ba4d06a187e67c7c613516@AMSPEX02CL03.citrite.net \
--to=paul.durrant@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@citrix.com \
--cc=JBeulich@suse.com \
--cc=keir@xen.org \
--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 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).